You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redesign Collection as immutable value object, simplify DSL
Replace the broad DSL surface (chaining, __get, ArrayAccess, proxy
methods) with a single immutable constructor: name, with, filter,
required. Remove Filtered, CollectionNotBound, filterColumns, and
all mapper coupling from Collection.
Copy file name to clipboardExpand all lines: phpstan.neon.dist
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,11 @@ parameters:
4
4
- src/
5
5
- tests/
6
6
ignoreErrors:
7
-
- message: '/Call to an undefined (static )?method Respect\\Data\\(AbstractMapper|InMemoryMapper|Collections\\(Collection|Filtered|Composite|Typed))::\w+\(\)\./'
8
-
- message: '/Access to an undefined property Respect\\Data\\(AbstractMapper|InMemoryMapper|Collections\\Collection)::\$\w+\./'
7
+
- message: '/Call to an undefined (static )?method Respect\\Data\\(AbstractMapper|InMemoryMapper|Collections\\(Collection|Composite|Typed))::\w+\(\)\./'
9
8
- message: '/Unsafe usage of new static\(\)\./'
10
-
-
11
-
message: '/Expression .+ on a separate line does not do anything\./'
12
-
path: tests/
13
9
-
14
10
message: '/Property .+ is never read, only written\./'
15
11
path: tests/Stubs/
12
+
-
13
+
message: '/(Cannot access property|Parameter #1 .+ expects object|Access to an undefined property object)/'
0 commit comments