Skip to content

Add isActive method to site #14

Add isActive method to site

Add isActive method to site #14

Triggered via pull request October 12, 2023 15:56
Status Failure
Total duration 36s
Artifacts

ci.yml

on: pull_request
Matrix: phpunit-tests
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

12 errors
InvalidReturnType: src/Mock/MockSiteProvider.php#L82
src/Mock/MockSiteProvider.php:82:43: InvalidReturnType: The declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters is incorrect, got 'array{cl00000: Garden\Sites\Mock\MockCluster}' (see https://psalm.dev/011)
InvalidReturnStatement: src/Mock/MockSiteProvider.php#L84
src/Mock/MockSiteProvider.php:84:16: InvalidReturnStatement: The inferred type 'array{cl00000: Garden\Sites\Mock\MockCluster}' does not match the declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters (see https://psalm.dev/128)
static-analysis (8.1)
Process completed with exit code 2.
InvalidReturnType: src/Mock/MockSiteProvider.php#L82
src/Mock/MockSiteProvider.php:82:43: InvalidReturnType: The declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters is incorrect, got 'array{cl00000: Garden\Sites\Mock\MockCluster}' (see https://psalm.dev/011)
InvalidReturnStatement: src/Mock/MockSiteProvider.php#L84
src/Mock/MockSiteProvider.php:84:16: InvalidReturnStatement: The inferred type 'array{cl00000: Garden\Sites\Mock\MockCluster}' does not match the declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters (see https://psalm.dev/128)
static-analysis (8.2)
Process completed with exit code 2.
InvalidReturnType: src/Mock/MockSiteProvider.php#L82
src/Mock/MockSiteProvider.php:82:43: InvalidReturnType: The declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters is incorrect, got 'array{cl00000: Garden\Sites\Mock\MockCluster}' (see https://psalm.dev/011)
InvalidReturnStatement: src/Mock/MockSiteProvider.php#L84
src/Mock/MockSiteProvider.php:84:16: InvalidReturnStatement: The inferred type 'array{cl00000: Garden\Sites\Mock\MockCluster}' does not match the declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters (see https://psalm.dev/128)
static-analysis (8.0)
Process completed with exit code 2.
InvalidReturnType: src/Mock/MockSiteProvider.php#L82
src/Mock/MockSiteProvider.php:82:43: InvalidReturnType: The declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters is incorrect, got 'array{cl00000: Garden\Sites\Mock\MockCluster}' (see https://psalm.dev/011)
InvalidReturnStatement: src/Mock/MockSiteProvider.php#L84
src/Mock/MockSiteProvider.php:84:16: InvalidReturnStatement: The inferred type 'array{cl00000: Garden\Sites\Mock\MockCluster}' does not match the declared return type 'array<string, Garden\Sites\Local\LocalCluster>' for Garden\Sites\Mock\MockSiteProvider::loadAllClusters (see https://psalm.dev/128)
static-analysis (7.4)
Process completed with exit code 2.