sulu / skeleton

Project template for starting your new project based on the Sulu content management system
https://sulu.io
MIT License
261 stars 81 forks source link

[Rector] Load phpstan doctrine and symfony extension on phpstan.eon #226

Closed samsonasik closed 1 year ago

samsonasik commented 1 year ago

@alexander-schranz since Rector no longer magically load phpstan extension, the extension need to be loaded manually.

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

Since Rector 0.17.13, Rector no longer magically load phpstan extension, the services need to be loaded in the config:

Why?

Since Rector 0.17.13, Rector no longer magically load phpstan extension, the services need to be loaded in the config:

alexander-schranz commented 1 year ago

Thx for the PR. This will be replaced by the new $rectorConfig->phpstan>Config method in #227 cherry picked your commit to that PR.