Upgrade of php-cs-fixer

This commit is contained in:
2024-09-11 14:21:32 +02:00
parent 8b1b255050
commit d0ee381627
273 changed files with 357 additions and 357 deletions

View File

@@ -88,7 +88,7 @@ final class AddressReferenceBaseImporter
string $source,
?float $lat = null,
?float $lon = null,
?int $srid = null
?int $srid = null,
): void {
if (!$this->isInitialized) {
$this->initialize($source);

View File

@@ -66,7 +66,7 @@ final class GeographicalUnitBaseImporter
string $unitName,
string $unitKey,
string $geomAsWKT,
?int $srid = null
?int $srid = null,
): void {
$this->initialize();

View File

@@ -72,7 +72,7 @@ class PostalCodeBaseImporter
string $refPostalCodeSource,
float $centerLat,
float $centerLon,
int $centerSRID
int $centerSRID,
): void {
$this->waitingForInsert[] = [
$countryCode,

View File

@@ -68,7 +68,7 @@ class RollingDate
public function __construct(
private readonly string $roll,
private readonly ?\DateTimeImmutable $fixedDate = null,
private readonly \DateTimeImmutable $pivotDate = new \DateTimeImmutable('now')
private readonly \DateTimeImmutable $pivotDate = new \DateTimeImmutable('now'),
) {
}

View File

@@ -35,7 +35,7 @@ class OvhShortMessageSender implements ShortMessageSenderInterface
private readonly string $sender,
// for DI, must remains as third argument
private readonly LoggerInterface $logger,
private readonly PhoneNumberUtil $phoneNumberUtil
private readonly PhoneNumberUtil $phoneNumberUtil,
) {
}