This is a fresh feature in Drupal 10, which sounds like something that we should integrate without our GHA: https://www.drupal.org/node/3258232
Description:
The static analyzer tool PHPStan has been added to Drupal Core. We are running the tool with level 0 (the lowest level). The power of static analyzer is that it can find bugs in your code without having to write tests. PHPStan has been added to the script
core/scripts/dev/commit-code-check.shwhich is part of the testbot.The PHPStan configuration file is located at:
core/phpstan.neon.distThe PHPStan file with the skipped exceptions is located at:
core/phpstan-baseline.neonCLI Commands
Running PHPStan on drupal core:
vendor/bin/phpstan analyze --configuration=core/phpstan.neon.distRegenerating the baseline:vendor/bin/phpstan analyze --configuration=core/phpstan.neon.dist --generate-baseline ./core/phpstan-baseline.neon
Recent comments
It's not English. It's Globish :-) (Global + English). Like for Drupal Devel is not an option - I looked style guide but for me, it's not interesting. It's useful but it's just a one page...
Create a new theme - Starter theme
Thank you for your positive response. I guess English is not your first language but it seems like you found the Devel setting for theme debug where it suggests templates and found that useful. You...
Create a new theme - Starter theme
Great. I can confirm this fixed the issue. Thanks.
Disappearing administration bar. Is this a Leaflet or a Backdrop bug?