DX: fix ci and phpstan issues

This commit is contained in:
2023-04-11 22:01:47 +02:00
parent 4db1ff405e
commit 8bec6feb96
4 changed files with 7 additions and 8 deletions

View File

@@ -100,9 +100,8 @@ class ThirdPartySearch implements SearchInterface
'more' => $paginator->hasNextPage(),
];
}
if ('html' === $format) {
throw new \UnexpectedValueException("format not supported");
}
// format "html"
throw new \UnexpectedValueException("format html not supported");
}
public function supports($domain, $format): bool

View File

@@ -25,7 +25,7 @@ final class Version20230215175150 extends AbstractMigration implements Container
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE chill_3party.third_party DROP profession');
// $this->addSql('ALTER TABLE chill_3party.third_party ADD profession_id INT DEFAULT NULL');
// $this->addSql('ALTER TABLE chill_3party.third_party ADD profession_id INT DEFAULT NULL');
}
public function getDescription(): string