You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: '#Property ApiPlatform\\Core\\Test\\DoctrineMongoDbOdmFilterTestCase::\$repository \(Doctrine\\ODM\\MongoDB\\Repository\\DocumentRepository\) does not accept Doctrine\\ORM\\EntityRepository<ApiPlatform\\Core\\Tests\\Fixtures\\TestBundle\\Document\\Dummy>\.#'
@@ -46,15 +49,15 @@ public function toString(): string
46
49
}
47
50
48
51
/**
49
-
* @param array $other
52
+
* {@inheritdoc}
50
53
*/
51
54
protectedfunctionmatches($other): bool
52
55
{
53
56
if (!class_exists(Validator::class)) {
54
-
thrownew \RuntimeException('The "justinrainbow/json-schema" library must be installed to use "assertMatchesJsonSchema()". Try running "composer require --dev justinrainbow/json-schema".');
57
+
thrownew \LogicException('The "justinrainbow/json-schema" library must be installed to use "assertMatchesJsonSchema()". Try running "composer require --dev justinrainbow/json-schema".');
->addOption('itemOperation', null, InputOption::VALUE_REQUIRED, 'The item operation')
54
55
->addOption('collectionOperation', null, InputOption::VALUE_REQUIRED, 'The collection operation')
55
56
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The response format', (string) $this->formats[0])
56
-
->addOption('type', null, InputOption::VALUE_REQUIRED, 'The type of schema to generate (input or output)', 'input');
57
+
->addOption('type', null, InputOption::VALUE_REQUIRED, sprintf('The type of schema to generate (%s or %s)', Schema::TYPE_INPUT, Schema::TYPE_OUTPUT), Schema::TYPE_INPUT);
57
58
}
58
59
59
60
/**
@@ -71,11 +72,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
0 commit comments