|
@@ -2,34 +2,34 @@ |
|
|
block discarded – undo |
|
2
|
2
|
|
|
3
|
3
|
$ignoreErrors = []; |
|
4
|
4
|
$ignoreErrors[] = [ |
|
5
|
|
- // identifier: return.type |
|
6
|
|
- 'message' => '#^Method Dimtrovich\\\\DbDumper\\\\Adapters\\\\Factory\\:\\:create\\(\\) should return static\\(Dimtrovich\\\\DbDumper\\\\Adapters\\\\Factory\\) but returns object\\.$#', |
|
7
|
|
- 'count' => 1, |
|
8
|
|
- 'path' => __DIR__ . '/src/Adapters/Factory.php', |
|
|
5
|
+ // identifier: return.type |
|
|
6
|
+ 'message' => '#^Method Dimtrovich\\\\DbDumper\\\\Adapters\\\\Factory\\:\\:create\\(\\) should return static\\(Dimtrovich\\\\DbDumper\\\\Adapters\\\\Factory\\) but returns object\\.$#', |
|
|
7
|
+ 'count' => 1, |
|
|
8
|
+ 'path' => __DIR__ . '/src/Adapters/Factory.php', |
|
9
|
9
|
]; |
|
10
|
10
|
$ignoreErrors[] = [ |
|
11
|
|
- // identifier: phpDoc.parseError |
|
12
|
|
- 'message' => '#^PHPDoc tag @method has invalid value \\(void onTableExport\\(callable\\(string \\$tableName, int \\$rowCount\\) \\$callback\\)\\)\\: Unexpected token "\\(", expected variable at offset 42$#', |
|
13
|
|
- 'count' => 1, |
|
14
|
|
- 'path' => __DIR__ . '/src/Exporter.php', |
|
|
11
|
+ // identifier: phpDoc.parseError |
|
|
12
|
+ 'message' => '#^PHPDoc tag @method has invalid value \\(void onTableExport\\(callable\\(string \\$tableName, int \\$rowCount\\) \\$callback\\)\\)\\: Unexpected token "\\(", expected variable at offset 42$#', |
|
|
13
|
+ 'count' => 1, |
|
|
14
|
+ 'path' => __DIR__ . '/src/Exporter.php', |
|
15
|
15
|
]; |
|
16
|
16
|
$ignoreErrors[] = [ |
|
17
|
|
- // identifier: booleanOr.alwaysTrue |
|
18
|
|
- 'message' => '#^Result of \\|\\| is always true\\.$#', |
|
19
|
|
- 'count' => 1, |
|
20
|
|
- 'path' => __DIR__ . '/src/Exporter.php', |
|
|
17
|
+ // identifier: booleanOr.alwaysTrue |
|
|
18
|
+ 'message' => '#^Result of \\|\\| is always true\\.$#', |
|
|
19
|
+ 'count' => 1, |
|
|
20
|
+ 'path' => __DIR__ . '/src/Exporter.php', |
|
21
|
21
|
]; |
|
22
|
22
|
$ignoreErrors[] = [ |
|
23
|
|
- // identifier: phpDoc.parseError |
|
24
|
|
- 'message' => '#^PHPDoc tag @method has invalid value \\(void onTableCreate\\(callable\\(string \\$tableName\\) \\$callback\\)\\)\\: Unexpected token "\\(", expected variable at offset 42$#', |
|
25
|
|
- 'count' => 1, |
|
26
|
|
- 'path' => __DIR__ . '/src/Importer.php', |
|
|
23
|
+ // identifier: phpDoc.parseError |
|
|
24
|
+ 'message' => '#^PHPDoc tag @method has invalid value \\(void onTableCreate\\(callable\\(string \\$tableName\\) \\$callback\\)\\)\\: Unexpected token "\\(", expected variable at offset 42$#', |
|
|
25
|
+ 'count' => 1, |
|
|
26
|
+ 'path' => __DIR__ . '/src/Importer.php', |
|
27
|
27
|
]; |
|
28
|
28
|
$ignoreErrors[] = [ |
|
29
|
|
- // identifier: phpDoc.parseError |
|
30
|
|
- 'message' => '#^PHPDoc tag @method has invalid value \\(void onTableInsert\\(callable\\(string \\$tableName, int \\$rowCount\\) \\$callback\\)\\)\\: Unexpected token "\\(", expected variable at offset 111$#', |
|
31
|
|
- 'count' => 1, |
|
32
|
|
- 'path' => __DIR__ . '/src/Importer.php', |
|
|
29
|
+ // identifier: phpDoc.parseError |
|
|
30
|
+ 'message' => '#^PHPDoc tag @method has invalid value \\(void onTableInsert\\(callable\\(string \\$tableName, int \\$rowCount\\) \\$callback\\)\\)\\: Unexpected token "\\(", expected variable at offset 111$#', |
|
|
31
|
+ 'count' => 1, |
|
|
32
|
+ 'path' => __DIR__ . '/src/Importer.php', |
|
33
|
33
|
]; |
|
34
|
34
|
|
|
35
|
35
|
return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |