Skip to content

Commit

Permalink
chore: vendor/bin/phpstan analyze --generate-baseline phpstan-baselin…
Browse files Browse the repository at this point in the history
…e.php
  • Loading branch information
kenjis committed Apr 5, 2024
1 parent 93cc7b6 commit 30e9b42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@
'count' => 2,
'path' => __DIR__ . '/src/Filters/TokenAuth.php',
];
$ignoreErrors[] = [
'message' => '#^Property CodeIgniter\\\\Shield\\\\Models\\\\LoginModel\\:\\:\\$validationRules \\(list\\<string\\>\\|string\\) does not accept default value of type array\\{ip_address\\: \'required\', id_type\\: \'required\', identifier\\: \'permit_empty\\|string\', user_agent\\: \'permit_empty\\|string\', user_id\\: \'permit_empty\', date\\: \'required\'\\}\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Models/LoginModel.php',
];
$ignoreErrors[] = [
'message' => '#^Call to deprecated function random_string\\(\\)\\:
The type \'basic\', \'md5\', and \'sha1\' are deprecated\\. They are not cryptographically secure\\.$#',
Expand Down

0 comments on commit 30e9b42

Please sign in to comment.