apply rules rector up to php82

This commit is contained in:
2023-05-01 21:39:45 +02:00
parent 81e8928344
commit 6d63177ff4
733 changed files with 1257 additions and 1322 deletions

View File

@@ -21,7 +21,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
*/
final class PersonSearchTest extends WebTestCase
{
public function testDefaultAccented()
public function testDefaultAccented(): never
{
$this->markTestSkipped('skipped until adapted to new fixtures');
$crawlerSpecial = $this->generateCrawlerForSearch('@person manço');
@@ -135,7 +135,7 @@ final class PersonSearchTest extends WebTestCase
$this->assertMatchesRegularExpression('/DEPARDIEU/', $crawler->filter('.list-with-period')->text());
}
public function testSearchCombineBirthdateAndLastName()
public function testSearchCombineBirthdateAndLastName(): never
{
$this->markTestSkipped('skipped until adapted to new fixtures');
$crawler = $this->generateCrawlerForSearch('@person birthdate:1948-12-27 lastname:(Van Snick)');
@@ -144,7 +144,7 @@ final class PersonSearchTest extends WebTestCase
$this->assertDoesNotMatchRegularExpression('/DEPARDIEU/', $crawler->filter('.list-with-period')->text());
}
public function testSearchCombineGenderAndLastName()
public function testSearchCombineGenderAndLastName(): never
{
$this->markTestSkipped('skipped until adapted to new fixtures');
$crawler = $this->generateCrawlerForSearch('@person gender:woman lastname:(Depardieu)');
@@ -153,7 +153,7 @@ final class PersonSearchTest extends WebTestCase
$this->assertDoesNotMatchRegularExpression('/Gérard/', $crawler->filter('.list-with-period')->text());
}
public function testSearchCombineLastnameAndFirstName()
public function testSearchCombineLastnameAndFirstName(): never
{
$this->markTestSkipped('skipped until adapted to new fixtures');
$crawler = $this->generateCrawlerForSearch('@person lastname:Depardieu firstname:Jean');
@@ -167,7 +167,7 @@ final class PersonSearchTest extends WebTestCase
);
}
public function testSearchCombineLastnameAndNationality()
public function testSearchCombineLastnameAndNationality(): never
{
$this->markTestSkipped('skipped until adapted to new fixtures');
$crawler = $this->generateCrawlerForSearch('@person lastname:Depardieu nationality:RU');
@@ -181,7 +181,7 @@ final class PersonSearchTest extends WebTestCase
);
}
public function testSearchMultipleTrigramUseAndClauseInDefault()
public function testSearchMultipleTrigramUseAndClauseInDefault(): never
{
$this->markTestSkipped('skipped until adapted to new fixtures');
$crawler = $this->generateCrawlerForSearch('@person cha dep');