Completed
Push — master ( 0cf574...7325fd )
by Daniel
01:58
created
ComposerPackagesListing.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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    = [];
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);
39 39
         $this->assertArrayHasKey('Aging', $actual['phpunit/phpunit']);
40 40
     }
Please login to merge, or discard this patch.