-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Hello!
I have PHPStan 2.1.33 working fine, and I am trying to add phpstan-deprecation-rules.
At this point I should mention that I'm not using composer.
I added in my phpstan.neon the following:
includes:
- /projects/phpstan-deprecation-rules/rules.neon
Run phpstan and I get:
Invalid configuration:
Service '0806': Class or interface 'PHPStan\Rules\Deprecations\DeprecatedScopeHelper' not found.
I though I need a bootstrap, so I added one:
bootstrapFiles:
- /projects/phpstan-bootstrap.php
But that had no effect whatsoever, still the same error. I think the error appears before the bootstrap is executed.
I'd appreciate some ideas please.
Thank you.
Metadata
Metadata
Assignees
Labels
No labels