Skip to content

v3.4.7

Compare
Choose a tag to compare
@github-actions github-actions released this 31 May 16:34
· 23 commits to main since this release
4f1bc63

Added

  • Add new moodle.PHPUnit.ParentSetUpTearDown sniff to verify, among other things, that all the setUp(), tearDown(), setUpBeforeClass() and tearDownAfterClass() methods in unit tests are properly calling to their parent counterparts. Applies to Moodle 4.5 and up.
  • Add new moodle.Commenting.ConstructorReturn sniff to check that constructors do not document a return value.

Changed

  • Update composer dependencies to current versions, notably PHP_CodeSniffer (3.10.1) and PHPCompatibility (96072c30).
  • The moodle.Commenting.MissingDocblock sniff will now detect use of the Override attribute (Fixes #155).

Fixed

  • Various fixes to own (GH workflow) integration tests.

Take a look at the CHANGELOG for details about other releases.