wp-config
wp-config copied to clipboard
Bedrock's failsafe wp-config
In my Bedrock projects I typically extend the `Config` class with some simple static methods which I have found to have broad utility. It is the aim of this PR...
close #4 Note: There are a few more constant names will break, e.g: `null`, `true`, `false`. Haven't think of a good way to catch them all.
* [x] I've read the [guidelines for Contributing to Roots Projects](https://github.com/roots/.github/blob/master/CONTRIBUTING.md) * [x] This request isn't a duplicate of an existing issue * [x] I've read the [docs](https://roots.io/documentation/) and followed...
* [x] I've read the [guidelines for Contributing to Roots Projects](https://github.com/roots/.github/blob/master/CONTRIBUTING.md) * [x] This request isn't a duplicate of an existing issue * [x] I've read the [docs](https://roots.io/documentation/) and followed...
Replace the static Config class with a new fluent API for wp-config v2. This new API provides a more expressive and maintainable way to manage WordPress configuration while maintaining the...
1. Git ignore `/.phpunit.cache` & `/coverage.xml` 2. `composer require --dev phpunit/phpunit:^10.5` 3. `./vendor/bin/phpunit --migrate-configuration` 4. GitHub Actions: Add `test` workflow Example workflow run: https://github.com/tangrufus/wp-config/actions/runs/13475857186 Example coverage report: https://coveralls.io/jobs/160825043 --- PHP...