Skip to content

Commit b411094

Browse files
authored
Merge pull request #6501 from kenjis/fix-cs
[4.3] update coding style
2 parents c9eb3d5 + b2d5f79 commit b411094

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

app/Config/Security.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class Security extends BaseConfig
9494
* Defaults to `Lax` as recommended in this link:
9595
*
9696
* @see https://portswigger.net/web-security/csrf/samesite-cookies
97+
*
9798
* @deprecated `Config\Cookie` $samesite property is used.
9899
*/
99100
public string $samesite = 'Lax';

system/CLI/CLI.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ public static function promptByMultipleKeys(string $text, array $options): array
362362
return $input;
363363
}
364364

365-
//--------------------------------------------------------------------
365+
// --------------------------------------------------------------------
366366
// Utility for promptBy...
367-
//--------------------------------------------------------------------
367+
// --------------------------------------------------------------------
368368

369369
/**
370370
* Validation for $options in promptByKey() and promptByMultipleKeys(). Return an error if $options is an empty array.
@@ -390,9 +390,9 @@ private static function printKeysAndValues(array $options): void
390390
}
391391
}
392392

393-
//--------------------------------------------------------------------
393+
// --------------------------------------------------------------------
394394
// End Utility for promptBy...
395-
//--------------------------------------------------------------------
395+
// --------------------------------------------------------------------
396396

397397
/**
398398
* Validate one prompt "field" at a time

system/Router/Router.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ protected function checkRoutes(string $uri): bool
441441

442442
if ($this->collection->shouldUseSupportedLocalesOnly()
443443
&& ! in_array($matched['locale'], config('App')->supportedLocales, true)) {
444-
445444
// Throw exception to prevent the autorouter, if enabled,
446445
// from trying to find a route
447446
throw PageNotFoundException::forLocaleNotSupported($matched['locale']);

tests/system/Autoloader/AutoloaderTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ public function testAutoloaderLoadsNonClassFiles(): void
323323

324324
/**
325325
* @runInSeparateProcess
326+
*
326327
* @preserveGlobalState disabled
327328
*/
328329
public function testLoadHelpers(): void

tests/system/Entity/EntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function testCastInteger()
295295

296296
public function testCastIntBool()
297297
{
298-
$entity = new class () extends Entity {
298+
$entity = new class () extends Entity {
299299
protected $casts = [
300300
'active' => 'int-bool',
301301
];

tests/system/Models/InsertModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function testInsertPermitInsertNoData(): void
221221
'updated_at' => ['type' => 'INTEGER', 'constraint' => 11, 'null' => true],
222222
])->addKey('id', true)->createTable('insert_no_data', true);
223223

224-
$model = new class () extends Model {
224+
$model = new class () extends Model {
225225
protected $table = 'insert_no_data';
226226
protected $allowedFields = [
227227
'updated_at',

0 commit comments

Comments
 (0)