Added PHPStan to verify code samples #7089
Annotations
8 errors and 1 warning
Validate code samples (8.3):
code_samples/recent_activity/src/Command/ActivityLogContextTestCommand.php#L76
Instantiated class App\Event\MyFeatureEvent not found.
|
Validate code samples (8.3):
code_samples/recent_activity/src/Command/DispatchMyFeatureEventCommand.php#L28
Instantiated class App\Event\MyFeatureEvent not found.
|
Validate code samples (8.3):
code_samples/recent_activity/src/Command/DispatchMyFeatureEventCommand.php#L31
Instantiated class App\Event\MyFeatureEvent not found.
|
Validate code samples (8.3):
code_samples/recent_activity/src/EventSubscriber/MyFeatureEventSubscriber.php#L21
Class App\Event\MyFeatureEvent not found.
|
Validate code samples (8.3):
code_samples/recent_activity/src/EventSubscriber/MyFeatureEventSubscriber.php#L25
Parameter $event of method App\EventSubscriber\MyFeatureEventSubscriber::onMyFeatureEvent() has invalid type App\Event\MyFeatureEvent.
|
Validate code samples (8.3):
code_samples/recent_activity/src/EventSubscriber/MyFeatureEventSubscriber.php#L28
Call to method getObject() on an unknown class App\Event\MyFeatureEvent.
|
Validate code samples (8.3):
code_samples/recent_activity/src/EventSubscriber/MyFeatureEventSubscriber.php#L31
Call to method getAction() on an unknown class App\Event\MyFeatureEvent.
|
Validate code samples (8.3)
Process completed with exit code 1.
|
build (3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3, stefanzweifel/git-auto-commit-action@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|