Skip to content

Commit d06b495

Browse files
committed
Set the baseline for PHPStan
1 parent 884b84e commit d06b495

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

test/phpstan-baseline.neon

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: """
5+
#^PHPDoc tag @property\\-read has invalid value \\(FileMakerLayout \\$\\<\\<layout_name\\>\\> Returns the FileMakerLayout object from the layout named with the property\\.
6+
If the layout doesn't exist, no error arises here\\. Any errors might arise on methods of FileMakerLayout class\\.\\)\\: Unexpected token "\\$\\<\\<layout_name\\>\\>", expected variable at offset 259$#
7+
"""
8+
count: 1
9+
path: ../src/FMDataAPI.php
10+
11+
-
12+
message: "#^Method INTERMediator\\\\FileMakerServer\\\\RESTAPI\\\\Supporting\\\\CommunicationProvider\\:\\:debugOutput\\(\\) should return string but return statement is missing\\.$#"
13+
count: 1
14+
path: ../src/Supporting/CommunicationProvider.php
15+
16+
-
17+
message: "#^PHPDoc tag @param references unknown parameter\\: \\$name$#"
18+
count: 1
19+
path: ../src/Supporting/CommunicationProvider.php
20+
21+
-
22+
message: "#^PHPDoc tag @param references unknown parameter\\: \\$recordId$#"
23+
count: 1
24+
path: ../src/Supporting/CommunicationProvider.php
25+
26+
-
27+
message: "#^PHPDoc tag @param references unknown parameter\\: \\$toName$#"
28+
count: 1
29+
path: ../src/Supporting/CommunicationProvider.php
30+
31+
-
32+
message: "#^PHPDoc tag @var has invalid value \\(\\)\\: Unexpected token \"\\\\n \\* \", expected type at offset 15$#"
33+
count: 1
34+
path: ../src/Supporting/CommunicationProvider.php
35+
36+
-
37+
message: """
38+
#^PHPDoc tag @property has invalid value \\(FileMakerRelation \\$\\<\\<portal_name\\>\\> FileMakerRelation object associated with the property name\\.
39+
The table occurrence name of the portal can be the 'portal_name,' and also the object name of the portal\\.
40+
Ver \\* @version 31\\)\\: Unexpected token "\\$\\<\\<portal_name\\>\\>", expected variable at offset 474$#
41+
"""
42+
count: 1
43+
path: ../src/Supporting/FileMakerRelation.php
44+
45+
-
46+
message: "#^PHPDoc tag @property has invalid value \\(string \\$\\<\\<field_name\\>\\> The field value named as the property name\\.\\)\\: Unexpected token \"\\$\\<\\<field_name\\>\\>\", expected variable at offset 383$#"
47+
count: 1
48+
path: ../src/Supporting/FileMakerRelation.php
49+
50+
-
51+
message: "#^PHPDoc tag @return with type void is incompatible with native type array\\.$#"
52+
count: 1
53+
path: ../src/Supporting/FileMakerRelation.php
54+
55+
-
56+
message: "#^Access to an undefined property INTERMediator\\\\FileMakerServer\\\\RESTAPI\\\\FMDataAPI\\:\\:\\$person_layout\\.$#"
57+
count: 1
58+
path: FMDataAPIUnitTest.php
59+
60+
-
61+
message: "#^Method INTERMediator\\\\FileMakerServer\\\\RESTAPI\\\\Supporting\\\\TestProvider\\:\\:accessToContainer\\(\\) should return string but return statement is missing\\.$#"
62+
count: 1
63+
path: TestProvider.php

0 commit comments

Comments
 (0)