-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
phpstan-baseline.neon
106 lines (86 loc) · 5.23 KB
/
phpstan-baseline.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
parameters:
ignoreErrors:
-
message: "#^Return type \\(array\\<float\\>\\) of method PHPCoord\\\\CoordinateOperation\\\\NADCON5Grid\\:\\:getValues\\(\\) should be compatible with return type \\(array\\<PHPCoord\\\\UnitOfMeasure\\\\Angle\\\\Angle\\|PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\>\\) of method PHPCoord\\\\CoordinateOperation\\\\Grid\\:\\:getValues\\(\\)$#"
count: 1
path: src/CoordinateOperation/NADCON5Grid.php
-
message: "#^Method PHPCoord\\\\CoordinateReferenceSystem\\\\ProjectedBase\\:\\:getDerivingConversion\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: src/CoordinateReferenceSystem/ProjectedBase.php
-
message: "#^Method PHPCoord\\\\Datum\\\\Datum\\:\\:getEllipsoid\\(\\) should return PHPCoord\\\\Datum\\\\Ellipsoid but returns PHPCoord\\\\Datum\\\\Ellipsoid\\|null\\.$#"
count: 1
path: src/Datum/Datum.php
-
message: "#^Method PHPCoord\\\\Datum\\\\Datum\\:\\:getPrimeMeridian\\(\\) should return PHPCoord\\\\Datum\\\\PrimeMeridian but returns PHPCoord\\\\Datum\\\\PrimeMeridian\\|null\\.$#"
count: 1
path: src/Datum/Datum.php
-
message: "#^Cannot call method registerFile\\(\\) on Opis\\\\JsonSchema\\\\Resolvers\\\\SchemaResolver\\|null\\.$#"
count: 1
path: src/Geometry/GeoJSON/GeoJSON.php
-
message: "#^Call to an undefined method PHPCoord\\\\Point\\\\Point\\:\\:asGeographicValue\\(\\)\\.$#"
count: 1
path: src/Point/CompoundPoint.php
-
message: "#^Result of \\|\\| is always true\\.$#"
count: 1
path: src/Point/CompoundPoint.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Point/CompoundPoint.php
-
message: "#^Instanceof between PHPCoord\\\\CoordinateReferenceSystem\\\\Geocentric and PHPCoord\\\\CoordinateReferenceSystem\\\\Compound will always evaluate to false\\.$#"
count: 1
path: src/Point/GeocentricPoint.php
-
message: "#^Parameter \\#1 \\$unit of method PHPCoord\\\\UnitOfMeasure\\\\Angle\\\\Angle\\:\\:add\\(\\) expects PHPCoord\\\\UnitOfMeasure\\\\Angle\\\\Angle, PHPCoord\\\\UnitOfMeasure\\\\Angle\\\\Angle\\|PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|PHPCoord\\\\UnitOfMeasure\\\\Scale\\\\Scale given\\.$#"
count: 6
path: src/Point/GeocentricPoint.php
-
message: "#^Parameter \\#1 \\$unit of method PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\:\\:add\\(\\) expects PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length, PHPCoord\\\\UnitOfMeasure\\\\Angle\\\\Angle\\|PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|PHPCoord\\\\UnitOfMeasure\\\\Scale\\\\Scale given\\.$#"
count: 6
path: src/Point/GeocentricPoint.php
-
message: "#^Parameter \\#1 \\$unit of method PHPCoord\\\\UnitOfMeasure\\\\Scale\\\\Scale\\:\\:add\\(\\) expects PHPCoord\\\\UnitOfMeasure\\\\Scale\\\\Scale, PHPCoord\\\\UnitOfMeasure\\\\Angle\\\\Angle\\|PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|PHPCoord\\\\UnitOfMeasure\\\\Scale\\\\Scale given\\.$#"
count: 2
path: src/Point/GeocentricPoint.php
-
message: "#^Instanceof between PHPCoord\\\\CoordinateReferenceSystem\\\\Geographic2D\\|PHPCoord\\\\CoordinateReferenceSystem\\\\Geographic3D and PHPCoord\\\\CoordinateReferenceSystem\\\\Compound will always evaluate to false\\.$#"
count: 1
path: src/Point/GeographicPoint.php
-
message: "#^Cannot call method multiply\\(\\) on mixed\\.$#"
count: 1
path: src/Point/Point.php
-
message: "#^Instanceof between PHPCoord\\\\CoordinateReferenceSystem\\\\Projected and PHPCoord\\\\CoordinateReferenceSystem\\\\Compound will always evaluate to false\\.$#"
count: 1
path: src/Point/ProjectedPoint.php
-
message: "#^Parameter \\#1 \\$easting of class PHPCoord\\\\Point\\\\BritishNationalGridPoint constructor expects PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length, PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|null given\\.$#"
count: 1
path: src/Point/ProjectedPoint.php
-
message: "#^Parameter \\#1 \\$easting of class PHPCoord\\\\Point\\\\IrishGridPoint constructor expects PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length, PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|null given\\.$#"
count: 1
path: src/Point/ProjectedPoint.php
-
message: "#^Parameter \\#1 \\$easting of class PHPCoord\\\\Point\\\\IrishTransverseMercatorPoint constructor expects PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length, PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|null given\\.$#"
count: 1
path: src/Point/ProjectedPoint.php
-
message: "#^Parameter \\#2 \\$northing of class PHPCoord\\\\Point\\\\BritishNationalGridPoint constructor expects PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length, PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|null given\\.$#"
count: 1
path: src/Point/ProjectedPoint.php
-
message: "#^Parameter \\#2 \\$northing of class PHPCoord\\\\Point\\\\IrishGridPoint constructor expects PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length, PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|null given\\.$#"
count: 1
path: src/Point/ProjectedPoint.php
-
message: "#^Parameter \\#2 \\$northing of class PHPCoord\\\\Point\\\\IrishTransverseMercatorPoint constructor expects PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length, PHPCoord\\\\UnitOfMeasure\\\\Length\\\\Length\\|null given\\.$#"
count: 1
path: src/Point/ProjectedPoint.php