@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | { |
46 | 46 | if (!property_exists($this, 'target') || !is_object($this->target)) { |
47 | 47 | throw new \PHPUnit_Framework_Exception( |
48 | - self::class . ': ' . static::class |
|
48 | + self::class.': '.static::class |
|
49 | 49 | . ' must define the property $target and its value must be an object.' |
50 | 50 | ); |
51 | 51 | } |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | if (!is_array($attributes)) { |
57 | 57 | throw new \PHPUnit_Framework_Exception( |
58 | - self::class . ': ' . static::class . ': Invalid format of attributes. Must be an array of attribute => value pairs.' |
|
58 | + self::class.': '.static::class.': Invalid format of attributes. Must be an array of attribute => value pairs.' |
|
59 | 59 | ); |
60 | 60 | } |
61 | 61 | |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | { |
67 | 67 | if (!property_exists($this, 'attributes')) { |
68 | 68 | throw new \PHPUnit_Framework_Exception( |
69 | - self::class . ': ' . static::class |
|
69 | + self::class.': '.static::class |
|
70 | 70 | . ' must define the property $attributes with an array of attribute => value pairs.' |
71 | 71 | ); |
72 | 72 | } |
@@ -80,7 +80,7 @@ |
||
80 | 80 | protected function failureDescription($other): string |
81 | 81 | { |
82 | 82 | $name = $other instanceof \ReflectionClass ? $other->getName() : (is_string($other) ? $other : get_class($other)); |
83 | - return $name . ' ' . $this->toString(); |
|
83 | + return $name.' '.$this->toString(); |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | protected function additionalFailureDescription($other): string |
@@ -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 |
@@ -110,7 +110,7 @@ |
||
110 | 110 | |
111 | 111 | protected function failureDescription($other): string |
112 | 112 | { |
113 | - return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)) . ' ' . $this->toString(); |
|
113 | + return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)).' '.$this->toString(); |
|
114 | 114 | } |
115 | 115 | |
116 | 116 | 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 | ); |
@@ -4,10 +4,10 @@ discard block |
||
4 | 4 | |
5 | 5 | use PHPUnit\Framework\TestCase; |
6 | 6 | 'modules' => array_merge( |
7 | - include_once __DIR__.'/../../../config/common.modules.php', |
|
8 | - array( |
|
7 | + include_once __DIR__.'/../../../config/common.modules.php', |
|
8 | + array( |
|
9 | 9 | 'Core', 'Auth', 'Jobs', 'Applications', 'Organizations' |
10 | - ) |
|
10 | + ) |
|
11 | 11 | ), |
12 | 12 | |
13 | 13 | // These are various options for the listeners attached to the ModuleManager |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | // ), |
66 | 66 | // ) |
67 | 67 | |
68 | - // Initial configuration with which to seed the ServiceManager. |
|
69 | - // Should be compatible with Zend\ServiceManager\Config. |
|
70 | - // 'service_manager' => array(), |
|
68 | + // Initial configuration with which to seed the ServiceManager. |
|
69 | + // Should be compatible with Zend\ServiceManager\Config. |
|
70 | + // 'service_manager' => array(), |
|
71 | 71 | ); |
72 | 72 | \ No newline at end of file |