File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments