chore: Version 4.1.15 #2
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#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.
|
PHPStan:
src/controllers/RedirectsController.php#L213
PHPDoc tag @return with type void|yii\web\Response is not subtype of native type yii\web\Response|null.
|
PHPStan:
src/controllers/RedirectsController.php#L251
Variable $redirect in PHPDoc tag @var does not match assigned variable $redirectConfig.
|
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/.
|