Completed
Push — master ( 0e78db...3af8bc )
by Marco
18s queued 11s
created
test/e2e/Command/AssertBackwardsCompatibleTest.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -121,20 +121,20 @@  discard block
 block discarded – undo
121 121
 
122 122
         unlink($this->sourcesRepository);
123 123
         mkdir($this->sourcesRepository);
124
-        mkdir($this->sourcesRepository . '/src');
124
+        mkdir($this->sourcesRepository.'/src');
125 125
 
126 126
         self::assertDirectoryExists($this->sourcesRepository);
127
-        self::assertDirectoryExists($this->sourcesRepository . '/src');
127
+        self::assertDirectoryExists($this->sourcesRepository.'/src');
128 128
 
129 129
         (new Process('git init', $this->sourcesRepository))->mustRun();
130 130
 
131
-        file_put_contents($this->sourcesRepository . '/composer.json', self::COMPOSER_MANIFEST);
131
+        file_put_contents($this->sourcesRepository.'/composer.json', self::COMPOSER_MANIFEST);
132 132
 
133 133
         (new Process('git add -A', $this->sourcesRepository))->mustRun();
134 134
         (new Process('git commit -am "Initial commit with composer manifest"', $this->sourcesRepository))->mustRun();
135 135
 
136 136
         foreach (self::CLASS_VERSIONS as $key => $classCode) {
137
-            file_put_contents($this->sourcesRepository . '/src/TheClass.php', $classCode);
137
+            file_put_contents($this->sourcesRepository.'/src/TheClass.php', $classCode);
138 138
 
139 139
             (new Process('git add -A', $this->sourcesRepository))->mustRun();
140 140
             (new Process(sprintf('git commit -am "Class sources v%d"', $key + 1), $this->sourcesRepository))->mustRun();
@@ -159,9 +159,9 @@  discard block
 block discarded – undo
159 159
     {
160 160
         $check = new Process(
161 161
             [
162
-                __DIR__ . '/../../../bin/roave-backward-compatibility-check',
163
-                '--from=' . $this->versions[0],
164
-                '--to=' . $this->versions[1],
162
+                __DIR__.'/../../../bin/roave-backward-compatibility-check',
163
+                '--from='.$this->versions[0],
164
+                '--to='.$this->versions[1],
165 165
             ],
166 166
             $this->sourcesRepository
167 167
         );
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     public function testWillNotRunWithoutTagsNorSpecifiedVersions() : void
182 182
     {
183 183
         $check = new Process(
184
-            __DIR__ . '/../../../bin/roave-backward-compatibility-check',
184
+            __DIR__.'/../../../bin/roave-backward-compatibility-check',
185 185
             $this->sourcesRepository
186 186
         );
187 187
 
@@ -196,9 +196,9 @@  discard block
 block discarded – undo
196 196
     {
197 197
         $check = new Process(
198 198
             [
199
-                __DIR__ . '/../../../bin/roave-backward-compatibility-check',
200
-                '--from=' . $this->versions[0],
201
-                '--to=' . $this->versions[3],
199
+                __DIR__.'/../../../bin/roave-backward-compatibility-check',
200
+                '--from='.$this->versions[0],
201
+                '--to='.$this->versions[3],
202 202
                 '-vvv',
203 203
             ],
204 204
             $this->sourcesRepository
@@ -219,8 +219,8 @@  discard block
 block discarded – undo
219 219
 
220 220
         $check = new Process(
221 221
             [
222
-                __DIR__ . '/../../../bin/roave-backward-compatibility-check',
223
-                '--to=' . $this->versions[2],
222
+                __DIR__.'/../../../bin/roave-backward-compatibility-check',
223
+                '--to='.$this->versions[2],
224 224
             ],
225 225
             $this->sourcesRepository
226 226
         );
@@ -248,8 +248,8 @@  discard block
 block discarded – undo
248 248
 
249 249
         $check = new Process(
250 250
             [
251
-                __DIR__ . '/../../../bin/roave-backward-compatibility-check',
252
-                '--to=' . $this->versions[2],
251
+                __DIR__.'/../../../bin/roave-backward-compatibility-check',
252
+                '--to='.$this->versions[2],
253 253
             ],
254 254
             $this->sourcesRepository
255 255
         );
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
                 'tag',
288 288
                 $tagName,
289 289
                 '-m',
290
-                'A tag for version ' . $version,
290
+                'A tag for version '.$version,
291 291
             ],
292 292
             $this->sourcesRepository
293 293
         ))->mustRun();
Please login to merge, or discard this patch.
test/unit/LocateSources/LocateSourcesViaComposerJsonTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         $reflector = new ClassReflector(
31 31
             $this->locateSources
32
-                ->__invoke(__DIR__ . '/../../asset/located-sources/composer-definition-with-everything')
32
+                ->__invoke(__DIR__.'/../../asset/located-sources/composer-definition-with-everything')
33 33
         );
34 34
 
35 35
         self::assertSame(
Please login to merge, or discard this patch.
test/unit/LocateDependencies/LocateDependenciesViaComposerTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $this->originalCwd       = $originalCwd;
51 51
         $this->composerInstaller = $this->createMock(Installer::class);
52 52
         $this->astLocator        = (new BetterReflection())->astLocator();
53
-        $this->makeInstaller     = function (string $installationPath) : Installer {
53
+        $this->makeInstaller     = function(string $installationPath) : Installer {
54 54
             self::assertSame($this->expectedInstallatonPath, $installationPath);
55 55
 
56 56
             return $this->composerInstaller;
@@ -89,13 +89,13 @@  discard block
 block discarded – undo
89 89
 
90 90
     public function testWillLocateDependencies() : void
91 91
     {
92
-        $this->expectedInstallatonPath = $this->realpath(__DIR__ . '/../../asset/composer-installation-structure');
92
+        $this->expectedInstallatonPath = $this->realpath(__DIR__.'/../../asset/composer-installation-structure');
93 93
 
94 94
         $this
95 95
             ->composerInstaller
96 96
             ->expects(self::once())
97 97
             ->method('run')
98
-            ->willReturnCallback(function () : void {
98
+            ->willReturnCallback(function() : void {
99 99
                 self::assertSame($this->expectedInstallatonPath, getcwd());
100 100
             });
101 101
 
Please login to merge, or discard this patch.
src/LocateDependencies/LocateDependenciesViaComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
     public function __invoke(string $installationPath) : SourceLocator
39 39
     {
40 40
         Assert::that($installationPath)->directory();
41
-        Assert::that($installationPath . '/composer.json')->file();
41
+        Assert::that($installationPath.'/composer.json')->file();
42 42
 
43
-        $this->runInDirectory(function () use ($installationPath) : void {
43
+        $this->runInDirectory(function() use ($installationPath) : void {
44 44
             $installer = ($this->makeComposerInstaller)($installationPath);
45 45
 
46 46
             Assert::that($installer)->isInstanceOf(Installer::class);
Please login to merge, or discard this patch.
BCBreak/ClassConstantBased/ClassConstantVisibilityReducedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         self::assertSame(
37 37
             $expectedMessages,
38
-            array_map(function (Change $change) : string {
38
+            array_map(function(Change $change) : string {
39 39
                 return $change->__toString();
40 40
             }, iterator_to_array($changes))
41 41
         );
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
         return array_combine(array_keys($properties),
114 114
             array_map(
115
-                function (string $constant, array $errorMessages) use ($fromClass, $toClass) : array {
115
+                function(string $constant, array $errorMessages) use ($fromClass, $toClass) : array {
116 116
                     return [
117 117
                         $fromClass->getReflectionConstant($constant),
118 118
                         $toClass->getReflectionConstant($constant),
Please login to merge, or discard this patch.