Merge pull request #824 from Aerendir/dependabot/composer/dev/rector/… #2102
Annotations
6 errors
Run PSalm:
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)
|
Run PSalm:
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)
|
Run PSalm:
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)
|
Run PSalm:
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)
|
Run PSalm:
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)
|
Run PSalm
Process completed with exit code 2.
|
Loading