PHP Classes

File: phpstan.neon

Recommend this page to a friend!
  Classes of Lars Moelleken  >  Arrayy  >  phpstan.neon  >  Download  
File: phpstan.neon
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Arrayy
Manipulate arrays using a fluent interface
Author: By
Last change: [+]: "ArrayyRewindableExtendedGenerator" -> fix fatal error

-> "ArrayObject::__construct() expects parameter 3 to be a class name derived from ArrayIterator, 'Arrayy\ArrayyRewindableExtendedGenerator' given
[+]: fix some phpdocs + fix/ignore new phpstan errors v2
[+]: fix some phpdocs + fix/ignore new phpstan errors
[+]: add more support for generics + phpstan checks
Date: 10 months ago
Size: 1,781 bytes


Class file image Download
    level: max
    reportUnmatchedIgnoredErrors: false
    checkGenericClassInNonGenericObjectType: true
    checkMissingIterableValueType: false
        - %currentWorkingDirectory%/src/
        - %currentWorkingDirectory%/tests/
            message: ~typehint specified~
            path: %currentWorkingDirectory%/tests/*
            message: '#assertContains|assertInternalType|assertStringContainsString|assertIsArray|expectExceptionMessage#'
            path: %currentWorkingDirectory%/tests/*
            message: ~Call to an undefined static method~
            path: %currentWorkingDirectory%/tests/StaticArrayyTest.php
            message: ~Cannot call method format~
            path: %currentWorkingDirectory%/tests/ArrayyTest.php
        # false-positive?
        - '/function call_user_func expects callable.*array\(.*\) given/'
        - '/function call_user_func_array expects callable.*array\(.*\) given/'
        - '/\(array<TKey of \(int\|string\), T>\) does not accept key int/'
        - '/\(array<TKey of \(int\|string\), T>\) does not accept array<int, T>/'
        - '/\(array<TKey of \(int\|string\), T>\) does not accept array<int\|string, T>/'
        - '/\(array<TKey of \(int\|string\), T>\) does not accept array<T>/'
        - '/array_map expects \(callable\(\):/'
        # ignore gernal errors
        - '/Unsafe usage of new static/'
        # ignore Iterator stuff
        - '/__construct\(\) has parameter \$iteratorClass with generic/'
        - '/create\(\) has parameter \$iteratorClass with generic/'
        - '/parameter \$iteratorClass with generic class Arrayy\\ArrayyIterator/'
        - '/generic class Arrayy\\ArrayyIterator does not specify its types/'
For more information send a message to info at phpclasses dot org.