Skip to content

Commit 8e4db6e

Browse files
committed
update phpstan config
1 parent 7076e0a commit 8e4db6e

File tree

2 files changed

+10
-23
lines changed

2 files changed

+10
-23
lines changed

phpstan.neon

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,19 @@
11
parameters:
2-
level: 5
2+
level: 6
33
checkGenericClassInNonGenericObjectType: false
4+
checkMissingIterableValueType: false
45
ignoreErrors:
56
-
6-
message: "#^PHPDoc tag @var does not specify variable name\\.$#"
7-
count: 2
8-
path: src/AbstractDriver.php
9-
-
10-
message: "#^Call to an undefined method object\\:\\:validate\\(\\)\\.$#"
7+
message: "#^Call to an undefined method Cake\\\\Datasource\\\\RepositoryInterface\\:\\:callFinder\\(\\)\\.$#"
118
count: 1
12-
path: src/Marshaller.php
9+
path: src/Datasource/Query.php
10+
1311
-
14-
message: "#^Method Muffin\\\\Webservice\\\\Query\\:\\:getEndpoint\\(\\) should return Muffin\\\\Webservice\\\\Model\\\\Endpoint but returns Cake\\\\Datasource\\\\RepositoryInterface\\.$#"
12+
message: "#^Call to an undefined method Cake\\\\Datasource\\\\RepositoryInterface\\:\\:getName\\(\\)\\.$#"
1513
count: 1
16-
path: src/Query.php
14+
path: src/Datasource/Query.php
15+
1716
-
1817
message: "#^Cannot call method total\\(\\) on Cake\\\\Datasource\\\\ResultSetInterface\\|int\\|true\\.$#"
1918
count: 1
20-
path: src/Query.php
21-
-
22-
message: "#^PHPDoc tag @var does not specify variable name\\.$#"
23-
count: 1
24-
path: src/Webservice/Webservice.php
25-
-
26-
message: "#^Call to an undefined method Cake\\\\Datasource\\\\RepositoryInterface\\:\\:callFinder\\(\\)\\.$#"
27-
count: 1
28-
path: src/Query.php
29-
-
30-
message: "#^Call to an undefined method Cake\\\\Datasource\\\\RepositoryInterface\\:\\:getName\\(\\)\\.$#"
31-
count: 1
32-
path: src/Query.php
19+
path: src/Datasource/Query.php

src/Model/Endpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Endpoint implements RepositoryInterface, EventListenerInterface, EventDisp
5151
/**
5252
* Connection instance this endpoint uses
5353
*
54-
* @var \Muffin\Webservice\Datasource\Connection $connection Connection instance
54+
* @var \Muffin\Webservice\Datasource\Connection
5555
*/
5656
protected $_connection;
5757

0 commit comments

Comments
 (0)