Skip to content

refactor: PHPstan code cleanup #4

refactor: PHPstan code cleanup

refactor: PHPstan code cleanup #4

Triggered via push February 8, 2024 04:58
Status Failure
Total duration 1m 4s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHPStan: src/controllers/TablesController.php#L496
Cannot call method can() on yii\web\IdentityInterface|false.
PHPStan: src/controllers/TablesController.php#L499
Cannot call method can() on yii\web\IdentityInterface|false.
PHPStan: src/controllers/TablesController.php#L639
Cannot call method can() on yii\web\IdentityInterface|false.
PHPStan: src/models/Settings.php#L216
Left side of && is always true.
PHPStan: src/services/Beacons.php#L260
Access to static property $settings on an unknown class nystudio107\seomatic\Seomatic.
PHPStan: src/services/Beacons.php#L261
Access to static property $plugin on an unknown class nystudio107\seomatic\Seomatic.
PHPStan: src/services/DataSamples.php#L189
Access to an undefined property nystudio107\webperf\base\DbDataSampleInterface::$requestId.
PHPStan: src/services/DataSamples.php#L200
Access to an undefined property nystudio107\webperf\base\DbDataSampleInterface::$requestId.
PHPStan
<error>Child process error</error>: PHPStan process crashed because it reached configured PHP memory limit: 1G Increase your memory limit in php.ini or run PHPStan with --memory-limit CLI option.
PHPStan
Process completed with exit code 1.
Coding Standards
Process completed with exit code 1.