Skip to content

Commit

Permalink
Update baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Nov 27, 2024
1 parent 14e7dc7 commit ec7bca5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,24 @@ parameters:
count: 1
path: src/Entity/AuditRecordRepository.php

-
message: '#^Method App\\Entity\\PackageRepository\:\:getSuggestCount\(\) should return int\<0, max\> but returns int\.$#'
identifier: return.type
count: 1
path: src/Entity/PackageRepository.php

-
message: '#^Query error\: Unknown column ''d\.total'' in ''order clause'' \(1054\)\.$#'
identifier: dba.syntaxError
count: 1
path: src/Entity/PackageRepository.php

-
message: '#^Method App\\Entity\\PhpStatRepository\:\:getStatVersions\(\) should return list\<array\{version\: string, depth\: 0\|1\|2\|3\}\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 1
path: src/Entity/PhpStatRepository.php

-
message: '#^Offset ''name'' on array\{name\: string, description\?\: string\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
Expand Down
1 change: 1 addition & 0 deletions phpstan-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
$config->stringifyTypes(false);
// $config->analyzeQueryPlans(true);
// $config->debugMode(true);
// $config->utilizeSqlAst(true); // requires sqlftw/sqlftw

(new Dotenv())->bootEnv(__DIR__ . '/.env');
$dsn = parse_url($_SERVER['DATABASE_URL']);
Expand Down

0 comments on commit ec7bca5

Please sign in to comment.