Skip to content

Releases: Swivl/php-coding-standard

v1.5.0

19 Apr 17:25
v1.5.0
d3f810a
Compare
Choose a tag to compare

What's new:

  • DoctrineEntitySniff: Support custom mapping types
  • Add Swivl recommended Slevomat Coding Standard rules

v1.4.7

22 Mar 13:20
v1.4.7
a8548a7
Compare
Choose a tag to compare

What's new:

  • DoctrineEntitySniff: do not require setter for property initialized in constructor

v1.4.6

27 Dec 08:55
v1.4.6
07cd65e
Compare
Choose a tag to compare

What's new:

  • UseDeclarationSniff: support Enum
  • Bump CI Ubuntu version and add PHP 8.2 checks

v1.4.5

19 Aug 12:31
v1.4.5
13dd9df
Compare
Choose a tag to compare

What's new:

  • DoctrineEntitySniff: support immutable date/time types
  • Bump CI Ubuntu version and add PHP 8.1 checks

v1.4.4

16 Jan 20:38
v1.4.4
8ce00b8
Compare
Choose a tag to compare

What's new:

  • DoctrineEntitySniff: support several attributes in the same attr block
  • DoctrineEntitySniff: do not require setter for property set via constructor

v1.4.3

15 Jan 11:11
v1.4.3
6a4f56c
Compare
Choose a tag to compare

What's new:

  • DoctrineEntitySniff: support Doctrine ORM 2.11+ enumType

v1.4.2

14 Jan 09:12
v1.4.2
a93e4b3
Compare
Choose a tag to compare

What's new:

  • DoctrineEntitySniff: support Doctrine ORM 2.9+ Typed Property Defaults

v1.4.1

06 Jan 19:19
v1.4.1
cd30e62
Compare
Choose a tag to compare

What's new:

  • FunctionCommentSniff: sync with upstream to fix attributes support

v1.4.0

05 Jan 10:58
v1.4.0
b51ed0d
Compare
Choose a tag to compare

What's new:

  • DoctrineEntitySniff: support Doctrine ORM 2.9+ PHP 8 attributes
  • DoctrineEntitySniff: support multi-line attributes and self reference

v1.3.0

06 Jul 16:32
v1.3.0
194ab38
Compare
Choose a tag to compare

What's new:

  • FunctionCommentSniff: require and validate only necessary blocks of param/return/throws
  • Do not require short function comment by default
  • Bump minimum squizlabs/php_codesniffer version to 3.6
  • Exclude extra files from dist