Skip to content

Releases: phpstan/phpstan-nette

0.6.2

30 Jan 21:02

Choose a tag to compare

Added three new extensions for better code analysis:

  • Nette\ComponentModel\Container::getComponent() knows type of the component because it reads the return type on createComponent* (this works best in presenters and controls)
  • Nette\DI\Container::getByType and createInstance return type based on first parameter (Foo::class).
  • Methods with fluent interfaces on Nette\Forms\Controls\BaseControl now return the type they were called on (so for example TextInput, not BaseControl)

0.6.1

21 Jan 18:41

Choose a tag to compare

  • Ignore static methods when resolving method from property access
  • Rule for checking whether a class extends Nette\Object - recommend Nette\SmartObject trait

0.6

15 Jan 22:30

Choose a tag to compare

0.6
  • Added more universal objects
  • Requires PHPStan 0.6

0.5.1

08 Jan 15:44

Choose a tag to compare

  • Event listener method returns void
  • Improved compatibility with PHPStan 0.6

0.5

01 Jan 23:07

Choose a tag to compare

0.5

Require PHPStan 0.5

0.4

05 Dec 14:24

Choose a tag to compare

0.4

Require PHPStan 0.4

0.3

27 Nov 19:27

Choose a tag to compare

0.3

Require PHPStan 0.3

0.2

20 Nov 15:46

Choose a tag to compare

0.2
  • Require PHPStan 0.2
  • Template and SessionSection are universal object crates by default

Initial release

17 Jul 20:20

Choose a tag to compare

Hello world!