Skip to content

Added PHPStan to verify code samples #7089

Added PHPStan to verify code samples

Added PHPStan to verify code samples #7089

Triggered via pull request July 3, 2024 07:38
@mnoconmnocon
synchronize #2370
add-phpstan
Status Failure
Total duration 2m 22s
Artifacts

build.yaml

on: pull_request
Matrix: build
Matrix: Validate code samples
Fit to window
Zoom out
Zoom in

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#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/.