@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | 'Machine Type' => php_uname('m'), |
49 | 49 | 'Operating System Architecture' => $knownValues[php_uname('m')], |
50 | 50 | 'Operating System Name' => php_uname('s'), |
51 | - 'Operating System Version' => php_uname('r') . ' ' . php_uname('v'), |
|
51 | + 'Operating System Version' => php_uname('r').' '.php_uname('v'), |
|
52 | 52 | ]; |
53 | 53 | } |
54 | 54 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | 'Url' => 'https://github.com/php/php-src', |
76 | 76 | 'Vendor' => 'The PHP Group', |
77 | 77 | 'Version' => PHP_VERSION, |
78 | - 'Version no.' => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION, |
|
78 | + 'Version no.' => PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION.'.'.PHP_RELEASE_VERSION, |
|
79 | 79 | ]; |
80 | 80 | } |
81 | 81 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | protected function getFileModifiedTimestampOfFile($fileName, $resultInUtcTimeZone = false) |
89 | 89 | { |
90 | 90 | if (!file_exists($fileName)) { |
91 | - return ['error' => $fileToRead . ' was not found']; |
|
91 | + return ['error' => $fileToRead.' was not found']; |
|
92 | 92 | } |
93 | 93 | $info = new \SplFileInfo($fileName); |
94 | 94 | $sResult = date('Y-m-d H:i:s', $info->getMTime()); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | protected function getPackageDetailsFromGivenComposerLockFile($fileToRead) |
108 | 108 | { |
109 | 109 | if (!file_exists($fileToRead)) { |
110 | - return ['error' => $fileToRead . ' was not found']; |
|
110 | + return ['error' => $fileToRead.' was not found']; |
|
111 | 111 | } |
112 | 112 | $dNA = '---'; |
113 | 113 | $alnfo = []; |
@@ -34,7 +34,7 @@ |
||
34 | 34 | |
35 | 35 | public function testGetPackageDetailsFromGivenComposerLockFile() |
36 | 36 | { |
37 | - $fileToCheck = str_replace('tests' . DIRECTORY_SEPARATOR . 'php-unit', '', realpath(__DIR__)) . 'composer.lock'; |
|
37 | + $fileToCheck = str_replace('tests'.DIRECTORY_SEPARATOR.'php-unit', '', realpath(__DIR__)).'composer.lock'; |
|
38 | 38 | $actual = $this->getPackageDetailsFromGivenComposerLockFile($fileToCheck); |
39 | 39 | $this->assertArrayHasKey('Aging', $actual['phpunit/phpunit']); |
40 | 40 | } |