phpstan-drupal icon indicating copy to clipboard operation
phpstan-drupal copied to clipboard

Extension for PHPStan to allow analysis of Drupal code.

Results 161 phpstan-drupal issues
Sort by recently updated
recently updated
newest added

# Feature request https://www.drupal.org/node/3404140 See https://drupal.slack.com/archives/C03L6441E1W/p1717267194080329?thread_ts=1717267194.080329&cid=C03L6441E1W

enhancement

Bumps [Eomm/why-don-t-you-tweet](https://github.com/eomm/why-don-t-you-tweet) from 1 to 2. Release notes Sourced from Eomm/why-don-t-you-tweet's releases. v2.0.0 What's Changed chore(deps): bump nearform/optic-release-automation-action from 3 to 4 by @​dependabot in Eomm/why-don-t-you-tweet#71 chore(deps-dev): bump @​vercel/ncc from...

dependencies

# Bug report This is a potential follow up on #455 which still happening from level >=6. This is just one example from this specific module but it happens in...

bug

Resolves https://github.com/mglaman/phpstan-drupal/issues/369 Note this MR is a follow up on https://github.com/mglaman/phpstan-drupal/pull/785 Also please carefully review the `@property-read null $date`. Not sure if this is the best solution. Maybe we should...

# Feature request Using `@mixin` it is possible to explain that instances of FieldItemListInterface forward the properties its items: ```php /** * @template T of FieldItemInterface * @extends ListInterface *...

enhancement

# Feature request Core added support for deprecating Twig variables a couple of years ago, it has not been used much yet, CR is here: https://www.drupal.org/node/3334622 In https://www.drupal.org/project/drupal/issues/3458587 and sub-issues...

enhancement

PHPStan allows us to ignore by identifier rather than message (as of 1.11). This is slightly less specific than the message is, but has the benefit of being a lot...

Catches issues related to https://www.drupal.org/node/3375748.