Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"laravel/dusk": "8.6.0",
"mockery/mockery": "1.6.12",
"phpstan/extension-installer": "1.4.3",
"phpstan/phpstan": "2.2.2",
"phpstan/phpstan": "2.2.6",
"phpstan/phpstan-deprecation-rules": "2.0.5",
"phpstan/phpstan-mockery": "2.0.0",
"phpstan/phpstan-phpunit": "2.0.16",
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 40 additions & 10 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1536,6 +1536,12 @@ parameters:
count: 1
path: app/Http/Controllers/UserController.php

-
rawMessage: 'Parameter #1 $password of function password_hash expects string, mixed given.'
identifier: argument.type
count: 1
path: app/Http/Controllers/UserController.php

-
rawMessage: 'Parameter #1 $password of function password_verify expects string, mixed given.'
identifier: argument.type
Expand Down Expand Up @@ -1794,6 +1800,18 @@ parameters:
count: 1
path: app/Http/Submission/Handlers/AbstractXmlHandler.php

-
rawMessage: 'Parameter #1 $filename of method DOMDocument::load() expects non-empty-string, string given.'
identifier: argument.type
count: 3
path: app/Http/Submission/Handlers/AbstractXmlHandler.php

-
rawMessage: 'Parameter #1 $filename of method DOMDocument::schemaValidate() expects non-empty-string, string given.'
identifier: argument.type
count: 1
path: app/Http/Submission/Handlers/AbstractXmlHandler.php

-
rawMessage: Access to an undefined property object::$details.
identifier: property.notFound
Expand Down Expand Up @@ -3099,6 +3117,12 @@ parameters:
count: 1
path: app/Http/Submission/Handlers/GcovTarHandler.php

-
rawMessage: Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
identifier: nullCoalesce.unnecessary
count: 2
path: app/Http/Submission/Handlers/GcovTarHandler.php

-
rawMessage: 'Comparison operation ">" between int<1, max> and 0 is always true.'
identifier: greater.alwaysTrue
Expand Down Expand Up @@ -5611,7 +5635,7 @@ parameters:
path: app/Utils/RepositoryUtils.php

-
rawMessage: 'Offset 1 might not exist on array{}|array{non-falsy-string, decimal-int-string}.'
rawMessage: 'Offset 1 might not exist on array{}|array{non-falsy-string, numeric-string}.'
identifier: offsetAccess.notFound
count: 1
path: app/Utils/RepositoryUtils.php
Expand Down Expand Up @@ -5881,7 +5905,7 @@ parameters:
path: app/Utils/TestCreator.php

-
rawMessage: 'Parameter #1 $string of function crc32 expects string, string|false given.'
rawMessage: 'Parameter #1 $string of function crc32 expects string, (string|false) given.'
identifier: argument.type
count: 1
path: app/Utils/TestCreator.php
Expand Down Expand Up @@ -12112,7 +12136,7 @@ parameters:
path: app/cdash/include/common.php

-
rawMessage: 'Parameter #1 $source of method DOMDocument::loadXML() expects string, string|false given.'
rawMessage: 'Parameter #1 $source of method DOMDocument::loadXML() expects non-empty-string, string|false given.'
identifier: argument.type
count: 1
path: app/cdash/include/common.php
Expand Down Expand Up @@ -15100,7 +15124,7 @@ parameters:
path: app/cdash/tests/kwtest/kw_web_tester.php

-
rawMessage: 'Offset 1 on array{non-falsy-string, decimal-int-string} in isset() always exists and is not nullable.'
rawMessage: 'Offset 1 on array{non-falsy-string, numeric-string} in isset() always exists and is not nullable.'
identifier: isset.offset
count: 1
path: app/cdash/tests/kwtest/kw_web_tester.php
Expand Down Expand Up @@ -15201,6 +15225,12 @@ parameters:
count: 1
path: app/cdash/tests/kwtest/kw_web_tester.php

-
rawMessage: 'Parameter #1 $source of method DOMDocument::loadHTML() expects non-empty-string, string given.'
identifier: argument.type
count: 1
path: app/cdash/tests/kwtest/kw_web_tester.php

-
rawMessage: 'Parameter #1 $stream of function fclose expects resource, resource|false given.'
identifier: argument.type
Expand Down Expand Up @@ -15267,6 +15297,12 @@ parameters:
count: 1
path: app/cdash/tests/kwtest/kw_web_tester.php

-
rawMessage: 'Path in require() __DIR__ . ''/../bootstrap/app.php'' is not a file or it does not exist.'
identifier: require.fileNotFound
count: 2
path: app/cdash/tests/kwtest/kw_web_tester.php

-
rawMessage: 'Path in require_once() "tests/kwtest/simpletest/web_tester.php" is not a file or it does not exist.'
identifier: requireOnce.fileNotFound
Expand Down Expand Up @@ -22704,12 +22740,6 @@ parameters:
count: 3
path: tests/Feature/GraphQL/Mutations/JoinProjectTest.php

-
rawMessage: Using nullsafe property access on non-nullable type App\Models\User. Use -> instead.
identifier: nullsafe.neverNull
count: 2
path: tests/Feature/GraphQL/Mutations/JoinProjectTest.php

-
rawMessage: 'Method Tests\Feature\GraphQL\Mutations\RevokeGlobalInvitationTest::testAdminCanDeleteInvitation() throws checked exception OverflowException but it''s missing from the PHPDoc @throws tag.'
identifier: missingType.checkedException
Expand Down