swaggest/php-code-builder

View on GitHub
phpstan.neon

Summary

Maintainability
Test Coverage
parameters:
    ignoreErrors:
        - '#Access to an undefined property .*Swaggest\\JsonSchema\\NameMirror.+#'
        -
            message: '#invalid array key type#i' # caused by NameFlector
            path: %currentWorkingDirectory%/src/JsonSchema/SchemaBuilder.php
        -
            message: '# of encapsed string cannot be cast to string#' # caused by NameFlector
            path: %currentWorkingDirectory%/src/JsonSchema/SchemaBuilder.php
        -
            message: '#Result of \|\| is always false#' # caused by NameFlector
            path: %currentWorkingDirectory%/src/JsonSchema/SchemaExporterInterface.php
        -
            message: '#Strict comparison using === between string and#' # caused by NameFlector
            path: %currentWorkingDirectory%/src/JsonSchema/SchemaExporterInterface.php
        -
            message: '#Binary operation "." between string and#' # caused by NameFlector
            path: %currentWorkingDirectory%/src/JsonSchema/TypeBuilder.php