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
* 3.4:
Fix Clidumper tests
Enable the fixer enforcing fully-qualified calls for compiler-optimized functions
Apply fixers
Disable the native_constant_invocation fixer until it can be scoped
Update the list of excluded files for the CS fixer
Copy file name to clipboardExpand all lines: Constraints/AbstractComparison.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -36,17 +36,17 @@ public function __construct($options = null)
36
36
$options = array();
37
37
}
38
38
39
-
if (is_array($options)) {
39
+
if (\is_array($options)) {
40
40
if (!isset($options['value']) && !isset($options['propertyPath'])) {
41
-
thrownewConstraintDefinitionException(sprintf('The "%s" constraint requires either the "value" or "propertyPath" option to be set.', get_class($this)));
41
+
thrownewConstraintDefinitionException(sprintf('The "%s" constraint requires either the "value" or "propertyPath" option to be set.', \get_class($this)));
42
42
}
43
43
44
44
if (isset($options['value']) && isset($options['propertyPath'])) {
45
-
thrownewConstraintDefinitionException(sprintf('The "%s" constraint requires only one of the "value" or "propertyPath" options to be set, not both.', get_class($this)));
45
+
thrownewConstraintDefinitionException(sprintf('The "%s" constraint requires only one of the "value" or "propertyPath" options to be set, not both.', \get_class($this)));
46
46
}
47
47
48
48
if (isset($options['propertyPath']) && !class_exists(PropertyAccess::class)) {
49
-
thrownewConstraintDefinitionException(sprintf('The "%s" constraint requires the Symfony PropertyAccess component to use the "propertyPath" option.', get_class($this)));
49
+
thrownewConstraintDefinitionException(sprintf('The "%s" constraint requires the Symfony PropertyAccess component to use the "propertyPath" option.', \get_class($this)));
thrownewConstraintDefinitionException(sprintf('Method "%s" targeted by Callback constraint does not exist in class %s', $method, get_class($object)));
49
+
thrownewConstraintDefinitionException(sprintf('Method "%s" targeted by Callback constraint does not exist in class %s', $method, \get_class($object)));
50
50
}
51
51
52
52
$reflMethod = new \ReflectionMethod($object, $method);
0 commit comments