Skip to content

[QA] added phpstan dist config #2

[QA] added phpstan dist config

[QA] added phpstan dist config #2

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

static-analysis.yml

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

Annotations

10 errors and 1 warning
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: test/unit/mailer/fixtures/TestMailerTransport.class.php#L10
Non-abstract class TestMailerTransport contains abstract method ping() from interface Swift_Transport.
Static Analysis with PHPStan: test/unit/mailer/fixtures/TestMailerTransport.class.php#L56
Parameter #1 $message (Swift_Mime_Message) of method TestMailerTransport::send() is not contravariant with parameter #1 $message (Swift_Mime_SimpleMessage) of method Swift_Transport::send().
Static Analysis with PHPStan: test/unit/mailer/fixtures/TestSpool.class.php#L31
Parameter #1 $message (Swift_Mime_Message) of method TestSpool::queueMessage() is not contravariant with parameter #1 $message (Swift_Mime_SimpleMessage) of method Swift_Spool::queueMessage().
Static Analysis with PHPStan: test/unit/view/sfViewCacheManagerTest.php#L19
Call to an undefined static method myCache::clear().
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/.