Skip to content

Added @template-extends to solve Psalm issues #341

Added @template-extends to solve Psalm issues

Added @template-extends to solve Psalm issues #341

Triggered via pull request October 15, 2023 04:52
Status Failure
Total duration 32s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis / PHPStan
Matrix: Static Analysis / Psalm
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 8 warnings
Static Analysis / PHPStan (8.2): src/Options/DBALConfiguration.php#L14
Class DoctrineORMModule\Options\DBALConfiguration has @implements tag, but does not implement any interface.
Static Analysis / PHPStan (8.2): src/Options/DBALConnection.php#L18
Class DoctrineORMModule\Options\DBALConnection has @implements tag, but does not implement any interface.
Static Analysis / PHPStan (8.2): src/Options/EntityManager.php#L12
Class DoctrineORMModule\Options\EntityManager has @implements tag, but does not implement any interface.
Static Analysis / PHPStan (8.2): src/Options/EntityResolver.php#L16
Class DoctrineORMModule\Options\EntityResolver has @implements tag, but does not implement any interface.
Static Analysis / PHPStan (8.2): src/Options/SecondLevelCacheConfiguration.php#L14
Class DoctrineORMModule\Options\SecondLevelCacheConfiguration has @implements tag, but does not implement any interface.
Static Analysis / PHPStan (8.2)
Process completed with exit code 1.
InvalidDocblock: src/Options/DBALConfiguration.php#L14
src/Options/DBALConfiguration.php:14:1: InvalidDocblock: @template-implements must include the name of an implemented class, got Laminas\Stdlib\AbstractOptions<mixed> (see https://psalm.dev/008)
MissingTemplateParam: src/Options/DBALConfiguration.php#L14
src/Options/DBALConfiguration.php:14:7: MissingTemplateParam: DoctrineORMModule\Options\DBALConfiguration has missing template params when extending Laminas\Stdlib\AbstractOptions, expecting 1 (see https://psalm.dev/182)
InvalidDocblock: src/Options/DBALConnection.php#L18
src/Options/DBALConnection.php:18:1: InvalidDocblock: @template-implements must include the name of an implemented class, got Laminas\Stdlib\AbstractOptions<mixed> (see https://psalm.dev/008)
MissingTemplateParam: src/Options/DBALConnection.php#L18
src/Options/DBALConnection.php:18:13: MissingTemplateParam: DoctrineORMModule\Options\DBALConnection has missing template params when extending Laminas\Stdlib\AbstractOptions, expecting 1 (see https://psalm.dev/182)
InvalidDocblock: src/Options/EntityManager.php#L12
src/Options/EntityManager.php:12:1: InvalidDocblock: @template-implements must include the name of an implemented class, got Laminas\Stdlib\AbstractOptions<mixed> (see https://psalm.dev/008)
MissingTemplateParam: src/Options/EntityManager.php#L12
src/Options/EntityManager.php:12:13: MissingTemplateParam: DoctrineORMModule\Options\EntityManager has missing template params when extending Laminas\Stdlib\AbstractOptions, expecting 1 (see https://psalm.dev/182)
InvalidDocblock: src/Options/EntityResolver.php#L16
src/Options/EntityResolver.php:16:1: InvalidDocblock: @template-implements must include the name of an implemented class, got Laminas\Stdlib\AbstractOptions<mixed> (see https://psalm.dev/008)
MissingTemplateParam: src/Options/EntityResolver.php#L16
src/Options/EntityResolver.php:16:13: MissingTemplateParam: DoctrineORMModule\Options\EntityResolver has missing template params when extending Laminas\Stdlib\AbstractOptions, expecting 1 (see https://psalm.dev/182)
MissingTemplateParam: src/Options/SQLLoggerCollectorOptions.php#L12
src/Options/SQLLoggerCollectorOptions.php:12:13: MissingTemplateParam: DoctrineORMModule\Options\SQLLoggerCollectorOptions has missing template params when extending Laminas\Stdlib\AbstractOptions, expecting 1 (see https://psalm.dev/182)
InvalidDocblock: src/Options/SecondLevelCacheConfiguration.php#L14
src/Options/SecondLevelCacheConfiguration.php:14:1: InvalidDocblock: @template-implements must include the name of an implemented class, got Laminas\Stdlib\AbstractOptions<mixed> (see https://psalm.dev/008)
Static Analysis / PHPStan (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis / PHPStan (8.2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis / PHPStan (8.2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis / PHPStan (8.2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis / Psalm (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis / Psalm (8.2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis / Psalm (8.2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis / Psalm (8.2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/