Skip to content

Show UI conditionally #538

Show UI conditionally

Show UI conditionally #538

Triggered via pull request July 11, 2024 11:05
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

on: pull_request
JS & CSS Linting
22s
JS & CSS Linting
Matrix: code-style
Matrix: PHPStan
Matrix: Psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
PHPUnit: MW REL1_41, PHP 8.2
Process completed with exit code 255.
PHPUnit: MW REL1_39, PHP 8.1
The job was canceled because "REL1_41_8_2" failed.
PHPUnit: MW REL1_39, PHP 8.1
Process completed with exit code 255.
PHPUnit: MW REL1_42, PHP 8.3
The job was canceled because "REL1_41_8_2" failed.
PHPUnit: MW REL1_42, PHP 8.3
Process completed with exit code 255.
PHPUnit: MW master, PHP 8.3
The job was canceled because "REL1_41_8_2" failed.
PHPUnit: MW master, PHP 8.3
The operation was canceled.
MixedReturnTypeCoercion: src/Adapters/DatabaseApproverRepository.php#L78
src/Adapters/DatabaseApproverRepository.php:78:46: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>' for ProfessionalWiki\PageApprovals\Adapters\DatabaseApproverRepository::getAllAssignedCategories is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
PossiblyInvalidPropertyFetch: src/Adapters/DatabaseApproverRepository.php#L88
src/Adapters/DatabaseApproverRepository.php:88:80: PossiblyInvalidPropertyFetch: Cannot fetch property on possible non-object $row of type array<array-key, mixed> (see https://psalm.dev/114)
MixedArgument: src/Adapters/DatabaseApproverRepository.php#L88
src/Adapters/DatabaseApproverRepository.php:88:80: MixedArgument: Argument 1 of ProfessionalWiki\PageApprovals\Adapters\DatabaseApproverRepository::deserializeCategories cannot be mixed, expecting string (see https://psalm.dev/030)
MixedReturnTypeCoercion: src/Adapters/DatabaseApproverRepository.php#L91
src/Adapters/DatabaseApproverRepository.php:91:10: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<array-key, string>' for ProfessionalWiki\PageApprovals\Adapters\DatabaseApproverRepository::getAllAssignedCategories (see https://psalm.dev/197)
UnimplementedInterfaceMethod: src/Adapters/InMemoryApproverRepository.php#L10
src/Adapters/InMemoryApproverRepository.php:10:7: UnimplementedInterfaceMethod: Method getallassignedcategories is not defined on class ProfessionalWiki\PageApprovals\Adapters\InMemoryApproverRepository (see https://psalm.dev/044)
Psalm: MW REL1_39, PHP 8.2
Process completed with exit code 2.
PHPStan: MW REL1_39, PHP 8.2: src/Adapters/DatabaseApproverRepository.php#L88
Cannot access property $ac_categories on array|bool|stdClass.
PHPStan: MW REL1_39, PHP 8.2: src/Adapters/InMemoryApproverRepository.php#L10
Non-abstract class ProfessionalWiki\PageApprovals\Adapters\InMemoryApproverRepository contains abstract method getAllAssignedCategories() from interface ProfessionalWiki\PageApprovals\Application\ApproverRepository.
PHPStan: MW REL1_39, PHP 8.2
Process completed with exit code 1.
PHPUnit: MW REL1_41, PHP 8.2
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code style: MW REL1_39, PHP 8.2
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Psalm: MW REL1_39, PHP 8.2
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan: MW REL1_39, PHP 8.2
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/