Skip to content

Merge branch 'release/0.12.10' #2100

Merge branch 'release/0.12.10'

Merge branch 'release/0.12.10' #2100

Triggered via push October 7, 2024 17:00
Status Failure
Total duration 3m 48s
Artifacts

psalm.yml

on: push
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

46 errors
psalm (ubuntu-latest, 7.4, ~4.4)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ^8.0 but your php version (7.4.33) does not satisfy that requirement.
psalm (ubuntu-latest, 7.4, ~4.4)
Process completed with exit code 2.
psalm (ubuntu-latest, 7.4, ~5.4)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ^8.0 but your php version (7.4.33) does not satisfy that requirement.
psalm (ubuntu-latest, 7.4, ~5.4)
Process completed with exit code 2.
TypeDoesNotContainType: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainType: Cannot resolve types for $this->lastRefreshOn with type DateTimeInterface and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainNull: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainNull: Cannot resolve types for $this->lastRefreshOn - DateTimeInterface does not contain null (see https://psalm.dev/090)
MethodSignatureMismatch: src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php#L24
src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php:24:5: MethodSignatureMismatch: Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection::__construct has fewer parameters than parent method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\AbstractFeaturesCollection::__construct (see https://psalm.dev/042)
ParseError: src/Model/Subscription.php#L41
src/Model/Subscription.php:41:13: ParseError: Union types are not supported in PHP < 8 (see https://psalm.dev/173)
InvalidReturnType: src/Model/Subscription.php#L129
src/Model/Subscription.php:129:36: InvalidReturnType: The declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures is incorrect, got 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' (see https://psalm.dev/011)
InvalidReturnStatement: src/Model/Subscription.php#L131
src/Model/Subscription.php:131:16: InvalidReturnStatement: The inferred type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' does not match the declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures (see https://psalm.dev/128)
psalm (ubuntu-latest, 8.0, ~4.4)
Process completed with exit code 2.
TypeDoesNotContainType: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainType: Cannot resolve types for $this->lastRefreshOn with type DateTimeInterface and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainNull: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainNull: Cannot resolve types for $this->lastRefreshOn - DateTimeInterface does not contain null (see https://psalm.dev/090)
MethodSignatureMismatch: src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php#L24
src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php:24:5: MethodSignatureMismatch: Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection::__construct has fewer parameters than parent method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\AbstractFeaturesCollection::__construct (see https://psalm.dev/042)
ParseError: src/Model/Subscription.php#L41
src/Model/Subscription.php:41:13: ParseError: Union types are not supported in PHP < 8 (see https://psalm.dev/173)
InvalidReturnType: src/Model/Subscription.php#L129
src/Model/Subscription.php:129:36: InvalidReturnType: The declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures is incorrect, got 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' (see https://psalm.dev/011)
InvalidReturnStatement: src/Model/Subscription.php#L131
src/Model/Subscription.php:131:16: InvalidReturnStatement: The inferred type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' does not match the declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures (see https://psalm.dev/128)
psalm (ubuntu-latest, 8.1, ~4.4)
Process completed with exit code 2.
TypeDoesNotContainType: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainType: Cannot resolve types for $this->lastRefreshOn with type DateTimeInterface and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainNull: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainNull: Cannot resolve types for $this->lastRefreshOn - DateTimeInterface does not contain null (see https://psalm.dev/090)
MethodSignatureMismatch: src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php#L24
src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php:24:5: MethodSignatureMismatch: Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection::__construct has fewer parameters than parent method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\AbstractFeaturesCollection::__construct (see https://psalm.dev/042)
ParseError: src/Model/Subscription.php#L41
src/Model/Subscription.php:41:13: ParseError: Union types are not supported in PHP < 8 (see https://psalm.dev/173)
InvalidReturnType: src/Model/Subscription.php#L129
src/Model/Subscription.php:129:36: InvalidReturnType: The declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures is incorrect, got 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' (see https://psalm.dev/011)
InvalidReturnStatement: src/Model/Subscription.php#L131
src/Model/Subscription.php:131:16: InvalidReturnStatement: The inferred type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' does not match the declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures (see https://psalm.dev/128)
psalm (ubuntu-latest, 8.0, ~5.4)
Process completed with exit code 2.
TypeDoesNotContainType: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainType: Cannot resolve types for $this->lastRefreshOn with type DateTimeInterface and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainNull: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainNull: Cannot resolve types for $this->lastRefreshOn - DateTimeInterface does not contain null (see https://psalm.dev/090)
MethodSignatureMismatch: src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php#L24
src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php:24:5: MethodSignatureMismatch: Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection::__construct has fewer parameters than parent method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\AbstractFeaturesCollection::__construct (see https://psalm.dev/042)
ParseError: src/Model/Subscription.php#L41
src/Model/Subscription.php:41:13: ParseError: Union types are not supported in PHP < 8 (see https://psalm.dev/173)
InvalidReturnType: src/Model/Subscription.php#L129
src/Model/Subscription.php:129:36: InvalidReturnType: The declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures is incorrect, got 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' (see https://psalm.dev/011)
InvalidReturnStatement: src/Model/Subscription.php#L131
src/Model/Subscription.php:131:16: InvalidReturnStatement: The inferred type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' does not match the declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures (see https://psalm.dev/128)
psalm (ubuntu-latest, 8.1, ~6.0)
Process completed with exit code 2.
TypeDoesNotContainType: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainType: Cannot resolve types for $this->lastRefreshOn with type DateTimeInterface and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainNull: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainNull: Cannot resolve types for $this->lastRefreshOn - DateTimeInterface does not contain null (see https://psalm.dev/090)
MethodSignatureMismatch: src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php#L24
src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php:24:5: MethodSignatureMismatch: Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection::__construct has fewer parameters than parent method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\AbstractFeaturesCollection::__construct (see https://psalm.dev/042)
ParseError: src/Model/Subscription.php#L41
src/Model/Subscription.php:41:13: ParseError: Union types are not supported in PHP < 8 (see https://psalm.dev/173)
InvalidReturnType: src/Model/Subscription.php#L129
src/Model/Subscription.php:129:36: InvalidReturnType: The declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures is incorrect, got 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' (see https://psalm.dev/011)
InvalidReturnStatement: src/Model/Subscription.php#L131
src/Model/Subscription.php:131:16: InvalidReturnStatement: The inferred type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' does not match the declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures (see https://psalm.dev/128)
psalm (ubuntu-latest, 8.0, ~6.0)
Process completed with exit code 2.
TypeDoesNotContainType: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainType: Cannot resolve types for $this->lastRefreshOn with type DateTimeInterface and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainNull: src/Model/Feature/Subscribed/SubscribedCountableFeature.php#L56
src/Model/Feature/Subscribed/SubscribedCountableFeature.php:56:13: TypeDoesNotContainNull: Cannot resolve types for $this->lastRefreshOn - DateTimeInterface does not contain null (see https://psalm.dev/090)
MethodSignatureMismatch: src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php#L24
src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php:24:5: MethodSignatureMismatch: Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection::__construct has fewer parameters than parent method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\AbstractFeaturesCollection::__construct (see https://psalm.dev/042)
ParseError: src/Model/Subscription.php#L41
src/Model/Subscription.php:41:13: ParseError: Union types are not supported in PHP < 8 (see https://psalm.dev/173)
InvalidReturnType: src/Model/Subscription.php#L129
src/Model/Subscription.php:129:36: InvalidReturnType: The declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures is incorrect, got 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' (see https://psalm.dev/011)
InvalidReturnStatement: src/Model/Subscription.php#L131
src/Model/Subscription.php:131:16: InvalidReturnStatement: The inferred type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection|array<array-key, mixed>|null' does not match the declared return type 'SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedFeaturesCollection' for SerendipityHQ\Bundle\FeaturesBundle\Model\Subscription::getFeatures (see https://psalm.dev/128)
psalm (ubuntu-latest, 8.1, ~5.4)
Process completed with exit code 2.