Skip to content

Releases: cdn77/coding-standard

With PHP 8.1 sniffs and closer to PSR-11

09 Feb 12:57
2918971
Compare
Choose a tag to compare

What's Changed

  • Specify union type hint format by @simPod in #50
  • Require trailing comma in multiline fcn declaration by @simPod in #56
  • Require Null Safe object operator by @simPod in #54
  • Require Non-capturing catch by @simPod in #51
  • Require Property promotion in constructors by @simPod in #55
  • Require arrow functions by @simPod in #52
  • Drop PHP 7.3 support by @simPod in #57
  • Test with PHP 8.1 by @simPod in #58
  • Cleanup installing dependencies in CI by @simPod in #59
  • Disable MissingTraversable TypeHint sniff by @simPod in #62
  • Do not require space before : in return type hint declaration by @simPod in #60
  • Require Nowdoc (Enable SlevomatCodingStandard.PHP.RequireNowdoc) by @baci266 in #65
  • Disable var camelCaps name check (Squiz.NamingConventions.ValidVariableName.NotCamelCaps) by @simPod in #61
  • Allow to specify pattern in ValidVariableNameSniff by @simPod in #66
  • Configure SlevomatCodingStandard.Files.LineLength to ignoreComments by @simPod in #64
  • Configure ClassStructure sniff to sort members by function instead of type by @baci266 in #63

New Contributors

Full Changelog: v5.0.0...6.0.0

PHP 8 support

13 Apr 09:29
Compare
Choose a tag to compare

This effectively brings PHP 8 support by bumping Doctrine CS to v9 which bumps Slevomat CS to v7 and PHP_CodeSniffer to v3.6

v4.0.1

24 Oct 17:00
Compare
Choose a tag to compare

Do not require dealerdirect/phpcodesniffer-composer-installer

v4.0.0

24 Jul 07:05
Compare
Choose a tag to compare

Bumped Doctrine CS