apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -20,6 +20,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
/**
* @internal
*
* @coversNothing
*/
final class AddressReferenceBaseImporterTest extends KernelTestCase
@@ -46,7 +47,7 @@ final class AddressReferenceBaseImporterTest extends KernelTestCase
public function testImportAddress(): void
{
$postalCode = (new PostalCode())
->setRefPostalCodeId($postalCodeId = '1234' . uniqid())
->setRefPostalCodeId($postalCodeId = '1234'.uniqid())
->setPostalCodeSource('testing')
->setCode('TEST456')
->setName('testing');

View File

@@ -11,9 +11,7 @@ declare(strict_types=1);
namespace Services\Import;
use Chill\MainBundle\Doctrine\Model\Point;
use Chill\MainBundle\Entity\Address;
use Chill\MainBundle\Entity\AddressReference;
use Chill\MainBundle\Entity\PostalCode;
use Chill\MainBundle\Repository\AddressReferenceRepository;
use Chill\MainBundle\Repository\CountryRepository;
@@ -24,6 +22,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
/**
* @internal
*
* @coversNothing
*/
class AddressToReferenceMatcherTest extends KernelTestCase

View File

@@ -19,6 +19,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
/**
* @internal
*
* @coversNothing
*/
final class GeographicalUnitBaseImporterTest extends KernelTestCase

View File

@@ -19,6 +19,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
/**
* @internal
*
* @coversNothing
*/
final class PostalCodeBaseImporterTest extends KernelTestCase
@@ -47,9 +48,9 @@ final class PostalCodeBaseImporterTest extends KernelTestCase
{
$this->importer->importCode(
'BE',
'tested with pattern ' . ($uniqid = uniqid()),
'tested with pattern '.($uniqid = uniqid()),
'12345',
$refPostalCodeId = 'test' . uniqid(),
$refPostalCodeId = 'test'.uniqid(),
'test',
50.0,
5.0,
@@ -59,7 +60,7 @@ final class PostalCodeBaseImporterTest extends KernelTestCase
$this->importer->finalize();
$postalCodes = $this->postalCodeRepository->findByPattern(
'with pattern ' . $uniqid,
'with pattern '.$uniqid,
$this->countryRepository->findOneBy(['countryCode' => 'BE'])
);
@@ -72,7 +73,7 @@ final class PostalCodeBaseImporterTest extends KernelTestCase
$this->importer->importCode(
'BE',
'tested with adapted pattern ' . ($uniqid = uniqid()),
'tested with adapted pattern '.($uniqid = uniqid()),
'12345',
$refPostalCodeId,
'test',
@@ -84,7 +85,7 @@ final class PostalCodeBaseImporterTest extends KernelTestCase
$this->importer->finalize();
$postalCodes = $this->postalCodeRepository->findByPattern(
'with pattern ' . $uniqid,
'with pattern '.$uniqid,
$this->countryRepository->findOneBy(['countryCode' => 'BE'])
);