@@ -73,13 +73,13 @@ discard block |
||
73 | 73 | public function logAssertionSuccess(AbstractAssertion $assertion, array $extra) |
74 | 74 | { |
75 | 75 | $extra = array_merge($extra, ['type' => 'assertion', 'result' => self::STATUS_PASSED]); |
76 | - $this->info(get_class($assertion) . ' - passed', $this->createExtra($extra)); |
|
76 | + $this->info(get_class($assertion).' - passed', $this->createExtra($extra)); |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | public function logAssertionFailure(Exception $e, AbstractAssertion $assertion, array $extra) |
80 | 80 | { |
81 | 81 | $extra = array_merge($extra, ['type' => 'assertion', 'result' => self::STATUS_FAILED, 'stack_trace' => $e->getTrace()]); |
82 | - $this->err(get_class($assertion) . ' - ' . $e->getMessage(), $this->createExtra($extra)); |
|
82 | + $this->err(get_class($assertion).' - '.$e->getMessage(), $this->createExtra($extra)); |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | public function createExtra($includeArray = []) |
@@ -146,9 +146,9 @@ discard block |
||
146 | 146 | { |
147 | 147 | if ($test instanceof TestCase) { |
148 | 148 | if (!$this->testName) { |
149 | - $this->setTestName(get_class($test) . '::' . $test->getName()); |
|
149 | + $this->setTestName(get_class($test).'::'.$test->getName()); |
|
150 | 150 | } |
151 | - $this->invokedTest = get_class($test) . '::' . $test->getName(); |
|
151 | + $this->invokedTest = get_class($test).'::'.$test->getName(); |
|
152 | 152 | $this->setTestStatus(self::STATUS_PASSED); |
153 | 153 | } |
154 | 154 |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | protected function getDefaultConfiguration() |
150 | 150 | { |
151 | 151 | // Choose the correct logger/listener for the version of PHPUnit being used |
152 | - $loggerClass = class_exists('PHPUnit_Framework_TestCase')?LoggerPHPUnit5::class:Logger::class; |
|
152 | + $loggerClass = class_exists('PHPUnit_Framework_TestCase') ?LoggerPHPUnit5::class : Logger::class; |
|
153 | 153 | |
154 | 154 | return [ |
155 | 155 | 'definition' => [ |
@@ -215,12 +215,12 @@ discard block |
||
215 | 215 | |
216 | 216 | $count = 0; |
217 | 217 | |
218 | - $path = realpath(__DIR__ . '/../'); |
|
218 | + $path = realpath(__DIR__.'/../'); |
|
219 | 219 | |
220 | 220 | while ($count++ < 5) { |
221 | 221 | $dir = "{$path}/configuration/"; |
222 | 222 | if (is_dir($dir)) { |
223 | - foreach (glob($dir . '*.php') as $file) { |
|
223 | + foreach (glob($dir.'*.php') as $file) { |
|
224 | 224 | $configArray = array_merge_recursive($configArray, include $file); |
225 | 225 | } |
226 | 226 | break; |