|
1 | 1 | parameters:
|
2 | 2 | ignoreErrors:
|
3 | 3 | -
|
4 |
| - message: "#^PHPDoc tag @mixin contains generic class Illuminate\\\\Database\\\\Eloquent\\\\Collection but does not specify its types\\: TKey, TModel$#" |
| 4 | + message: '#^Trait Soyhuce\\EloquentExtended\\Concerns\\LoadsAttributes is used zero times and is not analysed\.$#' |
| 5 | + identifier: trait.unused |
5 | 6 | count: 1
|
6 |
| - path: src/Mixins/CollectionMixin.php |
| 7 | + path: src/Concerns/LoadsAttributes.php |
7 | 8 |
|
8 | 9 | -
|
9 |
| - message: "#^Call to protected method addTimestampsToUpsertValues\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#" |
| 10 | + message: '#^Call to protected method addTimestampsToUpsertValues\(\) of class Illuminate\\Database\\Eloquent\\Builder\<TModel of Illuminate\\Database\\Eloquent\\Model\>\.$#' |
| 11 | + identifier: method.protected |
10 | 12 | count: 2
|
11 | 13 | path: src/Mixins/Creation.php
|
12 | 14 |
|
13 | 15 | -
|
14 |
| - message: "#^PHPDoc tag @mixin contains generic class Illuminate\\\\Database\\\\Eloquent\\\\Builder but does not specify its types\\: TModelClass$#" |
| 16 | + message: '#^Parameter \#1 \$builder of method Illuminate\\Database\\Eloquent\\Scope\:\:apply\(\) expects Illuminate\\Database\\Eloquent\\Builder, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Misc\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#' |
| 17 | + identifier: argument.type |
15 | 18 | count: 1
|
16 | 19 | path: src/Mixins/Misc.php
|
17 | 20 |
|
18 | 21 | -
|
19 |
| - message: "#^Parameter \\#1 \\$builder of method Illuminate\\\\Database\\\\Eloquent\\\\Scope\\:\\:apply\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Misc\\) given\\.$#" |
20 |
| - count: 1 |
21 |
| - path: src/Mixins/Misc.php |
22 |
| - |
23 |
| - - |
24 |
| - message: "#^Call to protected method callScope\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<mixed\\>\\.$#" |
| 22 | + message: '#^Call to protected method callScope\(\) of class Illuminate\\Database\\Eloquent\\Builder\<mixed\>\.$#' |
| 23 | + identifier: method.protected |
25 | 24 | count: 1
|
26 | 25 | path: src/Mixins/Ordering.php
|
27 | 26 |
|
28 | 27 | -
|
29 |
| - message: "#^Call to protected method getRelationWithoutConstraints\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#" |
| 28 | + message: '#^Call to protected method getRelationWithoutConstraints\(\) of class Illuminate\\Database\\Eloquent\\Builder\<TModel of Illuminate\\Database\\Eloquent\\Model\>\.$#' |
| 29 | + identifier: method.protected |
30 | 30 | count: 1
|
31 | 31 | path: src/Mixins/Ordering.php
|
32 | 32 |
|
33 | 33 | -
|
34 |
| - message: "#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\:\\:orderByAggregate\\(\\) invoked with 5 parameters, 0 required\\.$#" |
| 34 | + message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByAggregate\(\) invoked with 5 parameters, 0 required\.$#' |
| 35 | + identifier: arguments.count |
35 | 36 | count: 5
|
36 | 37 | path: src/Mixins/Ordering.php
|
37 | 38 |
|
38 | 39 | -
|
39 |
| - message: "#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\:\\:orderByCount\\(\\) invoked with 3 parameters, 0 required\\.$#" |
| 40 | + message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByCount\(\) invoked with 3 parameters, 0 required\.$#' |
| 41 | + identifier: arguments.count |
40 | 42 | count: 1
|
41 | 43 | path: src/Mixins/Ordering.php
|
42 | 44 |
|
43 | 45 | -
|
44 |
| - message: "#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\:\\:orderByExists\\(\\) invoked with 3 parameters, 0 required\\.$#" |
| 46 | + message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByExists\(\) invoked with 3 parameters, 0 required\.$#' |
| 47 | + identifier: arguments.count |
45 | 48 | count: 1
|
46 | 49 | path: src/Mixins/Ordering.php
|
47 | 50 |
|
48 | 51 | -
|
49 |
| - message: "#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\:\\:orderByMax\\(\\) invoked with 4 parameters, 0 required\\.$#" |
| 52 | + message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByMax\(\) invoked with 4 parameters, 0 required\.$#' |
| 53 | + identifier: arguments.count |
50 | 54 | count: 1
|
51 | 55 | path: src/Mixins/Ordering.php
|
52 | 56 |
|
53 | 57 | -
|
54 |
| - message: "#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\:\\:orderByMin\\(\\) invoked with 4 parameters, 0 required\\.$#" |
| 58 | + message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderByMin\(\) invoked with 4 parameters, 0 required\.$#' |
| 59 | + identifier: arguments.count |
55 | 60 | count: 1
|
56 | 61 | path: src/Mixins/Ordering.php
|
57 | 62 |
|
58 | 63 | -
|
59 |
| - message: "#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\:\\:orderBySum\\(\\) invoked with 4 parameters, 0 required\\.$#" |
| 64 | + message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:orderBySum\(\) invoked with 4 parameters, 0 required\.$#' |
| 65 | + identifier: arguments.count |
60 | 66 | count: 1
|
61 | 67 | path: src/Mixins/Ordering.php
|
62 | 68 |
|
63 | 69 | -
|
64 |
| - message: "#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\:\\:preventInvalidDirection\\(\\) invoked with 1 parameter, 0 required\\.$#" |
| 70 | + message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:preventInvalidDirection\(\) invoked with 1 parameter, 0 required\.$#' |
| 71 | + identifier: arguments.count |
65 | 72 | count: 3
|
66 | 73 | path: src/Mixins/Ordering.php
|
67 | 74 |
|
68 | 75 | -
|
69 |
| - message: "#^PHPDoc tag @mixin contains generic class Illuminate\\\\Database\\\\Eloquent\\\\Builder but does not specify its types\\: TModelClass$#" |
70 |
| - count: 1 |
71 |
| - path: src/Mixins/Ordering.php |
72 |
| - |
73 |
| - - |
74 |
| - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\|null given\\.$#" |
| 76 | + message: '#^Parameter \#1 \$value of function count expects array\|Countable, array\|null given\.$#' |
| 77 | + identifier: argument.type |
75 | 78 | count: 1
|
76 | 79 | path: src/Mixins/Ordering.php
|
77 | 80 |
|
78 | 81 | -
|
79 |
| - message: "#^Parameter \\#2 \\$parentQuery of method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\Relation\\<\\*\\>\\:\\:getRelationExistenceQuery\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TDeclaringModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Ordering\\) given\\.$#" |
| 82 | + message: '#^Parameter \#2 \$parentQuery of method Illuminate\\Database\\Eloquent\\Relations\\Relation\<\*,\*,\*\>\:\:getRelationExistenceQuery\(\) expects Illuminate\\Database\\Eloquent\\Builder\<mixed\>, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Ordering\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#' |
| 83 | + identifier: argument.type |
80 | 84 | count: 1
|
81 | 85 | path: src/Mixins/Ordering.php
|
82 | 86 |
|
83 | 87 | -
|
84 |
| - message: "#^Property Illuminate\\\\Database\\\\Query\\\\Builder\\:\\:\\$orders \\(array\\) does not accept null\\.$#" |
| 88 | + message: '#^Parameter \#3 \$columns of method Illuminate\\Database\\Eloquent\\Relations\\Relation\<\*,\*,\*\>\:\:getRelationExistenceQuery\(\) expects array\<model property of never\>\|model property of never, Illuminate\\Database\\Query\\Expression given\.$#' |
| 89 | + identifier: argument.type |
85 | 90 | count: 1
|
86 | 91 | path: src/Mixins/Ordering.php
|
87 | 92 |
|
88 | 93 | -
|
89 |
| - message: "#^PHPDoc tag @mixin contains generic class Illuminate\\\\Database\\\\Eloquent\\\\Builder but does not specify its types\\: TModelClass$#" |
90 |
| - count: 1 |
91 |
| - path: src/Mixins/Result.php |
92 |
| - |
93 |
| - - |
94 |
| - message: "#^Anonymous function should return Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Select but returns Closure\\.$#" |
| 94 | + message: '#^Anonymous function should return Soyhuce\\EloquentExtended\\Mixins\\Select but returns Closure\.$#' |
| 95 | + identifier: return.type |
95 | 96 | count: 2
|
96 | 97 | path: src/Mixins/Select.php
|
97 | 98 |
|
98 | 99 | -
|
99 |
| - message: "#^Binary operation \"\\.\" between Illuminate\\\\Database\\\\Query\\\\Expression\\|string and '\\.\\*' results in an error\\.$#" |
| 100 | + message: '#^Binary operation "\." between Illuminate\\Database\\Query\\Expression\|string and ''\.\*'' results in an error\.$#' |
| 101 | + identifier: binaryOp.invalid |
100 | 102 | count: 1
|
101 | 103 | path: src/Mixins/Select.php
|
102 | 104 |
|
103 | 105 | -
|
104 |
| - message: "#^Call to protected method callScope\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<mixed\\>\\.$#" |
| 106 | + message: '#^Call to protected method callScope\(\) of class Illuminate\\Database\\Eloquent\\Builder\<mixed\>\.$#' |
| 107 | + identifier: method.protected |
105 | 108 | count: 1
|
106 | 109 | path: src/Mixins/Select.php
|
107 | 110 |
|
108 | 111 | -
|
109 |
| - message: "#^Call to protected method getRelationWithoutConstraints\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#" |
| 112 | + message: '#^Call to protected method getRelationWithoutConstraints\(\) of class Illuminate\\Database\\Eloquent\\Builder\<TModel of Illuminate\\Database\\Eloquent\\Model\>\.$#' |
| 113 | + identifier: method.protected |
110 | 114 | count: 1
|
111 | 115 | path: src/Mixins/Select.php
|
112 | 116 |
|
113 | 117 | -
|
114 |
| - message: "#^Call to protected method parseWithRelations\\(\\) of class Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\.$#" |
| 118 | + message: '#^Call to protected method parseWithRelations\(\) of class Illuminate\\Database\\Eloquent\\Builder\<TModel of Illuminate\\Database\\Eloquent\\Model\>\.$#' |
| 119 | + identifier: method.protected |
115 | 120 | count: 1
|
116 | 121 | path: src/Mixins/Select.php
|
117 | 122 |
|
118 | 123 | -
|
119 |
| - message: "#^Method Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Select\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:withAggregateFunction\\(\\) invoked with 2 parameters, 0 required\\.$#" |
| 124 | + message: '#^Method Soyhuce\\EloquentExtended\\Mixins\\Select\<TModel of Illuminate\\Database\\Eloquent\\Model\>\:\:withAggregateFunction\(\) invoked with 2 parameters, 0 required\.$#' |
| 125 | + identifier: arguments.count |
120 | 126 | count: 2
|
121 | 127 | path: src/Mixins/Select.php
|
122 | 128 |
|
123 | 129 | -
|
124 |
| - message: "#^Parameter \\#1 \\$query of method Soyhuce\\\\EloquentExtended\\\\Aggregates\\\\Contracts\\\\AggregateFunction\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:apply\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Select\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\) given\\.$#" |
| 130 | + message: '#^PHPDoc tag @param has invalid value \(\\Soyhuce\\EloquentExtended\\Aggregates\\Contracts\\AggregateFunction\<TModel\>\)\: Unexpected token "\\n ", expected variable at offset 167 on line 3$#' |
| 131 | + identifier: phpDoc.parseError |
| 132 | + count: 1 |
| 133 | + path: src/Mixins/Select.php |
| 134 | + |
| 135 | + - |
| 136 | + message: '#^Parameter \#1 \$query of method Soyhuce\\EloquentExtended\\Aggregates\\Contracts\\AggregateFunction\<Illuminate\\Database\\Eloquent\\Model\>\:\:apply\(\) expects Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\>, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Select\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#' |
| 137 | + identifier: argument.type |
125 | 138 | count: 1
|
126 | 139 | path: src/Mixins/Select.php
|
127 | 140 |
|
128 | 141 | -
|
129 |
| - message: "#^Parameter \\#1 \\$query of method Soyhuce\\\\EloquentExtended\\\\Aggregates\\\\Contracts\\\\MultiRelationAggregate\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:enclose\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Select\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\) given\\.$#" |
| 142 | + message: '#^Parameter \#1 \$query of method Soyhuce\\EloquentExtended\\Aggregates\\Contracts\\MultiRelationAggregate\<Illuminate\\Database\\Eloquent\\Model\>\:\:enclose\(\) expects Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\>, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Select\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#' |
| 143 | + identifier: argument.type |
130 | 144 | count: 1
|
131 | 145 | path: src/Mixins/Select.php
|
132 | 146 |
|
133 | 147 | -
|
134 |
| - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\|null given\\.$#" |
| 148 | + message: '#^Parameter \#1 \$value of function count expects array\|Countable, array\|null given\.$#' |
| 149 | + identifier: argument.type |
135 | 150 | count: 1
|
136 | 151 | path: src/Mixins/Select.php
|
137 | 152 |
|
138 | 153 | -
|
139 |
| - message: "#^Parameter \\#1 \\$value of static method Illuminate\\\\Support\\\\Str\\:\\:snake\\(\\) expects string, string\\|null given\\.$#" |
| 154 | + message: '#^Parameter \#1 \$value of static method Illuminate\\Support\\Str\:\:snake\(\) expects string, string\|null given\.$#' |
| 155 | + identifier: argument.type |
140 | 156 | count: 1
|
141 | 157 | path: src/Mixins/Select.php
|
142 | 158 |
|
143 | 159 | -
|
144 |
| - message: "#^Parameter \\#2 \\$parentQuery of method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\Relation\\<\\*\\>\\:\\:getRelationExistenceQuery\\(\\) expects Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<TDeclaringModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>, \\$this\\(Soyhuce\\\\EloquentExtended\\\\Mixins\\\\Select\\<TModelClass of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\) given\\.$#" |
| 160 | + message: '#^Parameter \#2 \$parentQuery of method Illuminate\\Database\\Eloquent\\Relations\\Relation\<\*,\*,\*\>\:\:getRelationExistenceQuery\(\) expects Illuminate\\Database\\Eloquent\\Builder\<mixed\>, \$this\(Soyhuce\\EloquentExtended\\Mixins\\Select\<TModel of Illuminate\\Database\\Eloquent\\Model\>\) given\.$#' |
| 161 | + identifier: argument.type |
145 | 162 | count: 1
|
146 | 163 | path: src/Mixins/Select.php
|
147 | 164 |
|
148 | 165 | -
|
149 |
| - message: "#^Property Illuminate\\\\Database\\\\Query\\\\Builder\\:\\:\\$orders \\(array\\) does not accept null\\.$#" |
| 166 | + message: '#^Parameter \#3 \$columns of method Illuminate\\Database\\Eloquent\\Relations\\Relation\<\*,\*,\*\>\:\:getRelationExistenceQuery\(\) expects array\<model property of never\>\|model property of never, Illuminate\\Database\\Query\\Expression given\.$#' |
| 167 | + identifier: argument.type |
150 | 168 | count: 1
|
151 | 169 | path: src/Mixins/Select.php
|
152 | 170 |
|
0 commit comments