Skip to content

Commit

Permalink
Prepare the v3.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Mar 7, 2024
1 parent 1cdcfa0 commit f71d22b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f71d22b

Please sign in to comment.