Skip to content

[config] nest parameters under symplify vendor, as convention#273

Merged
TomasVotruba merged 5 commits into
mainfrom
tv-config
Jun 15, 2026
Merged

[config] nest parameters under symplify vendor, as convention#273
TomasVotruba merged 5 commits into
mainfrom
tv-config

Conversation

@TomasVotruba

@TomasVotruba TomasVotruba commented Jun 14, 2026

Copy link
Copy Markdown
Member

Nest all opt-in parameters under a single symplify: vendor key, as is the PHPStan convention for extensions. Flat parameters are kept as backward-compatible aliases.

Config nesting change

Before, each rule set was toggled by a top-level flat parameter:

parameters:
    mocks: true
    ctor: true
    symfonyReturnType: true

Now the preferred, clearer form is nested under symplify::

parameters:
    symplify:
        mocks: true
        ctor: true
        symfonyReturnType: true
        laravelReturnType: true
        pathStrings: true

@TomasVotruba TomasVotruba changed the title tv config [config] nest parameters under symplify vendor, as convention Jun 14, 2026
@TomasVotruba TomasVotruba force-pushed the tv-config branch 2 times, most recently from 739d73a to 88467db Compare June 15, 2026 08:15
@TomasVotruba TomasVotruba merged commit 7a934c3 into main Jun 15, 2026
7 checks passed
@TomasVotruba TomasVotruba deleted the tv-config branch June 15, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant