aboutsummaryrefslogtreecommitdiffhomepage
path: root/phpstan.neon
blob: eafaff5b26c571bf0ceaaa3cd354d11b8c538058 (plain)
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
includes:
    - phar://phpstan.phar/conf/bleedingEdge.neon
    - vendor/phpstan/phpstan-deprecation-rules/rules.neon
    - vendor/phpstan/phpstan-strict-rules/rules.neon

parameters:
    level: max
    tipsOfTheDay: false
    paths:
        - src
        - examples/hello-world
        # TODO
        # - examples/php-on-wasm
    typeAliases:
        Byte: 'int'
        # TODO: limit the range
        U8: 'int'
        S8: 'int'
        U16: 'int'
        S16: 'int'
        U32: 'int'
        U64: 'int'
        S32: 'int'
        S33: 'int'
        S64: 'int'
        F32: 'float'
        F64: 'float'
        Name: 'string'