includes: - vendor/szepeviktor/phpstan-wordpress/extension.neon parameters: level: 10 # Analyse against the whole supported range, not whatever PHP happens to be # running. Without this, syntax newer than the `Requires PHP: 8.1` header # promises passes lint on a modern local PHP and only fails in the 8.1 test # job — which is how a PHP 8.2 `true` return type once reached CI. phpVersion: min: 80100 max: 80300 paths: - src bootstrapFiles: - tests/bootstrap.php