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
* 7.3:
[HttpClient] Fix ever growing $maxHostConnections
Fix typo
[DependencyInjection] Fix referencing build-time array parameters
cs fix
[FrameworkBundle] Fix cache:pool:prune exit code on failure
[Form] Always normalize CRLF and CR to LF in `TextareaType`
[Cache] Fix stampede protection when forcing item recomputation
[Console] Fix EofShortcut instruction when using a modern terminal on Windows
[Console] Do not call non-static method via class-name
[Console] Fix choice autocomplete issue when string has spaces
Update SameOriginCsrfTokenManager.php
[Serializer] Fix inconsistent field naming from accessors when using groups
[Finder] Fix converting unanchored glob patterns to regex
thrownewMappingException(\sprintf('Groups on "%s::%s()" cannot be added. Groups can only be added on methods beginning with "get", "is", "has" or "set".', $className, $method->name));
177
+
thrownewMappingException(\sprintf('Groups on "%s::%s()" cannot be added. Groups can only be added on methods beginning with "get", "is", "has", "can" or "set".', $className, $method->name));
162
178
}
163
179
164
180
foreach ($attribute->groupsas$group) {
165
181
$attributeMetadata->addGroup($group);
166
182
}
167
183
} elseif ($attributeinstanceof MaxDepth) {
168
184
if (!$accessorOrMutator) {
169
-
thrownewMappingException(\sprintf('MaxDepth on "%s::%s()" cannot be added. MaxDepth can only be added on methods beginning with "get", "is", "has" or "set".', $className, $method->name));
185
+
thrownewMappingException(\sprintf('MaxDepth on "%s::%s()" cannot be added. MaxDepth can only be added on methods beginning with "get", "is", "has", "can" or "set".', $className, $method->name));
thrownewMappingException(\sprintf('SerializedName on "%s::%s()" cannot be added. SerializedName can only be added on methods beginning with "get", "is", "has" or "set".', $className, $method->name));
191
+
thrownewMappingException(\sprintf('SerializedName on "%s::%s()" cannot be added. SerializedName can only be added on methods beginning with "get", "is", "has", "can" or "set".', $className, $method->name));
thrownewMappingException(\sprintf('SerializedPath on "%s::%s()" cannot be added. SerializedPath can only be added on methods beginning with "get", "is", "has" or "set".', $className, $method->name));
197
+
thrownewMappingException(\sprintf('SerializedPath on "%s::%s()" cannot be added. SerializedPath can only be added on methods beginning with "get", "is", "has", "can" or "set".', $className, $method->name));
@@ -188,7 +204,7 @@ private function doLoadClassMetadata(\ReflectionClass $reflectionClass, ClassMet
188
204
}
189
205
} elseif ($attributeinstanceof Context) {
190
206
if (!$accessorOrMutator) {
191
-
thrownewMappingException(\sprintf('Context on "%s::%s()" cannot be added. Context can only be added on methods beginning with "get", "is", "has" or "set".', $className, $method->name));
207
+
thrownewMappingException(\sprintf('Context on "%s::%s()" cannot be added. Context can only be added on methods beginning with "get", "is", "has", "can" or "set".', $className, $method->name));
0 commit comments