Skip to content

Bump scssphp version #42

Bump scssphp version

Bump scssphp version #42

Triggered via push April 25, 2024 15:36
Status Failure
Total duration 1m 29s
Artifacts

ci.yml

on: push
Matrix: code-style
Matrix: PHPStan
Matrix: Psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 7 warnings
PHPUnit: MW master, PHP 8.1
Process completed with exit code 2.
PHPUnit: MW master, PHP 8.2
Process completed with exit code 2.
PHPStan: MW REL1_39, PHP 8.0: src/ResourceLoaderSCSSModule.php#L1
Ignored error pattern #^Offset 'position' on \*NEVER\* on left side of \?\? always exists and is always null\.$# in path /home/runner/work/SCSS/SCSS/mediawiki/vendor/mediawiki/scss/src/ResourceLoaderSCSSModule.php was not matched in reported errors.
PHPStan: MW REL1_39, PHP 8.0: src/ResourceLoaderSCSSModule.php#L282
Offset 'position' on *NEVER* on left side of ?? always exists and is not nullable.
PHPStan: MW REL1_39, PHP 8.0
Process completed with exit code 1.
InvalidReturnType: src/ResourceLoaderSCSSModule.php#L269
src/ResourceLoaderSCSSModule.php:269:13: InvalidReturnType: The declared return type 'array<array-key, array<array-key, string>>' for SCSS\ResourceLoaderSCSSModule::collateStyleFilesByPosition is incorrect, got 'array{main?: list<MediaWiki\ResourceLoader\FilePath|string>}' (see https://psalm.dev/011)
InvalidReturnStatement: src/ResourceLoaderSCSSModule.php#L289
src/ResourceLoaderSCSSModule.php:289:10: InvalidReturnStatement: The inferred type 'array{main?: list<MediaWiki\ResourceLoader\FilePath|string>}' does not match the declared return type 'array<array-key, array<array-key, string>>' for SCSS\ResourceLoaderSCSSModule::collateStyleFilesByPosition (see https://psalm.dev/128)
UnusedBaselineEntry: src/ResourceLoaderSCSSModule.php#L1
src/ResourceLoaderSCSSModule.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedArrayAccess" has 1 extra entry. (see https://psalm.dev/316)
UnusedBaselineEntry: src/ResourceLoaderSCSSModule.php#L1
src/ResourceLoaderSCSSModule.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedArrayOffset" has 3 extra entries. (see https://psalm.dev/316)
UnusedBaselineEntry: src/ResourceLoaderSCSSModule.php#L1
src/ResourceLoaderSCSSModule.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedArrayTypeCoercion" has 1 extra entry. (see https://psalm.dev/316)
UnusedBaselineEntry: src/ResourceLoaderSCSSModule.php#L1
src/ResourceLoaderSCSSModule.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedAssignment" has 2 extra entries. (see https://psalm.dev/316)
UnusedBaselineEntry: src/ResourceLoaderSCSSModule.php#L1
src/ResourceLoaderSCSSModule.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedReturnTypeCoercion" has 2 extra entries. (see https://psalm.dev/316)
Psalm: MW REL1_39, PHP 8.0
Process completed with exit code 2.
Code style: MW REL1_39, PHP 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit: MW REL1_40, PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit: MW REL1_39, PHP 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit: MW master, PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit: MW master, PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan: MW REL1_39, PHP 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Psalm: MW REL1_39, PHP 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.