Skip to content

Commit

Permalink
Adds CHANGELOG entry for #46
Browse files Browse the repository at this point in the history
Reorder changelog entries so we have:
- traits on top of the class
- constants
- properties
- methods
  • Loading branch information
michalbundyra committed Nov 13, 2019
1 parent 0fb488e commit 455d16c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ All notable changes to this project will be documented in this file, in reverse
- [#42](https://github.com/webimpress/coding-standard/pull/42) adds requiring camelCase names for class members and variables used in strings - extended sniff `NamingConventions\ValidVariableName`.
Disallowed are two capital letters next to each other (strict mode).

- [#60](https://github.com/webimpress/coding-standard/pull/60) extends `Classes\TraitUsage` sniff to check if traits declarations are on the top of the class.
Traits must be specified before constants, properties and methods.

- [#45](https://github.com/webimpress/coding-standard/pull/45) adds `Classes\ConstBeforeProperty` sniff to require constant definitions in classes and interfaces before properties and methods

- [#46](https://github.com/webimpress/coding-standard/pull/46) adds `Classes\PropertyBeforeMethod` sniff to require property definitions in classes before methods

- [#47](https://github.com/webimpress/coding-standard/pull/47) adds `Commenting\TagName` sniff which checks if PHPDoc tags have additional characters at the end of the name.
By default `:` and `;` are disallowed and removed by fixer, but the list of disallowed characters can be configured by option `disallowedEndChars`

Expand All @@ -44,9 +49,6 @@ All notable changes to this project will be documented in this file, in reverse
- `Squiz.Operators.IncrementDecrementUsage`,
- `Squiz.PHP.DisallowMultipleAssignments` (with `Squiz.PHP.DisallowMultipleAssignments.FoundInControlStructure` exclusion).

- [#60](https://github.com/webimpress/coding-standard/pull/60) extends `Classes\TraitUsage` sniff to check if traits declarations are on the top of the class.
Traits must be specified before constants, properties and methods.

### Changed

- [#42](https://github.com/webimpress/coding-standard/pull/42) changes `NamingConventions\ValidVariableName` to require variable names be in strict camelCase. It means two capital letters next to each other are not allowed.
Expand Down

0 comments on commit 455d16c

Please sign in to comment.