phpstan / phpstan-webmozart-assert

PHPStan extension for webmozart/assert
MIT License
162 stars 28 forks source link

Update Slevomat CS to ^7.0 #87

Closed herndlm closed 2 years ago

herndlm commented 2 years ago

PR title does already not match anymore.

This brings in changes similar to the following from phpstan-src

I also compared and synced phpcs.xml manually, adopting everything that makes sense. The only differences should now be a couple of sniffs related to null coalescing, union types, arrow functions, trailing function calls and so.

Diff to phpstan-src `diff -uw phpstan-src/phpcs.xml phpstan-webmozart-assert/phpcs.xml` ```diff --- phpstan-src/phpcs.xml 2022-01-07 10:16:03.000000000 +0100 +++ phpstan-webmozart-assert/phpcs.xml 2022-01-19 10:40:27.000000000 +0100 @@ -1,17 +1,14 @@ - + - src tests - compiler/src - compiler/tests @@ -36,19 +33,12 @@ - - - 10 - - - - 10 @@ -56,30 +46,14 @@ - - - 10 - - src/Command/CommandHelper.php - src/Testing/PHPStanTestCase.php - - - tests - - - src/Command/AnalyseApplication.php - + + + - - - - - - @@ -88,12 +62,10 @@ - - - - + + @@ -131,54 +103,8 @@ - - src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php - - - src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tests/*/data - tests/*/Fixture - tests/e2e/resultCache_1.php - tests/e2e/resultCache_2.php - tests/e2e/resultCache_3.php - tests/*/traits + + tests/tmp - tests/notAutoloaded - src/Reflection/BetterReflection/BetterReflectionSourceLocatorFactory.php - src/Reflection/SignatureMap/functionMap.php - src/Reflection/SignatureMap/functionMetadata.php + tests/*/data ```
ondrejmirtes commented 2 years ago

Thank you!

herndlm commented 2 years ago

thank you! Took me a while to get it right, sorry for the noise. I always imagine your inbox notification bubble xD