Skip to content

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

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

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

Conversation

@xHeaven

@xHeaven xHeaven commented Dec 11, 2025

Copy link
Copy Markdown
Member

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

brendt commented Dec 11, 2025

Copy link
Copy Markdown
Member

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!

Comment thread packages/console/src/Console.php Outdated
Comment thread packages/console/src/GenericConsole.php Outdated
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