Skip to content

[utils] Add CheaperGuardFirstRule PHPStan rule to enforce early bail before expensive analysis#8105

Merged
TomasVotruba merged 2 commits into
mainfrom
cheaper-guard-first-phpstan-rule
Jun 29, 2026
Merged

[utils] Add CheaperGuardFirstRule PHPStan rule to enforce early bail before expensive analysis#8105
TomasVotruba merged 2 commits into
mainfrom
cheaper-guard-first-phpstan-rule

Conversation

@TomasVotruba

@TomasVotruba TomasVotruba commented Jun 29, 2026

Copy link
Copy Markdown
Member

No description provided.

@TomasVotruba TomasVotruba force-pushed the cheaper-guard-first-phpstan-rule branch 2 times, most recently from cf6238e to e2f4f5b Compare June 29, 2026 08:30
@TomasVotruba TomasVotruba changed the title cheaper guard first phpstan rule [utils] Add CheaperGuardFirstRule PHPStan rule to enforce early bail before expensive analysis Jun 29, 2026
@TomasVotruba TomasVotruba enabled auto-merge (squash) June 29, 2026 08:30
@TomasVotruba TomasVotruba merged commit 2d0e0f1 into main Jun 29, 2026
65 checks passed
@TomasVotruba TomasVotruba deleted the cheaper-guard-first-phpstan-rule branch June 29, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants