File: phpstan.neon

Recommend this page to a friend!
  Classes of Lars Moelleken  >  Portable UTF-8  >  phpstan.neon  >  Download  
File: phpstan.neon
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Portable UTF-8
Manipulate UTF-8 text strings in pure PHP
Author: By
Last change: [+]: ignore "false-positive" from phpstan v2
[+]: cleanup "phpstan"-config
[+]: ignore "false-positive" from phpstan

-> https://github.com/phpstan/phpstan-src/pull/123
[+]: fix tests for PHP 7.0 + fix typos
Merge remote-tracking branch 'origin/master'

* origin/master:
Update .styleci.yml
[*]: ignore phpstan false-positive error
[*]: update ascii lib (performance)

+ optimize phpstan.neon config
[*]: try to ignore phpstan false-positive errors
[+]: "str_contains_all" -> fix the loop

-> thanks @ phpstan (v0.12) :)
Date: 8 months ago
Size: 1,165 bytes
 

Contents

Class file image Download
parameters:
    reportUnmatchedIgnoredErrors: false
    level: max
    paths:
        - %currentWorkingDirectory%/src/
    excludes_analyse:
        - %currentWorkingDirectory%/vendor/*
        - %currentWorkingDirectory%/tests/*
    autoload_files:
        - %currentWorkingDirectory%/vendor/autoload.php
    ignoreErrors:
        # false-positiv
        - '#Function mb_str_split invoked with#'
        # ignore errors
        - '#Result of \|\| is always true#'
        - '#no value type specified in iterable type#'
        - '#voku\\helper\\UTF8::html_entity_decode\(\) expects string, array<string>\|string given#'
        - '#voku\\helper\\UTF8::utf8_decode\(\) expects string, array<string>\|string given#'
        - '#voku\\helper\\UTF8::substr_replace\(\) should return array<string>\|string but returns array<array<string>\|string>#'
        - '#voku\\helper\\UTF8::encode\(\) should return string but returns array<string>\|string#'
        - '#voku\\helper\\UTF8::str_replace_first\(\) should return string but returns array<string>\|string#'
        - '#voku\\helper\\UTF8::str_replace_last\(\) should return string but returns array<string>\|string#'

For more information send a message to info at phpclasses dot org.