library phpstan-zend-mvc
Zend Framework 3 MVC controller plugin extension for PHPStan.
michaelgooden/phpstan-zend-mvc
Zend Framework 3 MVC controller plugin extension for PHPStan.
- Wednesday, January 24, 2018
- by MichaelGooden
- Repository
- 1 Watchers
- 0 Stars
- 737 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 5 Versions
- 34 % Grown
PHPStan extension for Zend Framework MVC Controller Plugins
Adds support to PHPStan to correctly handle controller plugins that are called
using magic __call() in \Zend\Mvc\Controller\AbstractController and
children., (*1)
Installation
- Add
michaelgooden/phpstan-zend-mvc as a require-dev Composer dependency
- Add the following to phpstan.neon in your top-level app directory
services:
-
class: PHPStan\Reflection\ZendMvc\PluginClassReflectionExtension
tags:
- phpstan.broker.methodsClassReflectionExtension
- Run PHPStan with the config file switch
phpstan -c phpstan.neon
dev-develop
dev-develop
Zend Framework 3 MVC controller plugin extension for PHPStan.
Sources
Download
MIT
The Requires
by
Greg Bell
dev-master
9999999-dev
Zend Framework 3 MVC controller plugin extension for PHPStan.
Sources
Download
MIT
The Requires
by
Greg Bell
0.2.0
0.2.0.0
Zend Framework 3 MVC controller plugin extension for PHPStan.
Sources
Download
MIT
The Requires
by
Greg Bell
0.1.1
0.1.1.0
Zend Framework 3 MVC controller plugin extension for PHPStan.
Sources
Download
MIT
The Requires
by
Greg Bell
0.1.0
0.1.0.0
Zend Framework 3 MVC controller plugin extension for PHPStan.
Sources
Download
MIT
The Requires
by
Greg Bell