Skip to content

Commit 1640a60

Browse files
dependabot[bot]paulbalandan
authored andcommitted
chore(deps-dev): update friendsofphp/php-cs-fixer requirement
Updates the requirements on friendsofphp/php-cs-fixer to permit the latest version. --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 4887c2a commit 1640a60

File tree

5 files changed

+6
-16
lines changed

5 files changed

+6
-16
lines changed

admin/framework/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require-dev": {
1818
"codeigniter/coding-standard": "^1.5",
1919
"fakerphp/faker": "^1.9",
20-
"friendsofphp/php-cs-fixer": "~3.11.0",
20+
"friendsofphp/php-cs-fixer": "~3.12.0",
2121
"mikey179/vfsstream": "^1.6",
2222
"nexusphp/cs-config": "^3.6",
2323
"phpunit/phpunit": "^9.1",

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require-dev": {
1818
"codeigniter/coding-standard": "^1.5",
1919
"fakerphp/faker": "^1.9",
20-
"friendsofphp/php-cs-fixer": "~3.11.0",
20+
"friendsofphp/php-cs-fixer": "~3.12.0",
2121
"mikey179/vfsstream": "^1.6",
2222
"nexusphp/cs-config": "^3.6",
2323
"nexusphp/tachycardia": "^1.0",

tests/_support/Log/Handlers/TestHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ public function __construct(array $config)
4747
* will stop. Any handlers that have not run, yet, will not
4848
* be run.
4949
*
50-
* @param $level
51-
* @param $message
50+
* @param string $level
51+
* @param string $message
5252
*/
5353
public function handle($level, $message): bool
5454
{

tests/system/Config/MimesTest.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,8 @@ public function extensionsList()
4747

4848
/**
4949
* @dataProvider extensionsList
50-
*
51-
* @param $expected
52-
* @param $ext
53-
* @param mixed $mime
5450
*/
55-
public function testGuessExtensionFromType($expected, $mime)
51+
public function testGuessExtensionFromType(?string $expected, string $mime)
5652
{
5753
$this->assertSame($expected, Mimes::guessExtensionFromType($mime));
5854
}
@@ -85,11 +81,8 @@ public function mimesList()
8581

8682
/**
8783
* @dataProvider mimesList
88-
*
89-
* @param mixed $expected
90-
* @param mixed $ext
9184
*/
92-
public function testGuessTypeFromExtension($expected, $ext)
85+
public function testGuessTypeFromExtension(?string $expected, string $ext)
9386
{
9487
$this->assertSame($expected, Mimes::guessTypeFromExtension($ext));
9588
}

tests/system/Validation/FormatRulesTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,6 @@ public function stringProvider(): Generator
411411

412412
/**
413413
* @dataProvider alphaProvider
414-
*
415-
* @param $str
416-
* @param $expected
417414
*/
418415
public function testAlpha(?string $str, bool $expected): void
419416
{

0 commit comments

Comments
 (0)