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

fix: Navigation unit test #93

fix: Navigation unit test

fix: Navigation unit test #93

Triggered via pull request January 29, 2024 13:03
Status Failure
Total duration 59s
Artifacts

ci.yaml

on: pull_request
security  /  Snyk PHP Scan
25s
security / Snyk PHP Scan
static-analysis  /  PHPStan - 7.4
39s
static-analysis / PHPStan - 7.4
static-analysis  /  PHP-CodeSniffer - 7.4
30s
static-analysis / PHP-CodeSniffer - 7.4
static-analysis  /  Psalm - 7.4
50s
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#L1509
Class Olcs\View\Helper\TmCheckAnswersChangeLink not found.
static-analysis / PHPStan - 7.4: module/Olcs/src/Controller/Initializer/Navigation.php#L25
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/Factory/Controller/Variation/FinancialEvidenceControllerFactory.php#L40
Class Olcs\Controller\Lva\Variation\FinancialEvidenceController constructor invoked with 10 parameters, 11 required.
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#L1509
module/Olcs/config/module.config.php:1509: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#L25
module/Olcs/src/Controller/Initializer/Navigation.php:25: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/.
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 / 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/
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/