forked from easyrdf/easyrdf
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathphpstan.neon
48 lines (35 loc) · 1.96 KB
/
phpstan.neon
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
parameters:
bootstrapFiles:
- vendor/autoload.php
fileExtensions:
- php
level: 5
paths:
- examples
- lib
parallel:
maximumNumberOfProcesses: 1
tmpDir: /tmp/phpstan
# temporary solution; related parts are subject for later refactoring
ignoreErrors:
# examples/open_graph_protocol.php: Access to an undefined property EasyRdf\Graph::...
- '#Access to an undefined property EasyRdf\\Graph::#'
# lib/Collection.php: offsetSet method returns mixed, but it is of return type void
# see: https://www.php.net/manual/en/arrayaccess.offsetset.php
- '#Method EasyRdf\\Collection::offsetSet\(\) with return type void returns mixed#'
# lib/Container.php: offsetSet method returns int, but it is of return type void
# see: https://www.php.net/manual/en/arrayaccess.offsetset.php
- '#Method EasyRdf\\Container::offsetSet\(\) with return type void returns int#'
# lib/Container.php: offsetUnset method returns int, but it is of return type void
# see: https://www.php.net/manual/en/arrayaccess.offsetunset.php
- '#Method EasyRdf\\Container::offsetUnset\(\) with return type void returns int#'
# lib/Graph.php: __unset method returns int, but it is of return type void
# see: https://www.php.net/manual/en/language.oop5.overloading.php#object.unset
- '#Method EasyRdf\\Graph::__unset\(\) with return type void returns int#'
- '#::__set\(\) with return type void returns int but should not return anything#'
- '#::__set\(\) with return type void returns mixed but should not return anything#'
# lib/Resource.php: __unset method returns int, but it is of return type void
# see: https://www.php.net/manual/en/language.oop5.overloading.php#object.unset
- '#Method EasyRdf\\Resource::__unset\(\) with return type void returns#'