-
-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
phpstan/phpstan-src
#3944Description
PHPStan just released 2.1.12 and I checked out the Dependabot bump going from 2.1.11 to 2.1.12 and noticed that all my rules that disallow classes except when allowInMethodsWithAttributes
now report issues.
<?php
declare(strict_types=1);
return [
'parameters' => [
'disallowedClasses' => [
[
'allowInUse' => true,
'class' => EventRecorder::class,
'allowInMethodsWithAttributes' => [
AsCommandHandler::class,
],
'allowIn' => [
'**/tests/*',
],
],
],
],
];
I'll debug it further, but just wanted to hint it here already.
@spaze Maybe you can kick off a new CI builds that pulls in the latest PHPStan version to confirm?
Metadata
Metadata
Assignees
Labels
No labels