phpstan / phpstan-nette

Nette Framework class reflection extension for PHPStan & framework-specific rules
MIT License
100 stars 35 forks source link

Configuration: used factory: instead of class: #13

Closed adaamz closed 6 years ago

adaamz commented 7 years ago

as in phpstan repo - this is forward fix for https://github.com/nette/di/pull/159

adaamz commented 7 years ago

@JanTvrdik Any text feedback for downvote?

JanTvrdik commented 7 years ago

The class option is not deprecated when used without arguments and merging this PR would break compatibility with older versions of Nette.

adaamz commented 7 years ago

I think that in Nette 2.3 is factory implemented and works well.