Skip to content

fix(console)!: allow --force to bypass CautionMiddleware#1804

Merged
brendt merged 4 commits intotempestphp:mainfrom
xHeaven:console
Dec 12, 2025
Merged

fix(console)!: allow --force to bypass CautionMiddleware#1804
brendt merged 4 commits intotempestphp:mainfrom
xHeaven:console

Conversation

@xHeaven
Copy link
Member

@xHeaven xHeaven commented Dec 11, 2025

Fixes php tempest cache:clear --force failing in production environment.

@innocenzi innocenzi changed the title refactor(console): add isForced() to bypass CautionMiddleware fix(console): allow --force to bypass CautionMiddleware Dec 11, 2025
@brendt brendt changed the title fix(console): allow --force to bypass CautionMiddleware fix(console)!: allow --force to bypass CautionMiddleware Dec 11, 2025
@brendt
Copy link
Member

brendt commented Dec 11, 2025

This is technically a breaking change because the change to the interface, but it's also an important bugfix so I'm going to merge it!

Co-authored-by: Enzo Innocenzi <enzo@innocenzi.dev>
@brendt brendt merged commit bccf92f into tempestphp:main Dec 12, 2025
141 of 144 checks passed
@xHeaven xHeaven deleted the console branch December 12, 2025 09:10
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.

3 participants