All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Remove the post-update-cmd script, since it cannot be used to create stub configuration, when
the package is installed as a dependency.
Remove all the relative tests.
- Remove unsupported PHP 7.2 version
- Move
scriptdirectory undersrc - Adjust
postInstallCompose script to:- update the configuration file, if it finds a deprecated
php_cs.dist - delete the deprecated
php_cs.cachecache file.
- update the configuration file, if it finds a deprecated
- Bump
php-cs-fixerto 3.0 version - Adjust deprecations:
- rename
php_cs.disttophp-cs-fixer.php - rename
php_cs.cachetophp-cs-fixer.cache
- rename
- Add post installation Composer script to automatically:
- create a basic configuration file
- add two scripts to composer.json file:
composer csto check the code style andcomposer cs-fixto fix it - add
.php_cs.cache(php-cs-fixer cache file) to.gitignore
- Add Phpunit to the dev dependencies, to test the composer script
- Add php json extension to the dependencies, to manipulate composer.json file
- Add a test suite Github Actions workflow
- Add a Github Actions workflow to create a coverage report and update it to CodeClimate quality tool
- Create a
CHANGELOG.mdfile
- Change rules to adhere to PSR-12
Fix spaces around | operator.
See PHP-CS-Fixer/PHP-CS-Fixer#5495
- Fix the rules to add
declare(strict_types=1);instruction after the<?phpstatement, with one space separation. I.e.
<?php declare(strict_types=1);
/*
* Copyright information
*/
.......................- Remove the line break after opening tag
- Full PHP 8 compatibility
- Add Github Actions workflow to test installation with different PHP versions
- Move the library to Susina organization
- Change the library namespace to
Susina\CodingStandard
- Remove the following rules, considered too strict:
- All PHPUnit test classes should be marked as internal
- Adds a default @coversNothing annotation to PHPUnit test classes that have no @covers* annotation
- All PHPUnit test cases should have @small, @medium or @large annotation to enable run time limits
Update README
Define the coding standard, based on PSR-1 and PSR-2.