Skip to content

Bump symplify/phpstan-rules from 14.10.0 to 14.19.4 - #1108

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/symplify/phpstan-rules-14.19.4
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/symplify/phpstan-rules-14.19.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps symplify/phpstan-rules from 14.10.0 to 14.19.4.

Release notes

Sourced from symplify/phpstan-rules's releases.

PHPStan Rules 14.19.4

Bugfixes 🐛

  • Check #[AsCommand] attribute class is loadable first in CommandMustHaveAsCommandAttributeRule (#382)
  • Register LaravelPresenceResolver in services.neon (#383)
  • PhpUpgradeDowngradeRegisteredInSetRule now resolves the upgrade set path from the config/set directory, instead of the SetList::PHP_* constants that Rector is removing (#384)

PHPStan Rules 14.19.3

Improvement 🔧

CommandMustHaveAsCommandAttributeRule now runs only when symfony/console is a direct require dependency (#381)

A require-dev only entry, or no entry at all, is ignored. Projects that pull Symfony Console transitively or just for development are no longer forced to add #[AsCommand].

PHPStan Rules 14.19.2

  • Run CommandMustHaveAsCommandAttributeRule only when composer.json requires symfony/console, so projects pulling console only transitively are no longer flagged (#380)
  • Resolve imported short @see class names in SeeAnnotationToTestRule (#379)

PHPStan Rules 14.19

A batch of new rules - Doctrine Collection typing, repository return types, Symfony controller actions, nullable getters and mocked return types - plus two new rule-set groups you can toggle.

New features 🎉

New modern and collections groups

Two new toggleable rule sets, both enabled by default (#360, #363):

parameters:
    symplify:
        # enabled by default
        modern: true
        collections: true
  • modern groups trait, reference, dynamic-name and foreach-ception rules.
  • collections groups the Doctrine Collection typing rules below.

Doctrine Collection typing rules

Four new rules keep Doctrine Collection usage strictly typed (#363).

CollectionGetterMustReturnCollectionRule - getter of a to-many association must return Collection:

 use Doctrine\Common\Collections\Collection;
 use Doctrine\ORM\Mapping as ORM;
#[ORM\Table]
#[ORM\Entity]
</tr></table>

... (truncated)

Commits
  • ea19d26 Resolve upgrade set path without SetList::PHP_* constants in PhpUpgradeDowngr...
  • c402ae5 Register LaravelPresenceResolver in services.neon (#383)
  • 27ae408 Check #[AsCommand] attribute class is loadable first in CommandMustHaveAsComm...
  • 8ffdf72 Skip CommandMustHaveAsCommandAttributeRule when symfony/console not in requir...
  • 51391ef Run CommandMustHaveAsCommandAttributeRule only when composer.json requires sy...
  • 663fa6c Resolve imported short @​see class names in SeeAnnotationToTestRule (#379)
  • 3e1ea6b Skip "static::" const fetch overridden by child class in ForbiddenStaticClass...
  • bfba4cb [Rector] Add NoScopeFetchBeforeCheapGuardRule and NarrowReturnToUnionParamRul...
  • 2871fcc Skip Doctrine repositories in NoDocumentMockingRule (#372)
  • 9882995 Skip #[Route] attribute actions in NoPublicNonActionMethodInControllerRule (#...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Nov 20, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/symplify/phpstan-rules-14.19.4 branch 5 times, most recently from 8c00108 to f1d6be8 Compare November 30, 2026 05:33
@dependabot
dependabot Bot force-pushed the dependabot/composer/symplify/phpstan-rules-14.19.4 branch from f1d6be8 to 4c2af46 Compare December 2, 2026 05:38
Bumps [symplify/phpstan-rules](https://github.com/symplify/phpstan-rules) from 14.10.0 to 14.19.4.
- [Release notes](https://github.com/symplify/phpstan-rules/releases)
- [Commits](symplify/phpstan-rules@14.10.0...14.19.4)

---
updated-dependencies:
- dependency-name: symplify/phpstan-rules
  dependency-version: 14.19.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/symplify/phpstan-rules-14.19.4 branch from 4c2af46 to 247a3c2 Compare December 3, 2026 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants