Skip to content

Releases: Automattic/phpcs-neutron-standard

v1.2.3

26 Jan 23:00
0962f7b
Compare
Choose a tag to compare

Changelog

  • DisallowGlobalFunctionsSniff: allow global functions in a namespace (#36)

v1.2.2

26 Jan 19:00
e536fe3
Compare
Choose a tag to compare

Changelog

  • TypeHintSniff: handle interfaces and abstract classes (#34)
  • RequireStrictTypesSniff: skip parsing comment blocks entirely (#33)

v1.2.1

24 Jan 17:56
a675fea
Compare
Choose a tag to compare

Changelog

  • Tests: Standardize on CaptialCamelCase for fixture files (#32)
  • Improve interface detection (#31)
  • Add better function boundary detection (#30)
  • TypeHintSniff: improve argument type detection to support variadic types (#26)

v1.2.0

17 Jan 17:50
8099e75
Compare
Choose a tag to compare

Changelog

  • RequireStrictTypesSniff: ignore for interfaces (#24)
  • RequireStrictTypesSniff: only match first open tag (#23)
  • Add auto-fix for DisallowLongformArraySniff (#17)
  • Reword MultipleNewlines error message (#15)
  • Allow callable type hints (#11)
  • Add an explanation to the README (#12)

v1.1.0

18 Dec 16:08
9a7d32d
Compare
Choose a tag to compare

Changelog

  • Properly detect return type scopes in TypeHintSniff #8
  • TypeHintSniff: allow array type hints #6
  • Discourage Variable Functions #4
  • Disallow multiple blank adjacent lines #5

v1.0

04 Dec 23:15
Compare
Choose a tag to compare

The initial release.