Showing 524 of 712 total issues
Unused use statement Open
Open
use Drupal\Core\Queue\Attribute\QueueWorker;
- Exclude checks
Doc comment short description must start with a capital letter Open
Open
* {@inheritDoc}
- Exclude checks
Missing parameter comment Open
Open
* @param int $width
- Exclude checks
Doc comment short description must start with a capital letter Open
Open
* {@inheritDoc}
- Exclude checks
Only string literals should be passed to t() where possible Open
Open
$form_state->setError($element, $this->t("That API version is deprecated. Newest version is: $xml->latestVersion"));
- Exclude checks
Unused use statement Open
Open
use Drush\Boot\DrupalBootLevels;
- Exclude checks
Each index in a multi-line array must be on a new line Open
Open
'fields' => fn() => [
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function nextInvalidateUrl(string $url) {
- Exclude checks
Doc comment short description must start with a capital letter Open
Open
* {@inheritDoc}
- Exclude checks
Doc comment short description must end with a full stop Open
Open
* {@inheritDoc}
- Exclude checks
Doc comment short description must end with a full stop Open
Open
* {@inheritDoc}
- Exclude checks
Doc comment short description must be on a single line, further text should be a separate paragraph Open
Open
* decoupled.
- Exclude checks
Missing parameter comment Open
Open
* @param \Drupal\file\FileInterface $file
- Exclude checks
Missing parameter comment Open
Open
* @param int $height
- Exclude checks
Line exceeds 80 characters; contains 85 characters Open
Open
#[CLI\Option(name: 'preview-secret', description: 'Use a specific preview secret')]
- Exclude checks
Expected 1 space after "="; 0 found Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed; use "// Comment" instead Open
Open
#[QueueWorker(
- Exclude checks
Missing class doc comment Open
Open
class ExploreCoursesUrlWidget extends LinkWidget {
- Exclude checks
Expected 1 space after "="; 0 found Open
Open
declare(strict_types=1);
- Exclude checks
Doc comment short description must end with a full stop Open
Open
* {@inheritDoc}
- Exclude checks