Releases: mollie/php-coding-standards
Adapt and overcome
Advance and adapt.
Merge pull request #16 from TomBrouws/master Add support for PHP 8.3
There is no looking back.
Merge pull request #15 from shirshir/remove-deprecated-option Remove deprecated option
Upwards and onwards!
What's Changed
- Add support for PHP 8.2 by @TomBrouws in #14
New Contributors
- @TomBrouws made their first contribution in #14
Full Changelog: v2.1.0...v2.2.0
We will be strict from now on!
Addition of explicit support for 8.0 and 8.1
Removed deprecated rule.
And going mandatory declare(strict_types=1|0);
from php 8.1 and up.
The River Flows
Upgraded PHP-CS-Fixer to v3.1.0 River.
We're keeping the behaviour of types_spaces
to its 2.19 default, for now.
No More Operator Alignment
Aligning operators in the past has been a stylistic choice: it looks nice, and thus should offer better readability. Keyword being should. Over time, this became less and less true. Adding in the fact it causes additional whitespace changes on lines otherwise untouched, we decided to stop aligning.
Deprecations Be Gone
Fix PHP-CS-Fixer deprecation warnings in preparation of a possible upgrade to v3.
Ready for the Future
Allow running on PHP 8 now that PHP-CS-Fixer is able to.
Dev-wise switched to GitHub Actions, saying goodbye to Travis.
No More Notices
We have disabled global_namespace_import
because the fixer doesn't care about what namespace it's in, and use
-ing a global class in the global namespace makes PHP throw a notice.
We do intend to re-enable the rule once it takes this into account.