Skip to content

Releases: cdn77/coding-standard

Loosen method sort

06 Feb 13:50
39a49e5
Compare
Choose a tag to compare

What's Changed

  • ci(phpstan): bootstrap sniffer tokens by @simPod in #105
  • ci: run on push on ..x branches by @simPod in #106
  • chore(deps): update dependency phpunit/phpunit to v10 by @renovate in #103
  • feat: loosen method sorting rules by @simPod in #104

Full Changelog: 7.0.0...7.1.0

7

13 Dec 18:34
691b655
Compare
Choose a tag to compare
7

What's Changed

  • refactor(cs): drop SlevomatCodingStandard.PHP.RequireNowdoc rule by @simPod in #72
  • refactor(cs): drop SlevomatCodingStandard.TypeHints.UnionTypeHintFormat rule by @simPod in #71
  • refactor(cs): drop SlevomatCodingStandard.Commenting.RequireOneLineDocComment by @simPod in #80
  • chore(deps): require doctrine cs v10 dev with slevomat cs v8.2 by @simPod in #83
  • refactor(cs): drop SlevomatCodingStandard.Classes.ConstantSpacing by @simPod in #82
  • doc: add link to rejected addition of RequireSingleLineMethodSignature in upstream by @simPod in #84
  • refactor(cs): drop SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration+RequireTrailingCommaInDeclaration rule by @simPod in #73
  • feat: do not require constant names to scream by @simPod in #85
  • refactor(cs): drop SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch by @simPod in #86
  • refactor(cs): drop SlevomatCodingStandard.Classes.ParentCallSpacing by @simPod in #88
  • ci(phpunit): allow coverage logging by @simPod in #89
  • ci(phpstan): use excludePaths by @simPod in #90
  • feat: match constant names pattern by @simPod in #87
  • refactor: drop RequireOneLinePropertyDocComment exclusion by @simPod in #92
  • feat: use SlevomatCodingStandard.Classes.PropertySpacing from Doctrine CS by @simPod in #93
  • feat: drop SlevomatCodingStandard.Classes.RequireSingleLineMethodSignature by @simPod in #94
  • chore(deps): add phpstan/extension-installer by @simPod in #96
  • ci: remove dependabot by @simPod in #97
  • chore(deps): require doctrine cs v10 by @simPod in #95
  • chore(deps): remove explicit slevomat/coding-standard requirement by @simPod in #98
  • chore(deps): remove explicit ext-js requirement by @simPod in #100
  • ci(php): run on v8.2 by @simPod in #101
  • chore(deps): drop php 8.0 support by @simPod in #102
  • chore(deps): update dependency doctrine/coding-standard to v11 by @renovate in #99

Full Changelog: v6.1.1...7.0.0

v6.1.1

20 Sep 21:20
0239626
Compare
Choose a tag to compare

What's Changed

  • Configure Renovate by @renovate in #75
  • chore(deps): update actions/checkout action to v3 by @renovate in #76
  • chore(deps): update phpstan packages to v1 (major) by @renovate in #77
  • refactor(cs): drop SlevomatCodingStandard.Arrays.MultiLineArrayEndBracketPlacement rule by @simPod in #74

New Contributors

Full Changelog: 6.1.0...v6.1.1

Trailing commas in declarations are no more

10 Jun 12:51
a5da943
Compare
Choose a tag to compare

What's Changed

  • feat: disallow trailing comma in single line function declaration by @simPod in #69
  • ci: replace schedule with workflow_dispatch by @simPod in #68
  • chore: require php 8.0 by @simPod in #67

Full Changelog: 6.0.0...6.1.0

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