Skip to content

Commit 63912e8

Browse files
committed
Fix CS
1 parent a7a37d9 commit 63912e8

File tree

5 files changed

+23
-26
lines changed

5 files changed

+23
-26
lines changed

Diff for: src/Response.php

-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ public static function fromJson(array $json): self
6565
return $response;
6666
}
6767

68-
/**
69-
* @return mixed
70-
*/
7168
#[\ReturnTypeWillChange]
7269
public function jsonSerialize()
7370
{

Diff for: tests/Configurator/AddLinesConfiguratorTest.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function testLinesAddedAfterTarget()
142142
143143
// enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)
144144
.enableStimulusBridge('./assets/controllers.json')
145-
EOF
145+
EOF,
146146
],
147147
]);
148148

@@ -191,7 +191,7 @@ public function testSkippedIfTargetCannotBeFound()
191191
'content' => <<<EOF
192192
193193
// some new line
194-
EOF
194+
EOF,
195195
],
196196
]);
197197

@@ -375,7 +375,7 @@ public function getUnconfigureTests()
375375
import * as Turbo from '@hotwired/turbo';
376376
377377
console.log(Turbo);
378-
EOF
378+
EOF,
379379
];
380380

381381
yield 'found_top' => [
@@ -391,7 +391,7 @@ public function getUnconfigureTests()
391391
import './bootstrap';
392392
393393
console.log(Turbo);
394-
EOF
394+
EOF,
395395
];
396396

397397
yield 'found_bottom' => [
@@ -407,7 +407,7 @@ public function getUnconfigureTests()
407407
import * as Turbo from '@hotwired/turbo';
408408
import './bootstrap';
409409
410-
EOF
410+
EOF,
411411
];
412412

413413
yield 'not_found' => [
@@ -424,7 +424,7 @@ public function getUnconfigureTests()
424424
import './bootstrap';
425425
426426
console.log(Turbo);
427-
EOF
427+
EOF,
428428
];
429429

430430
yield 'found_twice_in_file' => [
@@ -442,7 +442,7 @@ public function getUnconfigureTests()
442442
import './bootstrap';
443443
444444
console.log(Turbo);
445-
EOF
445+
EOF,
446446
];
447447
}
448448

@@ -535,7 +535,7 @@ public function getUpdateTests()
535535
console.log('bootstrap.js');
536536
537537
console.log('on the bottom');
538-
EOF
538+
EOF,
539539
],
540540
];
541541

Diff for: tests/Update/DiffHelperTest.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function getRemoveFilesFromPatchTests(): iterable
118118
-# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
119119
-# For a PostgreSQL database, use: "postgresql://db_user:[email protected]:5432/db_name?serverVersion=11&charset=utf8"
120120
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
121-
EOF
121+
EOF,
122122
],
123123
];
124124

@@ -169,7 +169,7 @@ public function getRemoveFilesFromPatchTests(): iterable
169169
+ #server_version: '13'
170170
orm:
171171
auto_generate_proxy_classes: true
172-
EOF
172+
EOF,
173173
],
174174
];
175175

@@ -220,7 +220,7 @@ public function getRemoveFilesFromPatchTests(): iterable
220220
+ dbal:
221221
+ # "TEST_TOKEN" is typically set by ParaTest
222222
+ dbname_suffix: '_test%env(default::TEST_TOKEN)%'
223-
EOF
223+
EOF,
224224
],
225225
];
226226

@@ -273,7 +273,7 @@ public function getRemoveFilesFromPatchTests(): iterable
273273
+ #server_version: '13'
274274
orm:
275275
auto_generate_proxy_classes: true
276-
EOF
276+
EOF,
277277
],
278278
];
279279

@@ -328,7 +328,7 @@ public function getRemoveFilesFromPatchTests(): iterable
328328
- type: pool
329329
- pool: doctrine.system_cache_pool
330330
query_cache_driver:
331-
EOF
331+
EOF,
332332
],
333333
];
334334
}

Diff for: tests/Update/RecipePatcherTest.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function getGeneratePatchTests(): iterable
103103
\ No newline at end of file
104104
+Updated file2
105105
\ No newline at end of file
106-
EOF
106+
EOF,
107107
];
108108

109109
yield 'file_created_in_update_because_missing' => [
@@ -118,7 +118,7 @@ public function getGeneratePatchTests(): iterable
118118
@@ -0,0 +1 @@
119119
+New file
120120
\ No newline at end of file
121-
EOF
121+
EOF,
122122
];
123123

124124
yield 'file_created_in_update_because_null' => [
@@ -133,7 +133,7 @@ public function getGeneratePatchTests(): iterable
133133
@@ -0,0 +1 @@
134134
+New file
135135
\ No newline at end of file
136-
EOF
136+
EOF,
137137
];
138138

139139
yield 'file_deleted_in_update_because_missing' => [
@@ -172,7 +172,7 @@ public function getGeneratePatchTests(): iterable
172172
+file to create
173173
\ No newline at end of file
174174
EOF
175-
,
175+
,
176176
['will_be_deleted.txt'],
177177
];
178178

@@ -491,7 +491,7 @@ private function getFilesForPatching(string $projectPath = ''): array
491491
# For an SQL-HEAVY database, use: "sqlheavy:///%kernel.project_dir%/var/data.db"
492492
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data.db
493493
###< doctrine/doctrine-bundle ###
494-
EOF
494+
EOF,
495495
],
496496

497497
// package.json
@@ -536,7 +536,7 @@ private function getFilesForPatching(string $projectPath = ''): array
536536
"@symfony/webpack-encore": "^1.7.0"
537537
}
538538
}
539-
EOF
539+
EOF,
540540
],
541541

542542
// config/packages/webpack_encore.yaml
@@ -557,7 +557,7 @@ private function getFilesForPatching(string $projectPath = ''): array
557557
output_path: '%kernel.project_dir%/public/build'
558558
# If multiple builds are defined (as shown below), you can disable the default build:
559559
# output_path: false
560-
EOF
560+
EOF,
561561
],
562562

563563
// config/packages/security.yaml

Diff for: tests/bootstrap.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
define('FLEX_TEST_DIR', dirname(__DIR__).'/build');
66

77
if (is_dir($buildDir = FLEX_TEST_DIR)) {
8-
$files = new \RecursiveIteratorIterator(
9-
new \RecursiveDirectoryIterator($buildDir, \RecursiveDirectoryIterator::SKIP_DOTS),
10-
\RecursiveIteratorIterator::CHILD_FIRST
8+
$files = new RecursiveIteratorIterator(
9+
new RecursiveDirectoryIterator($buildDir, RecursiveDirectoryIterator::SKIP_DOTS),
10+
RecursiveIteratorIterator::CHILD_FIRST
1111
);
1212

1313
foreach ($files as $fileinfo) {

0 commit comments

Comments
 (0)