Skip to content

[QA] added phpstan dist config #4

[QA] added phpstan dist config

[QA] added phpstan dist config #4

Triggered via pull request March 21, 2024 06:51
Status Failure
Total duration 41s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis with PHPStan
31s
Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Static Analysis with PHPStan: lib/plugin/sfPearDownloader.class.php#L18
Class sfPearDownloader extends unknown class PEAR_Downloader.
Static Analysis with PHPStan: lib/plugin/sfPearDownloader.class.php#L28
sfPearDownloader::downloadHttp() calls parent::downloadHttp() but sfPearDownloader does not extend any class.
Static Analysis with PHPStan: lib/plugin/sfPearFrontendPlugin.class.php#L20
Class sfPearFrontendPlugin extends unknown class PEAR_Frontend_CLI.
Static Analysis with PHPStan: lib/plugin/sfPearRest10.class.php#L1
Ignored error pattern #^Access to an undefined property sfPearRest10\:\:\$_rest\.$# in path /home/runner/work/symfony1/symfony1/lib/plugin/sfPearRest10.class.php was not matched in reported errors.
Static Analysis with PHPStan: lib/plugin/sfPearRest11.class.php#L18
Class sfPearRest11 extends unknown class PEAR_REST_11.
Static Analysis with PHPStan: lib/plugins/sfDoctrinePlugin/lib/mailer/Swift_DoctrineSpool.class.php#L72
Parameter #1 $message (Swift_Mime_Message) of method Swift_DoctrineSpool::queueMessage() is not contravariant with parameter #1 $message (Swift_Mime_SimpleMessage) of method Swift_Spool::queueMessage().
Static Analysis with PHPStan: lib/task/help/sfListTask.class.php#L1
Ignored error pattern #^Variable \$namespacesXML might not be defined\.$# in path /home/runner/work/symfony1/symfony1/lib/task/help/sfListTask.class.php was not matched in reported errors.
Static Analysis with PHPStan
Process completed with exit code 1.
Static Analysis with PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.