File: phpstan.neon.dist

package info (click to toggle)
tcpdf 6.11.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,884 kB
  • sloc: php: 53,114; sh: 333; makefile: 12
file content (31 lines) | stat: -rw-r--r-- 1,292 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
parameters:
    level: 1
    paths:
        - ./
    excludePaths:
        - vendor/
        - tests/

    scanFiles:
      - tcpdf_autoconfig.php

    ignoreErrors:
        - '~^Constant (PDF_HEADER_LOGO|K_PATH_CACHE|K_PATH_FONTS|K_PATH_IMAGES|K_PATH_URL) not found\.$~'
        - '~^Constructor of class TCPDF has an unused parameter \$diskcache\.$~'
        - '~^Variable \$\w+ might not be defined\.$~'
        - '~^Method TCPDF(_FILTERS)?::\w+\(\) should return .+ but return statement is missing\.$~'

        # mcrypt does not support PHP 7.2 or later
        -
            message: '~^(Constant MCRYPT_RIJNDAEL_128 not found\.|Function mcrypt_get_cipher_name not found\.)$~'
            path: tcpdf.php
            count: 2
        -
            message: '~^(Constant (MCRYPT_ARCFOUR|MCRYPT_MODE_CBC|MCRYPT_MODE_STREAM|MCRYPT_RAND|MCRYPT_RIJNDAEL_128) not found\.|Function (mcrypt_create_iv|mcrypt_encrypt|mcrypt_get_iv_size) not found\.)$~'
            path: include/tcpdf_static.php
            count: 16

        -
            message: '~^(Call to static method create\(\) on an unknown class Symfony\\Component\\Finder\\Finder\.|Instantiated class Doctum\\(Doctum|RemoteRepository\\GitHubRemoteRepository) not found\.)$~'
            path: scripts/doctum.php
            count: 3