mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-07 15:25:00 +00:00
php cs fixes after updating php cs fixer
This commit is contained in:
@@ -20,7 +20,9 @@ class AddressReferenceBEFromBestAddress
|
||||
{
|
||||
private const RELEASE = 'https://gitea.champs-libres.be/api/v1/repos/Chill-project/belgian-bestaddresses-transform/releases/tags/v1.0.0';
|
||||
|
||||
public function __construct(private readonly HttpClientInterface $client, private readonly AddressReferenceBaseImporter $baseImporter, private readonly AddressToReferenceMatcher $addressToReferenceMatcher) {}
|
||||
public function __construct(private readonly HttpClientInterface $client, private readonly AddressReferenceBaseImporter $baseImporter, private readonly AddressToReferenceMatcher $addressToReferenceMatcher)
|
||||
{
|
||||
}
|
||||
|
||||
public function import(string $lang, array $lists): void
|
||||
{
|
||||
|
@@ -45,7 +45,9 @@ final class AddressReferenceBaseImporter
|
||||
|
||||
private array $waitingForInsert = [];
|
||||
|
||||
public function __construct(private readonly Connection $defaultConnection, private readonly LoggerInterface $logger) {}
|
||||
public function __construct(private readonly Connection $defaultConnection, private readonly LoggerInterface $logger)
|
||||
{
|
||||
}
|
||||
|
||||
public function finalize(): void
|
||||
{
|
||||
|
@@ -17,7 +17,9 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
|
||||
class AddressReferenceFromBano
|
||||
{
|
||||
public function __construct(private readonly HttpClientInterface $client, private readonly AddressReferenceBaseImporter $baseImporter, private readonly AddressToReferenceMatcher $addressToReferenceMatcher) {}
|
||||
public function __construct(private readonly HttpClientInterface $client, private readonly AddressReferenceBaseImporter $baseImporter, private readonly AddressToReferenceMatcher $addressToReferenceMatcher)
|
||||
{
|
||||
}
|
||||
|
||||
public function import(string $departementNo): void
|
||||
{
|
||||
|
@@ -64,7 +64,9 @@ final readonly class AddressToReferenceMatcher
|
||||
'{{ reviewed }}' => Address::ADDR_REFERENCE_STATUS_REVIEWED,
|
||||
];
|
||||
|
||||
public function __construct(private Connection $connection, private LoggerInterface $logger) {}
|
||||
public function __construct(private Connection $connection, private LoggerInterface $logger)
|
||||
{
|
||||
}
|
||||
|
||||
public function checkAddressesMatchingReferences(): void
|
||||
{
|
||||
|
@@ -43,7 +43,9 @@ final class GeographicalUnitBaseImporter
|
||||
|
||||
private array $waitingForInsert = [];
|
||||
|
||||
public function __construct(private readonly Connection $defaultConnection, private readonly LoggerInterface $logger) {}
|
||||
public function __construct(private readonly Connection $defaultConnection, private readonly LoggerInterface $logger)
|
||||
{
|
||||
}
|
||||
|
||||
public function finalize(): void
|
||||
{
|
||||
|
@@ -20,7 +20,9 @@ class PostalCodeBEFromBestAddress
|
||||
{
|
||||
private const RELEASE = 'https://gitea.champs-libres.be/api/v1/repos/Chill-project/belgian-bestaddresses-transform/releases/tags/v1.0.0';
|
||||
|
||||
public function __construct(private readonly PostalCodeBaseImporter $baseImporter, private readonly HttpClientInterface $client, private readonly LoggerInterface $logger) {}
|
||||
public function __construct(private readonly PostalCodeBaseImporter $baseImporter, private readonly HttpClientInterface $client, private readonly LoggerInterface $logger)
|
||||
{
|
||||
}
|
||||
|
||||
public function import(string $lang = 'fr'): void
|
||||
{
|
||||
|
@@ -54,7 +54,9 @@ class PostalCodeBaseImporter
|
||||
|
||||
private array $waitingForInsert = [];
|
||||
|
||||
public function __construct(private readonly Connection $defaultConnection) {}
|
||||
public function __construct(private readonly Connection $defaultConnection)
|
||||
{
|
||||
}
|
||||
|
||||
public function finalize(): void
|
||||
{
|
||||
|
@@ -25,7 +25,9 @@ class PostalCodeFRFromOpenData
|
||||
{
|
||||
private const CSV = 'https://datanova.laposte.fr/data-fair/api/v1/datasets/laposte-hexasmal/data-files/019HexaSmal.csv';
|
||||
|
||||
public function __construct(private readonly PostalCodeBaseImporter $baseImporter, private readonly HttpClientInterface $client, private readonly LoggerInterface $logger) {}
|
||||
public function __construct(private readonly PostalCodeBaseImporter $baseImporter, private readonly HttpClientInterface $client, private readonly LoggerInterface $logger)
|
||||
{
|
||||
}
|
||||
|
||||
public function import(): void
|
||||
{
|
||||
|
Reference in New Issue
Block a user