diff options
author | Javier Marín <javier@marinros.com> | 2021-07-14 05:12:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 05:12:41 +0300 |
commit | d1d27b494dececc4e96e608d0bb47fd948d7f959 (patch) | |
tree | 02e73bd4eb6772cc3432667fcea7b64e413616d0 /phpstan.neon | |
parent | aa37abbaeb73ac1cac5798608da51d813e976a25 (diff) |
PhpStan support, consts visibilty and name for tokens (#89)
* Added handler to define not found variables
Added support for string variables
Fixed strings and ints comparison error
* Check if variables have scalar types (int, float, string and bool)
Better $onVarNotFound logic
* Better support for null variables
* Better support for null variables
* Better support for null variables
* Allow null values in `setVar` method
* Support for unary positive operator
* Add PhpStan config file
Fix PhpStan warnings
Set consts visibility
Add name info to variable tokens for easier debugging
Co-authored-by: Javier Marín <contacto@ideatic.net>
Diffstat (limited to 'phpstan.neon')
-rw-r--r-- | phpstan.neon | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..bed17ae --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,9 @@ +parameters: + level: 6 + paths: + - ./ + excludes_analyse: + - vendor/* + - tests/* + bootstrapFiles: + - vendor/autoload.php
\ No newline at end of file |