Completed
Push — master ( 7325fd...d28e66 )
by Daniel
02:04
created
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
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
             'Url'              => 'https://github.com/php/php-src',
96 96
             'Vendor'           => 'The PHP Group',
97 97
             'Version'          => PHP_VERSION,
98
-            'Version no.'      => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION,
98
+            'Version no.'      => PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION.'.'.PHP_RELEASE_VERSION,
99 99
         ];
100 100
     }
101 101
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     protected function getFileModifiedTimestampOfFile($fileName, $resultInUtcTimeZone = false)
109 109
     {
110 110
         if (!file_exists($fileName)) {
111
-            return ['error' => $fileToRead . ' was not found'];
111
+            return ['error' => $fileToRead.' was not found'];
112 112
         }
113 113
         $info    = new \SplFileInfo($fileName);
114 114
         $sResult = date('Y-m-d H:i:s', $info->getMTime());
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     protected function getPackageDetailsFromGivenComposerLockFile($fileToRead, $devInstead = false)
128 128
     {
129 129
         if (!file_exists($fileToRead)) {
130
-            return ['error' => $fileToRead . ' was not found'];
130
+            return ['error' => $fileToRead.' was not found'];
131 131
         }
132 132
         $dNA      = '---';
133 133
         $alnfo    = [];
Please login to merge, or discard this patch.
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.