|
3368 | 3368 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Admin/Event/Ticket/IndexAction.php', |
3369 | 3369 | ]; |
3370 | 3370 | $ignoreErrors[] = [ |
3371 | | - 'message' => '#^Parameter \\#1 \\$eventId of method AppBundle\\\\Event\\\\Model\\\\Repository\\\\VoteRepository\\:\\:getVotesByEvent\\(\\) expects int, int\\|null given\\.$#', |
| 3371 | + 'message' => '#^Parameter \\#1 \\$eventId of method AppBundle\\\\Event\\\\Entity\\\\Repository\\\\VoteRepository\\:\\:getVotesByEvent\\(\\) expects int, int\\|null given\\.$#', |
3372 | 3372 | 'identifier' => 'argument.type', |
3373 | 3373 | 'count' => 1, |
3374 | 3374 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Admin/Event/VotesListeAction.php', |
|
4147 | 4147 | 'count' => 2, |
4148 | 4148 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Event/ShowAction.php', |
4149 | 4149 | ]; |
4150 | | -$ignoreErrors[] = [ |
4151 | | - 'message' => '#^Cannot access offset \'votes\' on mixed\\.$#', |
4152 | | - 'identifier' => 'offsetAccess.nonOffsetAccessible', |
4153 | | - 'count' => 2, |
4154 | | - 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Event/ShowAction.php', |
4155 | | -]; |
4156 | 4150 | $ignoreErrors[] = [ |
4157 | 4151 | 'message' => '#^Cannot call method getPath\\(\\) on mixed\\.$#', |
4158 | 4152 | 'identifier' => 'method.nonObject', |
|
4490 | 4484 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Vote/IndexAction.php', |
4491 | 4485 | ]; |
4492 | 4486 | $ignoreErrors[] = [ |
4493 | | - 'message' => '#^Parameter \\#3 \\$vote of method AppBundle\\\\Controller\\\\Event\\\\Vote\\\\VoteController\\:\\:createVoteForm\\(\\) expects AppBundle\\\\Event\\\\Model\\\\Vote, mixed given\\.$#', |
| 4487 | + 'message' => '#^Parameter \\#3 \\$vote of method AppBundle\\\\Controller\\\\Event\\\\Vote\\\\VoteController\\:\\:createVoteForm\\(\\) expects AppBundle\\\\Event\\\\Entity\\\\Vote, mixed given\\.$#', |
4494 | 4488 | 'identifier' => 'argument.type', |
4495 | 4489 | 'count' => 1, |
4496 | 4490 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Vote/IndexAction.php', |
4497 | 4491 | ]; |
4498 | 4492 | $ignoreErrors[] = [ |
4499 | | - 'message' => '#^Cannot call method setSubmittedOn\\(\\) on mixed\\.$#', |
4500 | | - 'identifier' => 'method.nonObject', |
| 4493 | + 'message' => '#^Cannot access property \\$submittedOn on mixed\\.$#', |
| 4494 | + 'identifier' => 'property.nonObject', |
4501 | 4495 | 'count' => 1, |
4502 | 4496 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Vote/NewAction.php', |
4503 | 4497 | ]; |
4504 | 4498 | $ignoreErrors[] = [ |
4505 | | - 'message' => '#^Cannot call method setTalk\\(\\) on mixed\\.$#', |
4506 | | - 'identifier' => 'method.nonObject', |
| 4499 | + 'message' => '#^Cannot access property \\$talk on mixed\\.$#', |
| 4500 | + 'identifier' => 'property.nonObject', |
4507 | 4501 | 'count' => 1, |
4508 | 4502 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Vote/NewAction.php', |
4509 | 4503 | ]; |
4510 | 4504 | $ignoreErrors[] = [ |
4511 | | - 'message' => '#^Parameter \\#1 \\$user of method AppBundle\\\\Event\\\\Model\\\\Vote\\:\\:setUser\\(\\) expects int, int\\|null given\\.$#', |
| 4505 | + 'message' => '#^Parameter \\#1 \\$vote of method AppBundle\\\\Event\\\\Entity\\\\Repository\\\\VoteRepository\\:\\:upsert\\(\\) expects AppBundle\\\\Event\\\\Entity\\\\Vote, mixed given\\.$#', |
4512 | 4506 | 'identifier' => 'argument.type', |
4513 | 4507 | 'count' => 1, |
4514 | 4508 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Vote/NewAction.php', |
4515 | 4509 | ]; |
4516 | 4510 | $ignoreErrors[] = [ |
4517 | | - 'message' => '#^Parameter \\#1 \\$vote of method AppBundle\\\\Event\\\\Model\\\\Repository\\\\VoteRepository\\:\\:upsert\\(\\) expects AppBundle\\\\Event\\\\Model\\\\Vote, mixed given\\.$#', |
| 4511 | + 'message' => '#^Parameter \\#1 \\$vote of method AppBundle\\\\Notifier\\\\SlackNotifier\\:\\:notifyVote\\(\\) expects AppBundle\\\\Event\\\\Entity\\\\Vote, mixed given\\.$#', |
4518 | 4512 | 'identifier' => 'argument.type', |
4519 | 4513 | 'count' => 1, |
4520 | 4514 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Vote/NewAction.php', |
4521 | 4515 | ]; |
4522 | 4516 | $ignoreErrors[] = [ |
4523 | | - 'message' => '#^Parameter \\#1 \\$vote of method AppBundle\\\\Notifier\\\\SlackNotifier\\:\\:notifyVote\\(\\) expects AppBundle\\\\Event\\\\Model\\\\Vote, mixed given\\.$#', |
4524 | | - 'identifier' => 'argument.type', |
| 4517 | + 'message' => '#^Property AppBundle\\\\Event\\\\Entity\\\\Vote\\:\\:\\$userId \\(int\\) does not accept int\\|null\\.$#', |
| 4518 | + 'identifier' => 'assign.propertyType', |
4525 | 4519 | 'count' => 1, |
4526 | 4520 | 'path' => __DIR__ . '/sources/AppBundle/Controller/Event/Vote/NewAction.php', |
4527 | 4521 | ]; |
|
5083 | 5077 | 'count' => 1, |
5084 | 5078 | 'path' => __DIR__ . '/sources/AppBundle/Email/Mailer/Mailer.php', |
5085 | 5079 | ]; |
| 5080 | +$ignoreErrors[] = [ |
| 5081 | + 'message' => '#^Cannot cast mixed to int\\.$#', |
| 5082 | + 'identifier' => 'cast.int', |
| 5083 | + 'count' => 7, |
| 5084 | + 'path' => __DIR__ . '/sources/AppBundle/Event/Entity/Repository/VoteRepository.php', |
| 5085 | +]; |
| 5086 | +$ignoreErrors[] = [ |
| 5087 | + 'message' => '#^Parameter \\#1 \\$datetime of class DateTimeImmutable constructor expects string, mixed given\\.$#', |
| 5088 | + 'identifier' => 'argument.type', |
| 5089 | + 'count' => 1, |
| 5090 | + 'path' => __DIR__ . '/sources/AppBundle/Event/Entity/Repository/VoteRepository.php', |
| 5091 | +]; |
5086 | 5092 | $ignoreErrors[] = [ |
5087 | 5093 | 'message' => '#^Class AppBundle\\\\Event\\\\Form\\\\EventCFPTextType extends generic class Symfony\\\\Component\\\\Form\\\\AbstractType but does not specify its types\\: TData$#', |
5088 | 5094 | 'identifier' => 'missingType.generics', |
|
6895 | 6901 | 'count' => 1, |
6896 | 6902 | 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/TicketTypeRepository.php', |
6897 | 6903 | ]; |
6898 | | -$ignoreErrors[] = [ |
6899 | | - 'message' => '#^Cannot cast mixed to int\\.$#', |
6900 | | - 'identifier' => 'cast.int', |
6901 | | - 'count' => 1, |
6902 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6903 | | -]; |
6904 | | -$ignoreErrors[] = [ |
6905 | | - 'message' => '#^Method AppBundle\\\\Event\\\\Model\\\\Repository\\\\VoteRepository\\:\\:getNumberOfVotesByEvent\\(\\) has no return type specified\\.$#', |
6906 | | - 'identifier' => 'missingType.return', |
6907 | | - 'count' => 1, |
6908 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6909 | | -]; |
6910 | | -$ignoreErrors[] = [ |
6911 | | - 'message' => '#^Method AppBundle\\\\Event\\\\Model\\\\Repository\\\\VoteRepository\\:\\:getVotesByEvent\\(\\) return type with generic interface CCMBenchmark\\\\Ting\\\\Repository\\\\CollectionInterface does not specify its types\\: T$#', |
6912 | | - 'identifier' => 'missingType.generics', |
6913 | | - 'count' => 1, |
6914 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6915 | | -]; |
6916 | | -$ignoreErrors[] = [ |
6917 | | - 'message' => '#^Method AppBundle\\\\Event\\\\Model\\\\Repository\\\\VoteRepository\\:\\:getVotesByTalkWithUser\\(\\) has no return type specified\\.$#', |
6918 | | - 'identifier' => 'missingType.return', |
6919 | | - 'count' => 1, |
6920 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6921 | | -]; |
6922 | | -$ignoreErrors[] = [ |
6923 | | - 'message' => '#^Method AppBundle\\\\Event\\\\Model\\\\Repository\\\\VoteRepository\\:\\:getVotesByTalkWithUser\\(\\) has parameter \\$talkId with no type specified\\.$#', |
6924 | | - 'identifier' => 'missingType.parameter', |
6925 | | - 'count' => 1, |
6926 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6927 | | -]; |
6928 | | -$ignoreErrors[] = [ |
6929 | | - 'message' => '#^Method AppBundle\\\\Event\\\\Model\\\\Repository\\\\VoteRepository\\:\\:initMetadata\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#', |
6930 | | - 'identifier' => 'missingType.iterableValue', |
6931 | | - 'count' => 1, |
6932 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6933 | | -]; |
6934 | | -$ignoreErrors[] = [ |
6935 | | - 'message' => '#^Method AppBundle\\\\Event\\\\Model\\\\Repository\\\\VoteRepository\\:\\:initMetadata\\(\\) should return M of CCMBenchmark\\\\Ting\\\\Repository\\\\Metadata but returns CCMBenchmark\\\\Ting\\\\Repository\\\\Metadata\\<object\\>\\.$#', |
6936 | | - 'identifier' => 'return.type', |
6937 | | - 'count' => 1, |
6938 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6939 | | -]; |
6940 | | -$ignoreErrors[] = [ |
6941 | | - 'message' => '#^Parameter \\#1 \\$databaseName of method CCMBenchmark\\\\Ting\\\\Repository\\\\Metadata\\<object\\>\\:\\:setDatabase\\(\\) expects string, mixed given\\.$#', |
6942 | | - 'identifier' => 'argument.type', |
6943 | | - 'count' => 1, |
6944 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6945 | | -]; |
6946 | | -$ignoreErrors[] = [ |
6947 | | - 'message' => '#^Parameter \\#1 \\$submittedOn of method AppBundle\\\\Event\\\\Model\\\\Vote\\:\\:setSubmittedOn\\(\\) expects DateTime, DateTime\\|null given\\.$#', |
6948 | | - 'identifier' => 'argument.type', |
6949 | | - 'count' => 1, |
6950 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Repository/VoteRepository.php', |
6951 | | -]; |
6952 | 6904 | $ignoreErrors[] = [ |
6953 | 6905 | 'message' => '#^Property AppBundle\\\\Event\\\\Model\\\\Room\\:\\:\\$name \\(string\\) does not accept mixed\\.$#', |
6954 | 6906 | 'identifier' => 'assign.propertyType', |
|
7021 | 6973 | 'count' => 1, |
7022 | 6974 | 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Talk.php', |
7023 | 6975 | ]; |
| 6976 | +$ignoreErrors[] = [ |
| 6977 | + 'message' => '#^Property AppBundle\\\\Event\\\\Model\\\\Talk\\:\\:\\$votes has unknown class AppBundle\\\\Event\\\\Model\\\\Vote as its type\\.$#', |
| 6978 | + 'identifier' => 'class.notFound', |
| 6979 | + 'count' => 1, |
| 6980 | + 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Talk.php', |
| 6981 | +]; |
7024 | 6982 | $ignoreErrors[] = [ |
7025 | 6983 | 'message' => '#^Method AppBundle\\\\Event\\\\Model\\\\Ticket\\:\\:getTags\\(\\) return type has no value type specified in iterable type array\\.$#', |
7026 | 6984 | 'identifier' => 'missingType.iterableValue', |
|
7039 | 6997 | 'count' => 1, |
7040 | 6998 | 'path' => __DIR__ . '/sources/AppBundle/Event/Model/TicketType.php', |
7041 | 6999 | ]; |
7042 | | -$ignoreErrors[] = [ |
7043 | | - 'message' => '#^Method AppBundle\\\\Event\\\\Model\\\\Vote\\:\\:getId\\(\\) should return int but returns int\\|null\\.$#', |
7044 | | - 'identifier' => 'return.type', |
7045 | | - 'count' => 1, |
7046 | | - 'path' => __DIR__ . '/sources/AppBundle/Event/Model/Vote.php', |
7047 | | -]; |
7048 | 7000 | $ignoreErrors[] = [ |
7049 | 7001 | 'message' => '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#', |
7050 | 7002 | 'identifier' => 'foreach.nonIterable', |
|
8737 | 8689 | 'count' => 1, |
8738 | 8690 | 'path' => __DIR__ . '/sources/AppBundle/Slack/MessageFactory.php', |
8739 | 8691 | ]; |
8740 | | -$ignoreErrors[] = [ |
8741 | | - 'message' => '#^Cannot call method getTitle\\(\\) on AppBundle\\\\Event\\\\Model\\\\Talk\\|null\\.$#', |
8742 | | - 'identifier' => 'method.nonObject', |
8743 | | - 'count' => 2, |
8744 | | - 'path' => __DIR__ . '/sources/AppBundle/Slack/MessageFactory.php', |
8745 | | -]; |
8746 | 8692 | $ignoreErrors[] = [ |
8747 | 8693 | 'message' => '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#', |
8748 | 8694 | 'identifier' => 'foreach.nonIterable', |
|
9585 | 9531 | ]; |
9586 | 9532 |
|
9587 | 9533 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
| 9534 | + |
0 commit comments