|
1 | 1 | parameters: |
2 | 2 | ignoreErrors: |
3 | 3 | - |
4 | | - message: "#^Call to an undefined method object\\:\\:loadHelper\\(\\)\\.$#" |
| 4 | + message: '#^Call to an undefined method object\:\:loadHelper\(\)\.$#' |
| 5 | + identifier: method.notFound |
5 | 6 | count: 1 |
6 | 7 | path: src/Command/BakeMigrationCommand.php |
7 | 8 |
|
8 | 9 | - |
9 | | - message: "#^Call to an undefined method object\\:\\:loadHelper\\(\\)\\.$#" |
| 10 | + message: '#^Parameter \#1 \$arguments of method Migrations\\Util\\ColumnParser\:\:parseFields\(\) expects array\<string\>, array\<int\<min, \-1\>\|int\<1, max\>, list\<string\>\|string\> given\.$#' |
| 11 | + identifier: argument.type |
| 12 | + count: 1 |
| 13 | + path: src/Command/BakeMigrationCommand.php |
| 14 | + |
| 15 | + - |
| 16 | + message: '#^Parameter \#1 \$arguments of method Migrations\\Util\\ColumnParser\:\:parseIndexes\(\) expects array\<string\>, array\<int\<min, \-1\>\|int\<1, max\>, list\<string\>\|string\> given\.$#' |
| 17 | + identifier: argument.type |
| 18 | + count: 1 |
| 19 | + path: src/Command/BakeMigrationCommand.php |
| 20 | + |
| 21 | + - |
| 22 | + message: '#^Parameter \#1 \$arguments of method Migrations\\Util\\ColumnParser\:\:parsePrimaryKey\(\) expects array\<string\>, array\<int\<min, \-1\>\|int\<1, max\>, list\<string\>\|string\> given\.$#' |
| 23 | + identifier: argument.type |
| 24 | + count: 1 |
| 25 | + path: src/Command/BakeMigrationCommand.php |
| 26 | + |
| 27 | + - |
| 28 | + message: '#^Call to an undefined method object\:\:loadHelper\(\)\.$#' |
| 29 | + identifier: method.notFound |
10 | 30 | count: 1 |
11 | 31 | path: src/Command/BakeMigrationDiffCommand.php |
12 | 32 |
|
13 | 33 | - |
14 | | - message: "#^Call to an undefined method object\\:\\:loadHelper\\(\\)\\.$#" |
| 34 | + message: '#^Call to an undefined method object\:\:loadHelper\(\)\.$#' |
| 35 | + identifier: method.notFound |
15 | 36 | count: 1 |
16 | 37 | path: src/Command/BakeMigrationSnapshotCommand.php |
17 | 38 |
|
18 | 39 | - |
19 | | - message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 40 | + message: '#^PHPDoc tag @var with type string is not subtype of native type non\-falsy\-string\|true\.$#' |
| 41 | + identifier: varTag.nativeType |
| 42 | + count: 1 |
| 43 | + path: src/Command/BakeSeedCommand.php |
| 44 | + |
| 45 | + - |
| 46 | + message: '#^Strict comparison using \!\=\= between string and false will always evaluate to true\.$#' |
| 47 | + identifier: notIdentical.alwaysTrue |
| 48 | + count: 1 |
| 49 | + path: src/Command/BakeSeedCommand.php |
| 50 | + |
| 51 | + - |
| 52 | + message: '#^Call to an undefined method Cake\\Datasource\\ConnectionInterface\:\:cacheMetadata\(\)\.$#' |
| 53 | + identifier: method.notFound |
| 54 | + count: 1 |
| 55 | + path: src/Command/Phinx/CacheBuild.php |
| 56 | + |
| 57 | + - |
| 58 | + message: '#^Call to an undefined method Cake\\Datasource\\ConnectionInterface\:\:cacheMetadata\(\)\.$#' |
| 59 | + identifier: method.notFound |
| 60 | + count: 1 |
| 61 | + path: src/Command/Phinx/CacheClear.php |
| 62 | + |
| 63 | + - |
| 64 | + message: '#^Unsafe usage of new static\(\)\.$#' |
| 65 | + identifier: new.static |
20 | 66 | count: 1 |
21 | 67 | path: src/Db/Adapter/AdapterFactory.php |
22 | 68 |
|
23 | 69 | - |
24 | | - message: "#^Offset 'id' on non\\-empty\\-array\\<string, mixed\\> in isset\\(\\) always exists and is not nullable\\.$#" |
| 70 | + message: '#^Offset ''id'' on non\-empty\-array\<string, mixed\> in isset\(\) always exists and is not nullable\.$#' |
| 71 | + identifier: isset.offset |
25 | 72 | count: 2 |
26 | 73 | path: src/Db/Adapter/MysqlAdapter.php |
27 | 74 |
|
28 | 75 | - |
29 | | - message: "#^Right side of && is always true\\.$#" |
| 76 | + message: '#^Offset 3 might not exist on array\{0\: string, 1\: non\-empty\-string, 2\?\: string, 3\?\: ''''\|numeric\-string, 4\?\: string, 5\?\: ''''\|numeric\-string, 6\?\: non\-empty\-string\}\.$#' |
| 77 | + identifier: offsetAccess.notFound |
30 | 78 | count: 1 |
31 | 79 | path: src/Db/Adapter/MysqlAdapter.php |
32 | 80 |
|
33 | 81 | - |
34 | | - message: "#^Access to an undefined property Cake\\\\Database\\\\Connection\\:\\:\\$connection\\.$#" |
| 82 | + message: '#^Offset 5 might not exist on array\{0\: string, 1\: non\-empty\-string, 2\?\: string, 3\?\: ''''\|numeric\-string, 4\?\: string, 5\?\: ''''\|numeric\-string, 6\?\: non\-empty\-string\}\.$#' |
| 83 | + identifier: offsetAccess.notFound |
35 | 84 | count: 1 |
36 | | - path: src/Db/Adapter/PdoAdapter.php |
| 85 | + path: src/Db/Adapter/MysqlAdapter.php |
37 | 86 |
|
38 | 87 | - |
39 | | - message: "#^Offset 'id' on array\\<string, mixed\\> in isset\\(\\) always exists and is not nullable\\.$#" |
40 | | - count: 2 |
41 | | - path: src/Db/Adapter/PostgresAdapter.php |
| 88 | + message: '#^Offset 6 might not exist on array\{0\: string, 1\: non\-empty\-string, 2\?\: string, 3\?\: ''''\|numeric\-string, 4\?\: string, 5\?\: ''''\|numeric\-string, 6\?\: non\-empty\-string\}\.$#' |
| 89 | + identifier: offsetAccess.notFound |
| 90 | + count: 1 |
| 91 | + path: src/Db/Adapter/MysqlAdapter.php |
42 | 92 |
|
43 | 93 | - |
44 | | - message: "#^Offset 'id' on array\\<string, mixed\\> in isset\\(\\) always exists and is not nullable\\.$#" |
45 | | - count: 2 |
46 | | - path: src/Db/Adapter/SqliteAdapter.php |
| 94 | + message: '#^Right side of && is always true\.$#' |
| 95 | + identifier: booleanAnd.rightAlwaysTrue |
| 96 | + count: 1 |
| 97 | + path: src/Db/Adapter/MysqlAdapter.php |
47 | 98 |
|
48 | 99 | - |
49 | | - message: "#^Offset 'id' on array\\<string, mixed\\> in isset\\(\\) always exists and is not nullable\\.$#" |
50 | | - count: 2 |
51 | | - path: src/Db/Adapter/SqlserverAdapter.php |
| 100 | + message: '#^Right side of && is always true\.$#' |
| 101 | + identifier: booleanAnd.rightAlwaysTrue |
| 102 | + count: 1 |
| 103 | + path: src/Db/Adapter/SqliteAdapter.php |
52 | 104 |
|
53 | 105 | - |
54 | | - message: "#^PHPDoc tag @return with type Phinx\\\\Db\\\\Adapter\\\\AdapterInterface is not subtype of native type Migrations\\\\Db\\\\Adapter\\\\AdapterInterface\\.$#" |
| 106 | + message: '#^PHPDoc tag @return with type Phinx\\Db\\Adapter\\AdapterInterface is not subtype of native type Migrations\\Db\\Adapter\\AdapterInterface\.$#' |
| 107 | + identifier: return.phpDocType |
55 | 108 | count: 1 |
56 | 109 | path: src/Db/Adapter/SqlserverAdapter.php |
57 | 110 |
|
58 | 111 | - |
59 | | - message: "#^Ternary operator condition is always true\\.$#" |
| 112 | + message: '#^Ternary operator condition is always true\.$#' |
| 113 | + identifier: ternary.alwaysTrue |
60 | 114 | count: 2 |
61 | 115 | path: src/Db/Adapter/SqlserverAdapter.php |
62 | 116 |
|
63 | 117 | - |
64 | | - message: "#^Method Migrations\\\\Shim\\\\OutputAdapter\\:\\:getVerbosity\\(\\) should return 16\\|32\\|64\\|128\\|256 but returns int\\.$#" |
| 118 | + message: '#^Parameter \#1 \$message of method Cake\\Console\\ConsoleIo\:\:verbose\(\) expects list\<string\>\|string, array\<non\-falsy\-string\> given\.$#' |
| 119 | + identifier: argument.type |
| 120 | + count: 1 |
| 121 | + path: src/Migration/Manager.php |
| 122 | + |
| 123 | + - |
| 124 | + message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, array given\.$#' |
| 125 | + identifier: argument.type |
| 126 | + count: 1 |
| 127 | + path: src/Migration/Manager.php |
| 128 | + |
| 129 | + - |
| 130 | + message: '#^PHPDoc tag @var with type array\<string, string\> is not subtype of native type mixed\.$#' |
| 131 | + identifier: varTag.nativeType |
| 132 | + count: 1 |
| 133 | + path: src/Migration/ManagerFactory.php |
| 134 | + |
| 135 | + - |
| 136 | + message: '#^Method Migrations\\Shim\\OutputAdapter\:\:getVerbosity\(\) should return 16\|32\|64\|128\|256 but returns int\.$#' |
| 137 | + identifier: return.type |
65 | 138 | count: 1 |
66 | 139 | path: src/Shim/OutputAdapter.php |
67 | 140 |
|
68 | 141 | - |
69 | | - message: "#^Possibly invalid array key type Cake\\\\Database\\\\Schema\\\\TableSchemaInterface\\|string\\.$#" |
| 142 | + message: '#^Parameter \#1 \$message of method Cake\\Console\\ConsoleIo\:\:out\(\) expects list\<string\>\|string, array\|string given\.$#' |
| 143 | + identifier: argument.type |
| 144 | + count: 2 |
| 145 | + path: src/Shim/OutputAdapter.php |
| 146 | + |
| 147 | + - |
| 148 | + message: '#^Parameter \#2 \$tables of method Cake\\TestSuite\\ConnectionHelper\:\:dropTables\(\) expects list\<string\>\|null, non\-empty\-array\<string\> given\.$#' |
| 149 | + identifier: argument.type |
| 150 | + count: 1 |
| 151 | + path: src/TestSuite/Migrator.php |
| 152 | + |
| 153 | + - |
| 154 | + message: '#^Parameter \#2 \$tables of method Cake\\TestSuite\\ConnectionHelper\:\:truncateTables\(\) expects list\<string\>\|null, non\-empty\-array\<string\> given\.$#' |
| 155 | + identifier: argument.type |
| 156 | + count: 2 |
| 157 | + path: src/TestSuite/Migrator.php |
| 158 | + |
| 159 | + - |
| 160 | + message: '#^Offset 0 on non\-empty\-list\<string\> in isset\(\) always exists and is not nullable\.$#' |
| 161 | + identifier: isset.offset |
| 162 | + count: 2 |
| 163 | + path: src/Util/TableFinder.php |
| 164 | + |
| 165 | + - |
| 166 | + message: '#^Possibly invalid array key type Cake\\Database\\Schema\\TableSchemaInterface\|string\.$#' |
| 167 | + identifier: offsetAccess.invalidOffset |
70 | 168 | count: 2 |
71 | 169 | path: src/View/Helper/MigrationHelper.php |
0 commit comments