forked from composer/packagist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
66 lines (54 loc) · 4.41 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$min \\(1\\) of function random_int expects lower number than parameter \\#2 \\$max \\(int\\<\\-2147483648, 2147483647\\>\\)\\.$#"
count: 1
path: src/Controller/ExploreController.php
-
message: "#^Parameter \\#1 \\$nbResults of class Pagerfanta\\\\Adapter\\\\FixedAdapter constructor expects int\\<0, max\\>, int given\\.$#"
count: 1
path: src/Controller/ExploreController.php
-
message: "#^Offset string on array\\<int, int\\> on left side of \\?\\? does not exist\\.$#"
count: 1
path: src/Controller/PackageController.php
-
message: "#^Parameter \\#1 \\$job of method App\\\\Service\\\\UpdaterWorker\\:\\:process\\(\\) expects App\\\\Entity\\\\Job\\<array\\{id\\: int, update_equal_refs\\: bool, delete_before\\: bool, force_dump\\: bool\\}\\>, App\\\\Entity\\\\Job\\<array\\{id\\: int, update_equal_refs\\: false, delete_before\\: false, force_dump\\: false\\}\\> given\\.$#"
count: 1
path: src/DataFixtures/PackageFixtures.php
-
message: "#^Method App\\\\Entity\\\\PackageRepository\\:\\:getDependents\\(\\) should return array\\<array\\{id\\: int, name\\: string, description\\: string\\|null, language\\: string\\|null, abandoned\\: int, replacementPackage\\: string\\|null\\}\\> but returns array\\<int, non\\-empty\\-array\\<string, mixed\\>\\>\\.$#"
count: 1
path: src/Entity/PackageRepository.php
-
message: "#^Method App\\\\Entity\\\\PackageRepository\\:\\:getSuggestCount\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 1
path: src/Entity/PackageRepository.php
-
message: "#^Query error\\: Unknown column 'd\\.total' in 'order clause' \\(1054\\)\\.$#"
count: 1
path: src/Entity/PackageRepository.php
-
message: "#^Cannot access offset string on array\\|string\\|true\\|null\\.$#"
count: 1
path: src/Entity/Version.php
-
message: "#^Cannot access offset string\\|null on array\\|string\\|true\\|null\\.$#"
count: 1
path: src/Entity/Version.php
-
message: "#^Method App\\\\Entity\\\\Version\\:\\:toArray\\(\\) should return array\\{name\\: string, description\\: string, keywords\\: array\\<int, string\\>, homepage\\: string, version\\: non\\-empty\\-string, version_normalized\\: non\\-empty\\-string, license\\: array\\<int, string\\>, authors\\: array\\<array\\{email\\?\\: string, homepage\\?\\: string, name\\?\\: string, role\\?\\: string\\}\\>, \\.\\.\\.\\} but returns non\\-empty\\-array\\<'abandoned'\\|'authors'\\|'autoload'\\|'bin'\\|'conflict'\\|'default\\-branch'\\|'description'\\|'dist'\\|'extra'\\|'funding'\\|'homepage'\\|'include\\-path'\\|'keywords'\\|'license'\\|'name'\\|'provide'\\|'replace'\\|'require'\\|'require\\-dev'\\|'source'\\|'suggest'\\|'support'\\|'target\\-dir'\\|'time'\\|'type'\\|'version'\\|'version_normalized', array\\|string\\|true\\|null\\>\\.$#"
count: 1
path: src/Entity/Version.php
-
message: "#^Method App\\\\Model\\\\FavoriteManager\\:\\:getFavoriteCount\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 1
path: src/Model/FavoriteManager.php
-
message: "#^Parameter \\#1 \\$job of method App\\\\Service\\\\GitHubUserMigrationWorker\\:\\:process\\(\\) expects App\\\\Entity\\\\Job\\<array\\{id\\: int, update_equal_refs\\: bool, delete_before\\: bool, force_dump\\: bool\\}\\>\\|App\\\\Entity\\\\Job\\<array\\{id\\: int, old_scope\\: string, new_scope\\: string\\}\\>\\|App\\\\Entity\\\\Job\\<array\\{source\\: string\\}\\>, App\\\\Entity\\\\Job\\<array\\<string, bool\\|int\\|string\\>\\> given\\.$#"
count: 1
path: src/Service/QueueWorker.php
-
message: "#^Parameter \\#1 \\$result of method App\\\\Entity\\\\Job\\<array\\<string, bool\\|int\\|string\\>\\>\\:\\:complete\\(\\) expects array\\{status\\: 'completed'\\|'errored'\\|'failed'\\|'package_deleted'\\|'package_gone'\\|'queued'\\|'reschedule'\\|'started'\\|'timeout', message\\?\\: string, after\\?\\: DateTimeInterface&Throwable, details\\?\\: string, exception\\?\\: Throwable, exceptionMsg\\?\\: string, exceptionClass\\?\\: class\\-string\\<Throwable\\>, results\\?\\: array, \\.\\.\\.\\}, array\\{status\\: 'completed'\\|'errored'\\|'failed'\\|'package_deleted'\\|'package_gone', message\\: string, after\\?\\: DateTimeInterface, details\\?\\: string, exception\\?\\: Throwable, exceptionMsg\\?\\: string, exceptionClass\\?\\: class\\-string\\<Throwable\\>, results\\?\\: array, \\.\\.\\.\\} given\\.$#"
count: 1
path: src/Service/QueueWorker.php