openid-connect-generic icon indicating copy to clipboard operation
openid-connect-generic copied to clipboard

Clean up PHPStan configuration

Open szepeviktor opened this issue 2 years ago • 2 comments

All Submissions:

Changes proposed in this Pull Request:

Clean up PHPStan configuration.

szepeviktor avatar Jul 08 '22 00:07 szepeviktor

My biggest concern was removing %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php from the bootstrapFiles or is PHPStan able to autoload these?

Hello! The package szepeviktor/phpstan-wordpress loads WP core stubs. https://github.com/szepeviktor/phpstan-wordpress/blob/c9fb3dc5e0a964845f6124a9c4394987749c657b/extension.neon#L93-L95

I may have introduced failures. Fixing now ...

szepeviktor avatar Aug 26 '22 04:08 szepeviktor

I hope you like 47 lines of deletion :)

szepeviktor avatar Aug 26 '22 04:08 szepeviktor