Skip to content

chore: qa tooling

chore: qa tooling #4

Triggered via pull request May 21, 2024 17:40
Status Failure
Total duration 40s
Artifacts

code-analysis.yaml

on: pull_request
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Coding Standards
Process completed with exit code 1.
PHPStan: src/models/Settings.php#L39
Method superbig\mjml\models\Settings::behaviors() should return array but return statement is missing.
PHPStan: src/models/Settings.php#L39
Return type mixed of method superbig\mjml\models\Settings::behaviors() is not covariant with return type array of method craft\base\Model::behaviors().
PHPStan: src/services/MJMLService.php#L90
Parameter #1 $html of method superbig\mjml\services\MJMLService::parseCli() expects null, string|false given.
PHPStan: src/services/MJMLService.php#L119
Parameter #1 $string of function md5 expects string, null given.
PHPStan: src/services/MJMLService.php#L125
Parameter #2 $contents of static method craft\helpers\FileHelper::writeToFile() expects string, null given.
PHPStan
Process completed with exit code 1.