Passed
Pull Request — master (#3)
by Koldo
02:38
created
src/Template/ComposerJson.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,12 +63,12 @@
 block discarded – undo
63 63
                 '{(^\s*+")App(\\\\\\\\":\s.*$\n)}m',
64 64
                 '{(^\s*+")App(\\\\\\\\Test\\\\\\\\":\s.*$\n)}m',
65 65
             ],
66
-            '$1' . $namespace . '$2',
66
+            '$1'.$namespace.'$2',
67 67
             $contents,
68 68
             1
69 69
         );
70 70
 
71
-        file_put_contents($installationPath . '/composer.json', $contents);
71
+        file_put_contents($installationPath.'/composer.json', $contents);
72 72
 
73 73
         $this->runInstall->exec(sprintf(
74 74
             'cd %s && rm -rf vendor/ composer.lock && composer install  --ansi',
Please login to merge, or discard this patch.
src/Template/CommonFileStructure.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     protected function removeCommunityFiles(string $installationPath): void
67 67
     {
68 68
         foreach (self::COMMUNITY_FILES as $fileToDelete) {
69
-            $filePath = $installationPath . $fileToDelete;
69
+            $filePath = $installationPath.$fileToDelete;
70 70
             if (file_exists($filePath)) {
71 71
                 unlink($filePath);
72 72
             }
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         );
54 54
 
55 55
         $installationPath = $this->installationPathQuestion->ask(
56
-            dirname($this->composer->getInstallationManager()->getInstallPath($package), 3) . '/'
56
+            dirname($this->composer->getInstallationManager()->getInstallPath($package), 3).'/'
57 57
         );
58 58
 
59 59
         $installer->install($installationPath);
Please login to merge, or discard this patch.