Skip to content

Commit b5ec948

Browse files
committed
docs: fix Commands
1 parent 76d11de commit b5ec948

File tree

2 files changed

+1
-71
lines changed

2 files changed

+1
-71
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -706,66 +706,6 @@
706706
'count' => 1,
707707
'path' => __DIR__ . '/system/Commands/Encryption/GenerateKey.php',
708708
];
709-
$ignoreErrors[] = [
710-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\CellGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
711-
'count' => 1,
712-
'path' => __DIR__ . '/system/Commands/Generators/CellGenerator.php',
713-
];
714-
$ignoreErrors[] = [
715-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\CommandGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
716-
'count' => 1,
717-
'path' => __DIR__ . '/system/Commands/Generators/CommandGenerator.php',
718-
];
719-
$ignoreErrors[] = [
720-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\ConfigGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
721-
'count' => 1,
722-
'path' => __DIR__ . '/system/Commands/Generators/ConfigGenerator.php',
723-
];
724-
$ignoreErrors[] = [
725-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\ControllerGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
726-
'count' => 1,
727-
'path' => __DIR__ . '/system/Commands/Generators/ControllerGenerator.php',
728-
];
729-
$ignoreErrors[] = [
730-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\EntityGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
731-
'count' => 1,
732-
'path' => __DIR__ . '/system/Commands/Generators/EntityGenerator.php',
733-
];
734-
$ignoreErrors[] = [
735-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\FilterGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
736-
'count' => 1,
737-
'path' => __DIR__ . '/system/Commands/Generators/FilterGenerator.php',
738-
];
739-
$ignoreErrors[] = [
740-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\MigrationGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
741-
'count' => 1,
742-
'path' => __DIR__ . '/system/Commands/Generators/MigrationGenerator.php',
743-
];
744-
$ignoreErrors[] = [
745-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\ModelGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
746-
'count' => 1,
747-
'path' => __DIR__ . '/system/Commands/Generators/ModelGenerator.php',
748-
];
749-
$ignoreErrors[] = [
750-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\ScaffoldGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
751-
'count' => 1,
752-
'path' => __DIR__ . '/system/Commands/Generators/ScaffoldGenerator.php',
753-
];
754-
$ignoreErrors[] = [
755-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\SeederGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
756-
'count' => 1,
757-
'path' => __DIR__ . '/system/Commands/Generators/SeederGenerator.php',
758-
];
759-
$ignoreErrors[] = [
760-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\TestGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
761-
'count' => 1,
762-
'path' => __DIR__ . '/system/Commands/Generators/TestGenerator.php',
763-
];
764-
$ignoreErrors[] = [
765-
'message' => '#^Property CodeIgniter\\\\Commands\\\\Generators\\\\ValidationGenerator\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
766-
'count' => 1,
767-
'path' => __DIR__ . '/system/Commands/Generators/ValidationGenerator.php',
768-
];
769709
$ignoreErrors[] = [
770710
'message' => '#^Method CodeIgniter\\\\Commands\\\\ListCommands\\:\\:listFull\\(\\) has no return type specified\\.$#',
771711
'count' => 1,
@@ -9311,11 +9251,6 @@
93119251
'count' => 1,
93129252
'path' => __DIR__ . '/tests/_support/Cells/StarterCell.php',
93139253
];
9314-
$ignoreErrors[] = [
9315-
'message' => '#^Property Tests\\\\Support\\\\Commands\\\\LanguageCommand\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
9316-
'count' => 1,
9317-
'path' => __DIR__ . '/tests/_support/Commands/LanguageCommand.php',
9318-
];
93199254
$ignoreErrors[] = [
93209255
'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
93219256
'count' => 1,
@@ -9326,11 +9261,6 @@
93269261
'count' => 1,
93279262
'path' => __DIR__ . '/tests/_support/Commands/ParamsReveal.php',
93289263
];
9329-
$ignoreErrors[] = [
9330-
'message' => '#^Property Tests\\\\Support\\\\Commands\\\\Unsuffixable\\:\\:\\$params type has no value type specified in iterable type array\\.$#',
9331-
'count' => 1,
9332-
'path' => __DIR__ . '/tests/_support/Commands/Unsuffixable.php',
9333-
];
93349264
$ignoreErrors[] = [
93359265
'message' => '#^Method Tests\\\\Support\\\\Config\\\\BadRegistrar\\:\\:RegistrarConfig\\(\\) has no return type specified\\.$#',
93369266
'count' => 1,

system/CLI/GeneratorTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ trait GeneratorTrait
9696
*
9797
* @internal
9898
*
99-
* @var array
99+
* @var array<int|string, string|null>
100100
*/
101101
private $params = [];
102102

0 commit comments

Comments
 (0)