From f71d22b31c4ee3467de4030b0348bb7d64d8520b Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Thu, 7 Mar 2024 10:54:31 +0100 Subject: [PATCH] Prepare the v3.4.0 release --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec1d4e1..c281d38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,17 @@ This project adheres to [Semantic Versioning](https://semver.org/). The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com). ## [Unreleased] +## [v3.4.0] - 2024-03-07 ### Added +- Add new `moodle.PHPUnit.TestCasesAbstract` sniff to check that testcase classes are declared abstract. +- Add new `moodle.PHPUnit.TestClassesFinal` sniff to check that test classes are declared final. - Add new `moodle.Commenting.Package` sniff to replace those present in moodle-local_moodlecheck. - Add new `moodle.Commenting.Category` sniffs to replace those present in moodle-local_moodlecheck. - New `phpcs.xml.dist` to enforce the coding style to follow by ´moodle-cs´ itself. Basically, PSR12 ruled. CI verified from now on. ### Changed +- Modified own CI scripts, updating various GH actions. +- Reallocated own tests structure, to better organise them and fixture files. - Update composer dependencies to current versions, notably `PHP_CodeSniffer` (3.9.0) and `PHPCompatibility` (e5cd2e24). - As part of the move to be PSR12 compliant, all the methods used for testing have been converted, without deprecation, to camel case (`setStandard()`, `setSniff()`, ...). - ACTION REQUIRED: Any clone/fork using `moodle-cs` and having own tests will need to adapt them to the new method names. @@ -158,7 +163,8 @@ All features are maintained and no new features have been introduced to either t All the details about [previous releases] can be found in [local_codechecker](https://github.com/moodlehq/moodle-local_codechecker) own change log. -[Unreleased]: https://github.com/moodlehq/moodle-cs/compare/v3.3.15...main +[Unreleased]: https://github.com/moodlehq/moodle-cs/compare/v3.4.0...main +[v3.4.0]: https://github.com/moodlehq/moodle-cs/compare/v3.3.15...v3.4.0 [v3.3.15]: https://github.com/moodlehq/moodle-cs/compare/v3.3.14...v3.3.15 [v3.3.14]: https://github.com/moodlehq/moodle-cs/compare/v3.3.13...v3.3.14 [v3.3.13]: https://github.com/moodlehq/moodle-cs/compare/v3.3.12...v3.3.13