Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

fix: fix error on EBSR pages #111

fix: fix error on EBSR pages

fix: fix error on EBSR pages #111

Triggered via pull request February 2, 2024 10:48
Status Failure
Total duration 47s
Artifacts

ci.yaml

on: pull_request
security  /  Snyk PHP Scan
26s
security / Snyk PHP Scan
static-analysis  /  PHPStan - 7.4
31s
static-analysis / PHPStan - 7.4
static-analysis  /  PHP-CodeSniffer - 7.4
20s
static-analysis / PHP-CodeSniffer - 7.4
static-analysis  /  Psalm - 7.4
37s
static-analysis / Psalm - 7.4
Matrix: tests / tests
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 9 warnings
static-analysis / PHP-CodeSniffer - 7.4
Process completed with exit code 2.
static-analysis / PHPStan - 7.4: module/Olcs/config/module.config.php#L1480
Class Olcs\View\Helper\TmCheckAnswersChangeLink not found.
static-analysis / PHPStan - 7.4: module/Olcs/src/Controller/Initializer/Navigation.php#L24
Class Dvsa\Olcs\Auth\Controller\LoginController not found.
static-analysis / PHPStan - 7.4: module/Olcs/src/Controller/Licence/Surrender/InformationChangedController.php#L102
Method Olcs\Controller\Licence\Surrender\InformationChangedController::getContent() should return string but return statement is missing.
static-analysis / PHPStan - 7.4: module/Olcs/src/Controller/Licence/Vehicle/ViewVehicleController.php#L55
Parameter $flashMessenger of method Olcs\Controller\Licence\Vehicle\ViewVehicleController::__construct() has invalid type Laminas\Mvc\Controller\Plugin\FlashMessenger.
static-analysis / PHPStan - 7.4: module/Olcs/src/Controller/Lva/AbstractUploadEvidenceController.php#L130
Access to an undefined property Olcs\Controller\Lva\AbstractUploadEvidenceController::$operatingCentreId.
static-analysis / PHPStan - 7.4: module/Olcs/src/Controller/Lva/AbstractUploadEvidenceController.php#L167
Access to an undefined property Olcs\Controller\Lva\AbstractUploadEvidenceController::$operatingCentreId.
static-analysis / PHPStan - 7.4: module/Olcs/src/Controller/Lva/AbstractUploadEvidenceController.php#L194
Access to an undefined property Olcs\Controller\Lva\AbstractUploadEvidenceController::$operatingCentreId.
static-analysis / PHPStan - 7.4: module/Olcs/src/Controller/Lva/Traits/ExternalControllerTrait.php (in context of class Permits/Controller/IrhpApplicationFeeController)#L100
Call to an undefined static method Olcs\Controller\AbstractSelfserveController::checkForRedirect().
UndefinedClass: module/Olcs/config/module.config.php#L1480
module/Olcs/config/module.config.php:1480:43: UndefinedClass: Class, interface or enum named Olcs\View\Helper\TmCheckAnswersChangeLink does not exist (see https://psalm.dev/019)
UndefinedClass: module/Olcs/src/Controller/AbstractSelfserveController.php#L406
module/Olcs/src/Controller/AbstractSelfserveController.php:406:23: UndefinedClass: Type array-key cannot be called as a class (see https://psalm.dev/019)
UndefinedConstant: module/Olcs/src/Controller/AbstractSelfserveController.php#L417
module/Olcs/src/Controller/AbstractSelfserveController.php:417:25: UndefinedConstant: Constant Olcs\Controller\Config\DataSource\DataSourceInterface::DATA_KEY is not defined (see https://psalm.dev/020)
UndefinedConstant: module/Olcs/src/Controller/AbstractSelfserveController.php#L423
module/Olcs/src/Controller/AbstractSelfserveController.php:423:25: UndefinedConstant: Constant Olcs\Controller\Config\DataSource\DataSourceInterface::DATA_KEY is not defined (see https://psalm.dev/020)
UndefinedDocblockClass: module/Olcs/src/Controller/Cookie/SettingsController.php#L22
module/Olcs/src/Controller/Cookie/SettingsController.php:22:14: UndefinedDocblockClass: Docblock-defined class, interface or enum named Olcs\Controller\Cookie\SetCookieGenerator does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: module/Olcs/src/Controller/Cookie/SettingsController.php#L60
module/Olcs/src/Controller/Cookie/SettingsController.php:60:28: UndefinedDocblockClass: Docblock-defined class, interface or enum named Olcs\Controller\Cookie\SetCookieGenerator does not exist (see https://psalm.dev/200)
UndefinedClass: module/Olcs/src/Controller/Initializer/Navigation.php#L24
module/Olcs/src/Controller/Initializer/Navigation.php:24:35: UndefinedClass: Class, interface or enum named Dvsa\Olcs\Auth\Controller\LoginController does not exist (see https://psalm.dev/019)
UndefinedDocblockClass: module/Olcs/src/Controller/Licence/Surrender/StartController.php#L130
module/Olcs/src/Controller/Licence/Surrender/StartController.php:130:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named Dvsa\Olcs\Api\Entity\Licence\Licence does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: module/Olcs/src/Controller/Licence/Vehicle/SwitchBoardController.php#L153
module/Olcs/src/Controller/Licence/Vehicle/SwitchBoardController.php:153:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Olcs\Controller\Licence\Vehicle\Response does not exist (see https://psalm.dev/200)
UndefinedClass: module/Olcs/src/Controller/Licence/Vehicle/ViewVehicleController.php#L48
module/Olcs/src/Controller/Licence/Vehicle/ViewVehicleController.php:48:15: UndefinedClass: Class, interface or enum named Laminas\Mvc\Controller\Plugin\FlashMessenger does not exist (see https://psalm.dev/019)
tests / PHP test 7.4
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/.
static-analysis / PHP-CodeSniffer - 7.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
static-analysis / PHP-CodeSniffer - 7.4
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
security / Snyk PHP Scan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, octokit/[email protected], github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
security / Snyk PHP Scan
Unexpected input(s) 'owner', 'repo', 'graphqlEndpoint', 'token', valid inputs are ['query', 'mediaType', 'variables']
security / Snyk PHP Scan
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
static-analysis / PHPStan - 7.4
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/.
static-analysis / Psalm - 7.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
static-analysis / Psalm - 7.4
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/