Skip to content

refactor: Remove vendor/bin/ prefix #4

refactor: Remove vendor/bin/ prefix

refactor: Remove vendor/bin/ prefix #4

Triggered via push January 31, 2024 15:53
Status Failure
Total duration 42s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PHPStan: src/Retour.php#L124
Static property nystudio107\retour\Retour::$settings (nystudio107\retour\models\Settings|null) does not accept craft\base\Model|null.
PHPStan: src/Retour.php#L125
Access to an undefined property craft\base\Model::$pluginName.
PHPStan: src/Retour.php#L323
Negated boolean expression is always true.
PHPStan: src/controllers/ApiController.php#L61
Variable $redirects on left side of ?? always exists and is not nullable.
PHPStan: src/controllers/ChartsController.php#L38
PHPDoc type array|bool|int of property nystudio107\retour\controllers\ChartsController::$allowAnonymous is not covariant with PHPDoc type array<int|string>|bool|int of overridden property craft\web\Controller::$allowAnonymous.
PHPStan: src/controllers/FileController.php#L143
Variable $csv might not be defined.
PHPStan: src/controllers/FileController.php#L146
Variable $csv might not be defined.
PHPStan: src/controllers/FileController.php#L174
Call to an undefined method League\Csv\AbstractCsv::setOffset().
PHPStan: src/controllers/FileController.php#L177
Call to an undefined method League\Csv\AbstractCsv::each().
PHPStan: src/controllers/FileController.php#L216
Parameter #1 $tabular_data of method League\Csv\Statement::process() expects League\Csv\TabularDataReader, League\Csv\AbstractCsv given.
Coding Standards
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/.
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/.