@@ -81,7 +81,7 @@ |
||
81 | 81 | |
82 | 82 | protected function failureDescription($other): string |
83 | 83 | { |
84 | - return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)) . ' ' . $this->toString(); |
|
84 | + return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)).' '.$this->toString(); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | protected function additionalFailureDescription($other): string |
@@ -63,7 +63,7 @@ |
||
63 | 63 | |
64 | 64 | $reflection = new \ReflectionClass($this->class); |
65 | 65 | $args = array_map( |
66 | - function ($arg) use ($container) { |
|
66 | + function($arg) use ($container) { |
|
67 | 67 | return is_string($arg) && 0 === strpos($arg, '@') ? $container->get(substr($arg, 1)) : $arg; |
68 | 68 | }, |
69 | 69 | $this->args |
@@ -175,7 +175,7 @@ |
||
175 | 175 | $methodName, |
176 | 176 | '*' == $name ? '' : $name, |
177 | 177 | $count, |
178 | - null === $options ? '' : ' with options hash ' . $optHash, |
|
178 | + null === $options ? '' : ' with options hash '.$optHash, |
|
179 | 179 | $actual |
180 | 180 | ) |
181 | 181 | ); |
@@ -72,7 +72,7 @@ |
||
72 | 72 | ->getMock(); |
73 | 73 | $translator->expects($this->once()) |
74 | 74 | ->method('translate') |
75 | - ->with($this->callback(function ($string) { |
|
75 | + ->with($this->callback(function($string) { |
|
76 | 76 | return is_string($string); |
77 | 77 | })) |
78 | 78 | ->willReturn($expected); |
@@ -72,7 +72,7 @@ |
||
72 | 72 | ->getMock(); |
73 | 73 | $translator->expects($this->once()) |
74 | 74 | ->method('translate') |
75 | - ->with($this->callback(function ($string) { |
|
75 | + ->with($this->callback(function($string) { |
|
76 | 76 | return is_string($string); |
77 | 77 | })) |
78 | 78 | ->willReturn($expected); |
@@ -72,7 +72,7 @@ |
||
72 | 72 | ->getMock(); |
73 | 73 | $translator->expects($this->once()) |
74 | 74 | ->method('translate') |
75 | - ->with($this->callback(function ($string) { |
|
75 | + ->with($this->callback(function($string) { |
|
76 | 76 | return is_string($string); |
77 | 77 | })) |
78 | 78 | ->willReturn($expected); |
@@ -81,7 +81,7 @@ |
||
81 | 81 | |
82 | 82 | protected function failureDescription($other): string |
83 | 83 | { |
84 | - return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)) . ' ' . $this->toString(); |
|
84 | + return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)).' '.$this->toString(); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | protected function additionalFailureDescription($other): string |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | class JobEntityDependencyListener extends AbstractDependenciesListener |
27 | 27 | { |
28 | - protected $entityClasses = [ Job::class ]; |
|
28 | + protected $entityClasses = [Job::class]; |
|
29 | 29 | |
30 | 30 | protected function dependencyCheck(DependencyResultEvent $event) |
31 | 31 | { |
@@ -66,7 +66,7 @@ |
||
66 | 66 | 'attributes' => [ |
67 | 67 | 'value' => '10', // default distance |
68 | 68 | 'data-default-index' => '1', |
69 | - 'data-searchbox' => -1, // hide the search box |
|
69 | + 'data-searchbox' => -1, // hide the search box |
|
70 | 70 | 'data-allowclear' => 'false', // allow to clear a selected value |
71 | 71 | 'data-placeholder' => /*@translate*/ 'Distance', |
72 | 72 | 'data-width' => '100%', |