Juliette
Juliette
GitHub has deprecated the use of `set-output` (and `set-state`) in favour of new environment files. This commit updates workflows to use the new methodology. Refs: * https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files 👉🏻...
.. picked up along the way. * Remove unused `use` statements. * Use `use` statements. * No need for a combined assignment operator.
... picked up along the way. ## Commits ### ScopeSettingWithNamespaceOperatorTest: fix unintentional parse error ### IsReferenceTest: fix two unintentional parse errors in the test case file ### GetMemberPropertiesTest: sync the...
### PHP 8.2 | Tokenizer/PHP: allow for true in union types Previously, `false` and `null` were already allowed in union types. As of PHP 8.2, `true` has been added to...
PHP 8.2 introduces `readonly` classes. The `readonly` keyword can be combined with the `abstract` or `final` keyword. See: https://3v4l.org/VIXgD Includes adding a full set of tests for the `File::getClassProperties()` method,...
Each of these three sniffs had a `` block containing _three_ `` elements instead of two. Discovered by validating the docs against the XSD schema created by the amazing @dingo-d....
Originally reported in https://github.com/WordPress/WordPress-Coding-Standards/issues/2083 The fixer for the `OpeningIndent` error for multi-line function calls could inadvertently remove a PHP close tag (or other inline HTML content) on the previous line...
### PEAR/FunctionDeclaration: examine arrow function declarations PHP 7.4 arrow functions were not yet being taken into account for this sniff. Note: I've explicitly left the sniff to not have an...
If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a `0` error code, even though the PHPCS run failed (though not on...
GitHub has deprecated the use of `set-output` (and `set-state`) in favour of new environment files. This commit updates workflows to use the new methodology. Refs: * https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files