Skip to content

PHPStan

PHPStan #2094

Triggered via push October 4, 2024 07:21
Status Failure
Total duration 1m 51s
Artifacts

phpstan.yml

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

Annotations

80 errors and 16 warnings
phpstan (ubuntu-latest, 8.0, ~4.4): src/Model/Feature/AbstractFeaturesCollection.php#L89
Parameter #1 $key of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::set() expects (int|string), mixed given.
phpstan (ubuntu-latest, 8.0, ~4.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredCountableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredCountableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.0, ~4.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredRechargeableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredRechargeableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.0, ~4.4): src/Model/Feature/Property/HasRecurringPricesProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredBooleanFeature)#L56
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredBooleanFeature::RecurringPricesConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~5.4): src/Model/Feature/AbstractFeaturesCollection.php#L89
Parameter #1 $key of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::set() expects (int|string), mixed given.
phpstan (ubuntu-latest, 7.4, ~5.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredCountableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredCountableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~5.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredRechargeableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredRechargeableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~5.4): src/Model/Feature/Property/HasRecurringPricesProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredBooleanFeature)#L56
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredBooleanFeature::RecurringPricesConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~5.4): src/Model/Feature/Property/IsRecurringFeatureProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Subscribed/SubscribedBooleanFeature)#L24
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedBooleanFeature::RecurringFeatureConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~5.4): src/Model/Feature/Property/IsRecurringFeatureProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Subscribed/SubscribedBooleanFeature)#L27
Ignored error pattern #^Class DateTime is unsafe to use\. Its methods can return FALSE instead of throwing an exception\. Please add 'use Safe\\DateTime;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library\.$# in path /home/runner/work/bundle-features/bundle-features/src/Model/Feature/Subscribed/SubscribedBooleanFeature.php is expected to occur 1 time, but occurred 2 times.
phpstan (ubuntu-latest, 8.0, ~5.4): src/Model/Feature/AbstractFeaturesCollection.php#L89
Parameter #1 $key of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::set() expects (int|string), mixed given.
phpstan (ubuntu-latest, 8.0, ~5.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredCountableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredCountableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.0, ~5.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredRechargeableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredRechargeableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.0, ~5.4): src/Model/Feature/Property/HasRecurringPricesProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredBooleanFeature)#L56
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredBooleanFeature::RecurringPricesConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~4.4): src/Model/Feature/AbstractFeaturesCollection.php#L89
Parameter #1 $key of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::set() expects (int|string), mixed given.
phpstan (ubuntu-latest, 7.4, ~4.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredCountableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredCountableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~4.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredRechargeableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredRechargeableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~4.4): src/Model/Feature/Property/HasRecurringPricesProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredBooleanFeature)#L56
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredBooleanFeature::RecurringPricesConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~4.4): src/Model/Feature/Property/IsRecurringFeatureProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Subscribed/SubscribedBooleanFeature)#L24
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed\SubscribedBooleanFeature::RecurringFeatureConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 7.4, ~4.4): src/Model/Feature/Property/IsRecurringFeatureProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Subscribed/SubscribedBooleanFeature)#L27
Ignored error pattern #^Class DateTime is unsafe to use\. Its methods can return FALSE instead of throwing an exception\. Please add 'use Safe\\DateTime;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library\.$# in path /home/runner/work/bundle-features/bundle-features/src/Model/Feature/Subscribed/SubscribedBooleanFeature.php is expected to occur 1 time, but occurred 2 times.
phpstan (ubuntu-latest, 8.0, ~6.0): src/Model/Feature/AbstractFeaturesCollection.php#L89
Parameter #1 $key of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::set() expects (int|string), mixed given.
phpstan (ubuntu-latest, 8.0, ~6.0): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredCountableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredCountableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.0, ~6.0): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredRechargeableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredRechargeableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.0, ~6.0): src/Model/Feature/Property/HasRecurringPricesProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredBooleanFeature)#L56
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredBooleanFeature::RecurringPricesConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~6.0): src/Model/Feature/AbstractFeaturesCollection.php#L89
Parameter #1 $key of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::set() expects (int|string), mixed given.
phpstan (ubuntu-latest, 8.1, ~6.0): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L74
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~6.0): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L87
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~6.0): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L100
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~6.0): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredCountableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredCountableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~6.0): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredRechargeableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredRechargeableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~6.0): src/Model/Feature/Property/HasRecurringPricesProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredBooleanFeature)#L56
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredBooleanFeature::RecurringPricesConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~4.4): src/Model/Feature/AbstractFeaturesCollection.php#L89
Parameter #1 $key of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::set() expects (int|string), mixed given.
phpstan (ubuntu-latest, 8.1, ~4.4): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L74
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~4.4): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L87
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~4.4): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L100
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~4.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredCountableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredCountableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~4.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredRechargeableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredRechargeableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~4.4): src/Model/Feature/Property/HasRecurringPricesProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredBooleanFeature)#L56
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredBooleanFeature::RecurringPricesConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~5.4): src/Model/Feature/AbstractFeaturesCollection.php#L89
Parameter #1 $key of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::set() expects (int|string), mixed given.
phpstan (ubuntu-latest, 8.1, ~5.4): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L74
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~5.4): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L87
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~5.4): src/Model/Feature/Configured/ConfiguredFeaturesCollection.php#L100
Parameter #1 $p of method Doctrine\Common\Collections\ArrayCollection<(int|string),mixed>::filter() expects Closure(mixed, int|string): bool, callable(): mixed given.
phpstan (ubuntu-latest, 8.1, ~5.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredCountableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredCountableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~5.4): src/Model/Feature/Property/HasConfiguredPacksProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredRechargeableFeature)#L45
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredRechargeableFeature::setPacksProperty() has parameter $packs with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.1, ~5.4): src/Model/Feature/Property/HasRecurringPricesProperty.php (in context of class SerendipityHQ/Bundle/FeaturesBundle/Model/Feature/Configured/ConfiguredBooleanFeature)#L56
Method SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredBooleanFeature::RecurringPricesConstruct() has parameter $details with no value type specified in iterable type array.
phpstan (ubuntu-latest, 8.0, ~4.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, shivammathur/[email protected], 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 (ubuntu-latest, 8.0, ~4.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpstan (ubuntu-latest, 7.4, ~5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, shivammathur/[email protected], 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 (ubuntu-latest, 7.4, ~5.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpstan (ubuntu-latest, 8.0, ~5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, shivammathur/[email protected], 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 (ubuntu-latest, 8.0, ~5.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpstan (ubuntu-latest, 7.4, ~4.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, shivammathur/[email protected], 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 (ubuntu-latest, 7.4, ~4.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpstan (ubuntu-latest, 8.0, ~6.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, shivammathur/[email protected], 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 (ubuntu-latest, 8.0, ~6.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpstan (ubuntu-latest, 8.1, ~6.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, shivammathur/[email protected], 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 (ubuntu-latest, 8.1, ~6.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpstan (ubuntu-latest, 8.1, ~4.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, shivammathur/[email protected], 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 (ubuntu-latest, 8.1, ~4.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpstan (ubuntu-latest, 8.1, ~5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, shivammathur/[email protected], 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 (ubuntu-latest, 8.1, ~5.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/