Skip to content

Add read-only option for WPConfigTransformer - #54

Merged
schlessera merged 2 commits into
wp-cli:mainfrom
pwtyler:config-has-readonly
Sep 17, 2024
Merged

Add read-only option for WPConfigTransformer#54
schlessera merged 2 commits into
wp-cli:mainfrom
pwtyler:config-has-readonly

Conversation

@pwtyler

@pwtyler pwtyler commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

Provides the option to skip checking that wp-config needs to be writable. Allows commands like wp config has to run on a read-only file system.

First part of addressing wp-cli/config-command#184

WCUS Contributor Day 5985

Note, $this->expectNotToPerformAssertions(); is not supported by the version of PHPUnit used in our 5.6 tests, so using the @doesNotPerformAssertions annotation instead.

@pwtyler
pwtyler marked this pull request as ready for review September 17, 2024 18:29
@pwtyler
pwtyler requested a review from a team as a code owner September 17, 2024 18:29
@schlessera schlessera added this to the 1.3.7 milestone Sep 17, 2024
@schlessera
schlessera merged commit 9b470f6 into wp-cli:main Sep 17, 2024
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.

2 participants