Releases: Swivl/php-coding-standard
Releases · Swivl/php-coding-standard
v1.4.2
14 Jan 09:12
Compare
Sorry, something went wrong.
No results found
What's new:
DoctrineEntitySniff: support Doctrine ORM 2.9+ Typed Property Defaults
v1.4.1
06 Jan 19:19
Compare
Sorry, something went wrong.
No results found
What's new:
FunctionCommentSniff: sync with upstream to fix attributes support
v1.4.0
05 Jan 10:58
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
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
v1.2.1
27 Apr 07:54
Compare
Sorry, something went wrong.
No results found
What's new:
DoctrineEntitySniff: add generics support for Collections
v1.2.0
30 Mar 20:15
Compare
Sorry, something went wrong.
No results found
What's new:
Add Swivl.Functions.ConstructorPropertyPromotion sniff
[BC Break] Add Swivl.Commenting.UselessFunctionComment sniff
[BC Break] Add Swivl.Commenting.UselessClassComment sniff
Refactor Swivl.Commenting.FunctionComment
Fix bug with recognizing nullable traversable type
v1.1.2
21 Mar 18:25
Compare
Sorry, something went wrong.
No results found
What's new:
DoctrineEntity: support native property type and native return type
DoctrineEntity: support omitting PHPDoc type for property with native type
DoctrineEntity: support static return type
DoctrineEntity: support array as any[]
DoctrineEntity: support short scalar types
DoctrineEntity: support DateTimeImmutable and DateTimeInterface
DoctrineEntity: fix issue with using type of the previous property
FunctionComment: add __clone to whitelist of methods without return type
v1.1.1
09 Feb 09:40
Compare
Sorry, something went wrong.
No results found
What's new:
Allow short scalar types (int, bool) and support PHP 8 mixed types
Use latest Generic sniffs
Sync MultiLineFunctionDeclarationSniff with parent PEAR
Fix DoctrineEntity nullable property type support
Move from Travis to Github Actions
v1.1.0
27 Jan 10:16
Compare
Sorry, something went wrong.
No results found
What's new:
[BC Break] Optional join in entities relationships
[BC Break] PHPDoc for methods is required only for traversable types
[BC Break] Do not require PHPDoc for classes by default
v1.0.1
27 May 09:34
Compare
Sorry, something went wrong.
No results found
What's new:
Allow self return type for entities
Allow nullable setter argument type or default null value