Files
php-uuid/tests/phpstan.neon
T
Marco Pivetta 1f0cd71d93 Applied fixes and suppressions (sadly) to match psalm/phpstan code quality guidelines
We have a lot of deprecated API in here which shouldn't exist in first place, but that
will luckily disappear with v5.0.0 :-)
2020-07-09 13:57:30 +02:00

32 lines
1.2 KiB
Plaintext

parameters:
tmpDir: ../build/cache/phpstan
level: max
paths:
- ../src
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
autoload_files:
- ./phpstan-bootstrap.php
ignoreErrors:
-
message: '#^Call to function is_int\(\) with float will always evaluate to false\.$#'
count: 1
path: ../src/Converter/Time/PhpTimeConverter.php
-
message: '#^Unreachable statement - code above always terminates\.$#'
count: 1
path: ../src/Converter/Time/PhpTimeConverter.php
-
message: '#^Comparison operation "<" between int<6, max> and 0 is always false\.$#'
count: 1
path: ../src/Generator/CombGenerator.php
-
message: '#^Comparison operation ">" between 6 and 0 is always true\.$#'
count: 1
path: ../src/Generator/CombGenerator.php
-
# Legacy methods of `Ramsey\Uuid` use interface methods that are NOT defined on `FieldsInterface`
message: '#^Call to an undefined method Ramsey\\Uuid\\Fields\\FieldsInterface::get.*$#'
count: 9
path: ../src/Lazy/LazyUuidFromString.php