File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ class StringUtils
14
14
private static $ pluraliseSearchReplace = [
15
15
'Property "%s" was ' => 'Properties "%s" were ' ,
16
16
'Property ' => 'Properties ' ,
17
+ 'property ' => 'properties ' ,
17
18
];
18
19
19
20
public static function canonicalisePath (string $ filename ): string
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ public function pluraliseMultipleProvider(): array
48
48
],
49
49
['Property "%s" was not promoted ' , 'Properties "propOne" & "propTwo" were not promoted ' ],
50
50
['Property "%s" was missing ' , 'Properties "propOne" & "propTwo" were missing ' ],
51
+ ['Visibility changed for property "%s" ' , 'Visibility changed for properties "propOne" & "propTwo" ' ],
51
52
];
52
53
}
53
54
@@ -66,6 +67,7 @@ public function pluraliseSingularProvider(): array
66
67
['Property "%s" should not have changed type ' , 'Property "propOne" should not have changed type ' ],
67
68
['Property "%s" was not promoted ' , 'Property "propOne" was not promoted ' ],
68
69
['Property "%s" was missing ' , 'Property "propOne" was missing ' ],
70
+ ['Visibility changed for property "%s" ' , 'Visibility changed for property "propOne" ' ],
69
71
];
70
72
}
71
73
}
You can’t perform that action at this time.
0 commit comments