mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-29 05:26:13 +00:00
DX: fix ci and phpstan issues
This commit is contained in:
parent
4db1ff405e
commit
8bec6feb96
@ -112,9 +112,9 @@ final class ActivityTypeTest extends KernelTestCase
|
|||||||
'attendee' => true,
|
'attendee' => true,
|
||||||
]]);
|
]]);
|
||||||
|
|
||||||
// var_dump($form->getErrors()->count()); var_dump($form->isValid());
|
// var_dump($form->getErrors()->count()); var_dump($form->isValid());
|
||||||
// foreach($form->getErrors() as $e) { fwrite(STDOUT, var_dump($e->getMessage())); }
|
// foreach($form->getErrors() as $e) { fwrite(STDOUT, var_dump($e->getMessage())); }
|
||||||
// var_dump($form->getErrors());
|
// var_dump($form->getErrors());
|
||||||
|
|
||||||
$this->assertTrue($form->isSynchronized(), 'Test the form is synchronized');
|
$this->assertTrue($form->isSynchronized(), 'Test the form is synchronized');
|
||||||
$this->assertTrue($form->isValid(), 'test the form is valid');
|
$this->assertTrue($form->isValid(), 'test the form is valid');
|
||||||
|
@ -101,7 +101,7 @@ class CRUDRoutesLoader extends Loader
|
|||||||
$singleCollection = $action['single_collection'] ?? '_entity' === $name ? 'single' : null;
|
$singleCollection = $action['single_collection'] ?? '_entity' === $name ? 'single' : null;
|
||||||
|
|
||||||
if ('collection' === $singleCollection) {
|
if ('collection' === $singleCollection) {
|
||||||
// continue;
|
// continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// compute default action
|
// compute default action
|
||||||
|
@ -100,9 +100,8 @@ class ThirdPartySearch implements SearchInterface
|
|||||||
'more' => $paginator->hasNextPage(),
|
'more' => $paginator->hasNextPage(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
if ('html' === $format) {
|
// format "html"
|
||||||
throw new \UnexpectedValueException("format not supported");
|
throw new \UnexpectedValueException("format html not supported");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function supports($domain, $format): bool
|
public function supports($domain, $format): bool
|
||||||
|
@ -25,7 +25,7 @@ final class Version20230215175150 extends AbstractMigration implements Container
|
|||||||
public function down(Schema $schema): void
|
public function down(Schema $schema): void
|
||||||
{
|
{
|
||||||
$this->addSql('ALTER TABLE chill_3party.third_party DROP profession');
|
$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
|
public function getDescription(): string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user