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
@olaf - Sorry, but I don't think that works. I tried it and you are correct, with this change, I can switch from the English version to the German version of a page, without changing the entire...
Allow admin to select admin language seperate from front end language (multilingual)
Use case is an English speaking support person working on a multilingual site and fixing bugs with the French translation of the content. I found one solution for your use...
Allow admin to select admin language seperate from front end language (multilingual)
Thanks for replying. I was expecting that it be relatively easy to manage overlay layers (not the base layers that are indeed controlled form the Leaflet More Maps module's settings page). That...
Layer management in Leaflet