Download the PHP package friendsofcake2/phpstan-cakephp2 without Composer
On this page you can find all versions of the php package friendsofcake2/phpstan-cakephp2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download friendsofcake2/phpstan-cakephp2
More information about friendsofcake2/phpstan-cakephp2
Files in friendsofcake2/phpstan-cakephp2
Download friendsofcake2/phpstan-cakephp2
More information about friendsofcake2/phpstan-cakephp2
Files in friendsofcake2/phpstan-cakephp2
Vendor friendsofcake2
Package phpstan-cakephp2
Short Description For this package there is no description available.
License
Package phpstan-cakephp2
Short Description For this package there is no description available.
License
Please rate this library. Is it a good library?
Informations about the package phpstan-cakephp2
PHPStan-CakePHP2
PHPStan extensions to help test CakePHP 2 projects with PHPStan
Requirements
- PHP 8.0+
- phpstan/phpstan 1.9+
- pieceofcake2/cakephp 2.x
Installation
Installation is best done through composer:
You will need to make sure the extension is included in your phpstan config:
If you have behavior classes in odd locations (perhaps in a vendor directory) you will need to add those locations to your configuration. For example:
See extension.neon for the default list of behavior locations.
Features
The following features are added to PHPStan:
- Treat behavior methods as extra methods on all models (
$model->behaviorMethod()) - Treat controller properties named after model classes as instances of those classes (
$controller->Model) - Treat controller properties named after component classes as instances of those classes (
$controller->Component) - Treat component properties names after component classes as instances of those classes (
$component->Component) - Treat
ClassRegistry::init($className)as returning an instance of$classNamewhere possible
All versions of phpstan-cakephp2 with dependencies
PHP Build Version
Package Version
No informations.
The package friendsofcake2/phpstan-cakephp2 contains the following files
Loading the files please wait ...