summaryrefslogtreecommitdiff
path: root/vendor/beberlei/assert/phpstan-code.neon
blob: 49aa5723f4ef80dda3eec3fcb7754f12a9e41f43 (plain)
1
2
3
4
5
6
7
8
9
10
parameters:
    autoload_files:
        - bin/MethodDocGenerator.php
    ignoreErrors:
        # is_countable() is available only in PHP 7.3+
        - '#Function is_countable not found#'

        # Calling count() on ResourceBundle and SimpleXMLElement is valid from PHP 7.0+, but does not correctly advertise
        # the fact, and so PHPStan has an issue with this. This will be fixed in PHP 7.4+
        - '#Call to function count\(\) with argument type array|Countable|ResourceBundle|SimpleXMLElement will always result in number 1#'