Skip to content

refactor: Break out into getBlockFields() to make PHPstan happy #8

refactor: Break out into getBlockFields() to make PHPstan happy

refactor: Break out into getBlockFields() to make PHPstan happy #8

Triggered via push January 29, 2024 04:13
Status Failure
Total duration 26s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
PHPStan: src/migrations/m231108_024521_change_to_json_column.php#L126
Method lsst\cantodamassets\migrations\m231108_024521_change_to_json_column::getBlockFields() should return array<craft\fields\Matrix> but returns array<craft\base\FieldInterface>.
PHPStan: src/services/Assets.php#L193
Method lsst\cantodamassets\services\Assets::getBlockFields() should return array<craft\fields\Matrix> but returns array<craft\base\FieldInterface>.
PHPStan
Process completed with exit code 1.
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/.