-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathphpstan-baseline.php
More file actions
15 lines (13 loc) · 713 Bytes
/
phpstan-baseline.php
File metadata and controls
15 lines (13 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php declare(strict_types = 1);
$ignoreErrors = [];
$ignoreErrors[] = [
'message' => '#^Parameter \\#1 \\$target of method pocketmine\\\\command\\\\Command\\:\\:testPermissionSilent\\(\\) expects pocketmine\\\\command\\\\CommandSender, pocketmine\\\\player\\\\Player\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Main.php',
];
$ignoreErrors[] = [
'message' => '#^Parameter \\#2 \\$player of method jasonw4331\\\\EasyCommandAutofill\\\\Main\\:\\:generatePlayerSpecificCommandData\\(\\) expects pocketmine\\\\player\\\\Player, pocketmine\\\\player\\\\Player\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Main.php',
];
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];