@@ -26,6 +26,7 @@ includes:
2626 - vendor/symplify/phpstan-rules/config/phpunit-rules.neon
2727# - vendor/symplify/phpstan-rules/config/rector-rules.neon
2828# - vendor/symplify/phpstan-rules/config/symfony-rules.neon
29+ # - vendor/symplify/phpstan-rules/config/symfony-config-rules.neon
2930
3031services:
3132 # https://github.com/guanguans/notify/security/code-scanning
@@ -50,6 +51,7 @@ parameters:
5051 - vendor/composer/InstalledVersions.php
5152 excludePaths:
5253 - src/Support/ComposerScripts.php
54+ - src/Support/Rectors/
5355 - tests/Fixtures/
5456 tmpDir: .build/phpstan/
5557 phpVersion: 80200
@@ -68,8 +70,8 @@ parameters:
6870 disallowedShortTernary: false
6971 ergebnis:
7072 guanguans:
71- # exceptionMustImplementNativeThrowable:
72- # nativeThrowable: Guanguans\MonorepoBuilderWorker\Contract\ThrowableContract
73+ exceptionMustImplementNativeThrowable:
74+ nativeThrowable: Guanguans\SoarPHP\Contracts\Throwable
7375# sidzIgnoreNumericStrings: true
7476 sidzIgnoreMagicNumbers: [0.9, 1, 2, 3, 5, 100, 600, 512, 1024, 1000, 0o755]
7577 cognitive_complexity:
@@ -168,23 +170,33 @@ parameters:
168170# - identifier: typePerfect.noMixedMethodCaller
169171# - message: '#^Unused Guanguans\\Notify\\Rector\\.*\\.*\:\:__construct$#'
170172
171- - identifier: argument.templateType
172- - identifier: argument.type
173- - identifier: logicalAnd.resultUnused
174- - identifier: method.childParameterType
175- - identifier: method.dynamicName
176- - identifier: method.nonObject
177- - identifier: missingType.generics
178- - identifier: missingType.iterableValue
179- - identifier: return.type
173+ - identifier: ergebnis.final
174+ - identifier: ergebnis.noConstructorParameterWithDefaultValue
175+ - identifier: ergebnis.noExtends
176+ - identifier: ergebnis.noIsset
177+ - identifier: ergebnis.noNamedArgument
178+ - identifier: ergebnis.noNullableReturnTypeDeclaration
179+ - identifier: ergebnis.noParameterWithNullableTypeDeclaration
180+ - identifier: ergebnis.noParameterWithNullDefaultValue
181+ - identifier: shipmonk.binaryOperationWithNull
180182 - identifier: shipmonk.deadMethod
183+ - identifier: shipmonk.variableTypeOverwritten
181184 - identifier: symplify.explicitTraitSuffixName
182185 - identifier: symplify.forbiddenExtendOfNonAbstractClass
186+ - identifier: symplify.forbiddenFuncCall
187+ - identifier: symplify.forbiddenNode
183188 - identifier: symplify.forbiddenStaticClassConstFetch
184189 - identifier: symplify.noDynamicName
185190 - identifier: symplify.noReturnSetterMethod
186191 - identifier: symplify.requireExceptionNamespace
187- - message: '#^Call to an undefined method Composer\\IO\\IOInterface\:\:enableDebugging\(\)\.$#'
192+
193+ - identifier: argument.type
194+ - identifier: logicalAnd.resultUnused
195+ - identifier: method.childParameterType
196+ - identifier: method.dynamicName
197+ - identifier: missingType.generics
198+ - identifier: missingType.iterableValue
199+ - identifier: return.type
188200 -
189201 identifier: symplify.explicitInterfaceSuffixName
190202 path: src/Contracts/
0 commit comments