Skip to content

Releases: php-static-analysis/phpstan-extension

0.4.0

29 Dec 20:02
Compare
Choose a tag to compare

New version that supports:

  • PHP Parser V5
  • PHPStan 2.0
  • Future Psalm 6
  • Rector 2.0
  • PHP 8.4

The min php version is now set to 8.1

0.3.1

13 Sep 07:41
Compare
Choose a tag to compare

Add Assert, AssertIfFalse and AssertIfTrue attributes

0.3.0

16 Jun 08:37
Compare
Choose a tag to compare

Update for PHPStan 1.11

0.2.2

05 Mar 11:47
Compare
Choose a tag to compare

Add DefineType and ImportType attributes

0.2.1

28 Feb 18:18
Compare
Choose a tag to compare

Add Immutable attribute

0.2.0

26 Feb 10:47
Compare
Choose a tag to compare

Implement basic set of attributes:

Attribute PHPDoc Annotations
Deprecated @deprecated
Impure @impure
Internal @internal
IsReadOnly @readonly
Method @method
Mixin @mixin
Param @param
ParamOut @param-out
Property @property @var
PropertyRead @property-read
PropertyWrite @property-write
Pure @pure
RequireExtends @require-extends
RequireImplements @require-implements
Returns @return
SelfOut @self-out @this-out
Template @template
TemplateContravariant @template-contravariant
TemplateCovariant @template-covariant
TemplateExtends @extends @template-extends
TemplateImplements @implements @template-implements
TemplateUse @use @template-use
Throws @throws
Type @var @return

0.1.16

26 Feb 07:45
Compare
Choose a tag to compare

Add Throws attribute

0.1.15

25 Feb 15:16
Compare
Choose a tag to compare

Add Pure and Impure attributes

0.1.14

24 Feb 14:14
Compare
Choose a tag to compare

Add RequireExtends and RequireImplements attributes

0.1.13

24 Feb 04:35
Compare
Choose a tag to compare

Add SelfOut attribute