Releases: moodlehq/moodle-cs
Releases · moodlehq/moodle-cs
v3.3.5
Changed
- Update composer dependencies to current versions, notably PHPCompatibility (0a17f9ed).
- Enforce the use of
&&
and||
logical operators, now erroring (after a grace period of 1 year) withand
andor
uses:Squiz.Operators.ValidLogicalOperators
Full changelog
v3.3.4
Changed
- Update composer dependencies to current versions, notably PHPCompatibility (70e4ca24).
Added
- Various internal, code coverage related, improvements.
- Add GHA PHP 8.2 support.
- Upload and integrate the repository with Codecov, for better tracking of changes.
- Completely cover the MoodleUtil class, in charge of providing important
information about Moodle (versions, branches, components...)
Full changelog
v3.3.3
Removed
- Revert the check for the only one-space rule before the assignment operator @
Squiz.WhiteSpace.OperatorSpacing
as an interim solution while we revisit MDLSITE-6594.
Full changelog
v3.3.2
Added
- Check for one (and only one) space before assignment operator @
Squiz.WhiteSpace.OperatorSpacing
Full changelog
v3.3.1
v3.3.0
Added
- Enforce the use of
&&
and||
logical operators, warning aboutand
andor
:Squiz.Operators.ValidLogicalOperators
Changed
- Many internal changes towards better self-testing and integration with other tools (GH workflows, codechecker, core, phpunit...).
- Upgraded the PHPCompatibility standard from 3 years old version 9.3.5 (no releases since then) to current development version.
Fixed
- Stop considering
class_alias
like a side effect. - Add back the
Squiz.Arrays.ArrayBracketSpacing
sniff.
Full changelog
v3.2.0
This release is the first release of the new moodlehq/moodle-cs packages.
These rules, in an identical form, were previously available as a part of the local_codechecker Moodle plugin but are being moved to their own repository to make installation friendlier for developers.
All features are maintained and no new features have been introduced to either the rules, or the sniffs.
All the details about [previous releases] can be found in local_codechecker own change log.
v3.2.0-beta
Convert phpcs tests to their own repository