Skip to content

Releases: moodlehq/moodle-cs

v3.3.5

28 Aug 17:06
abc742c
Compare
Choose a tag to compare

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) with and and or uses: Squiz.Operators.ValidLogicalOperators

Full changelog

v3.3.4

28 May 11:28
Compare
Choose a tag to compare

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

14 Mar 07:59
Compare
Choose a tag to compare

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

13 Feb 08:12
Compare
Choose a tag to compare

Added

  • Check for one (and only one) space before assignment operator @ Squiz.WhiteSpace.OperatorSpacing

Full changelog

v3.3.1

19 Jan 16:51
e475bde
Compare
Choose a tag to compare

Fixed

  • Updated the outdated list of valid magic methods.

Full changelog

v3.3.0

13 Jan 13:17
3679d90
Compare
Choose a tag to compare

Added

  • Enforce the use of && and || logical operators, warning about and and or: 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

28 Feb 02:39
Compare
Choose a tag to compare

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

28 Feb 02:27
Compare
Choose a tag to compare
v3.2.0-beta Pre-release
Pre-release
Convert phpcs tests to their own repository