Skip to content

Added PHPStan to verify code samples #7086

Added PHPStan to verify code samples

Added PHPStan to verify code samples #7086

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

build.yaml

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

Annotations

8 errors and 2 warnings
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.
vale-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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/.