Completed
Push — master ( d28e66...282d86 )
by Daniel
01:18
created
tests/php-unit/ComposerPackagesListingTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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, true);
39 39
         $this->assertArrayHasKey('Aging', $actual['phpunit/phpunit']);
40 40
     }
Please login to merge, or discard this patch.
ComposerPackagesListing.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             'Machine Type'                  => php_uname('m'),
69 69
             'Operating System Architecture' => $knownValues[php_uname('m')],
70 70
             'Operating System Name'         => php_uname('s'),
71
-            'Operating System Version'      => php_uname('r') . ' ' . php_uname('v'),
71
+            'Operating System Version'      => php_uname('r').' '.php_uname('v'),
72 72
         ];
73 73
     }
74 74
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             'Url'              => 'https://github.com/php/php-src',
95 95
             'Vendor'           => 'The PHP Group',
96 96
             'Version'          => PHP_VERSION,
97
-            'Version no.'      => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION,
97
+            'Version no.'      => PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION.'.'.PHP_RELEASE_VERSION,
98 98
         ];
99 99
     }
100 100
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     protected function getFileModifiedTimestampOfFile($fileName, $format = 'Y-m-d H:i:s', $resultInUtc = false)
110 110
     {
111 111
         if (!file_exists($fileName)) {
112
-            return ['error' => $fileName . ' was not found'];
112
+            return ['error' => $fileName.' was not found'];
113 113
         }
114 114
         $info = new \SplFileInfo($fileName);
115 115
         if ($format === 'PHPtime') {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     protected function getPackageDetailsFromGivenComposerLockFile($fileToRead, $devInstead = false)
132 132
     {
133 133
         if (!file_exists($fileToRead)) {
134
-            return ['error' => $fileToRead . ' was not found'];
134
+            return ['error' => $fileToRead.' was not found'];
135 135
         }
136 136
         $dNA      = '---';
137 137
         $alnfo    = [];
Please login to merge, or discard this patch.