-
- [x] Run `bin/configlet sync -u -e two-bucket --yes --docs --filepaths --metadata --tests include` (updates the Markdown files and maybe `tests.toml`)
- [x] Drop strict types comments from test file…
-
- [X] You're running the [latest release](https://github.com/Block8/PHPCI/releases/latest) version of PHPCI.
- [X] Ensure that you're running at least PHP 5.3.6, you can check this by running `php -v`…
-
```
-
The `Decision` interface prescribes an apply method receiving a `GameState` parameter, which is itself also an interface. This makes sense from an interface standpoint, but it constrains an implemente…
-
## What is the new page you are requesting?
Two new pages based on the Codex pages on the [Action Reference list](https://codex.wordpress.org/Plugin_API/Action_Reference) and [Filter Reference list](…
-
Currently, anytime a module adds a new configuration default, the module maintainer needs to write a `hook_update_N()` to merge the new default into the active set. This violates DRY by putting the d…
-
Check out how they are doing their access mode in this class:
https://github.com/binsoul/io-stream/blob/master/src/AccessMode.php
I don't want to __require__ the use of an AccessMode class, but I w…
-
I have the following PHP comment block:
```
/**
* @param string var1 My description.
* @param array longervarname My description.
* @param boolean areallylongvariablename My description.
*/
```
…
-
I came across this yesterday when building out a custom block and I found it used in one or two blog tutorials ([example](https://developer.wordpress.org/news/2023/03/03/creating-a-custom-block-that-s…
-
**Describe the bug**
Reproduction: https://phpstan.org/r/3c452035-5203-439f-8c93-372be51d80a8
The `Bag::from()` method has the following signature:
```php
public static function from(mixed $…