Skip to content

Releases: inpsyde/php-coding-standards

v2.0.0-beta.7

15 Nov 09:49
ea91b8d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0-beta.6...2.0.0-beta.7

v2.0.0-beta.6

09 Sep 14:11
8704dd1
Compare
Choose a tag to compare

What's Changed

  • [Templates] AlternativeControlStructure and ShortEchoTag sniffs by @shvlv in #97

Full Changelog: 2.0.0-beta.5...2.0.0-beta.6

v2.0.0-beta.5

25 Jul 06:28
b883fe6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0-beta.4...2.0.0-beta.5

v2.0.0-beta.4

13 Mar 18:37
6d87e51
Compare
Choose a tag to compare

Changed

  • Updated license and handle company name re-branding, by @Chrico
  • Removed license text from each file, by @gmazzap
  • Synced development with version/2 and made the latter the default branch

Fixed

  • Usage of InpsydeTemplates, by @shvlv
  • Add e2e tests, and re-organize tests code, by @shvlv
  • Unused code cleanup, by @gmazzap

Full Changelog: 2.0.0-beta.3...2.0.0-beta.4

v2.0.0-beta.3

28 Feb 19:10
4571e6e
Compare
Choose a tag to compare

Added

Fixed

  • False positive for invalid return type when declaring \Iterator or \Traversable or iterable and not returning a generator. by @gmazzap

Full Changelog: 2.0.0-beta.2...2.0.0-beta.3

v2.0.0-beta.2

28 Feb 11:46
b53f4bf
Compare
Choose a tag to compare

Added

Changed

  • Documentation improvements (by @shvlv)
  • Fixed Psalm issues (props @gmazzap)

Full Changelog: 2.0.0-beta.1...2.0.0-beta.2

v2.0.0-beta.1

10 Jan 14:39
b109e05
Compare
Choose a tag to compare

Added

  • Add checks for Emacs UTF-8 file header (EncodingCommentSniff) (See #50).
  • Add checks for ensuring space after casting (See #55).
  • Add checks for priority used on hooks and filters (HooPriorityLimit) (See #75).
  • Embrace PHPCSUtils (See #72).

Changed

  • Upgrade automattic/vipwpcs to ^3.0.0.
  • Modernize existing sniffs (See #73).

v1.0.0

28 Feb 11:59
Compare
Choose a tag to compare

First stable release.

v1.0.0-beta.1

13 Apr 12:58
Compare
Choose a tag to compare

Added

  • PHPCompatibility checks
  • External VIP rules
  • Possibility to filter execution of tests

Changed

  • Move to PSR-12
  • Move to WPCS v2
  • Move to PHPCS v3.3
  • Upgrade dealerdirect/phpcodesniffer-composer-installer to ^0.5
  • Extend type declaration exclusion for hooks static closures
  • Simplify customization of ElementNameMinimalLength
  • Allow blank line after method with single line declaration
  • Ignore in return type declaration check all methods that start with __
  • Remove PHPCSAliases class
  • Remove configuration values in provided ruleset.xml
  • Improved README and documentation

v0.13.4

19 Feb 10:26
Compare
Choose a tag to compare

Fixed

  • Function with nullable type return and returning null (and nothing else) considered invalid.

Changed

  • Replaced abandoned "wimg/php-compatibility" with "phpcompatibility/php-compatibility".