Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit b4e4fcc

Browse files
authored
Merge pull request #111 from netglue/update-doctrine-coding-standard
Update Doctrine Coding Standard to ^10
2 parents 20551b8 + f0e1166 commit b4e4fcc

17 files changed

+55
-55
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939
},
4040
"require-dev": {
41-
"doctrine/coding-standard": "9.0",
41+
"doctrine/coding-standard": "^10.0",
4242
"laminas/laminas-config-aggregator": "^1.8.0",
4343
"laminas/laminas-db": "^2.13",
4444
"laminas/laminas-servicemanager": "^3.16.0",

composer.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Container/CacheServiceRequirement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ private function retrieveCache(ContainerInterface $container): CacheItemPoolInte
2525
throw new RuntimeException(
2626
'A cache service must be defined in your container configuration under the key '
2727
. '[postmark][cache_service] that resolves to a Psr\Cache\CacheItemPoolInterface ' .
28-
'implementation of your choosing.'
28+
'implementation of your choosing.',
2929
);
3030
}
3131

src/Container/PermittedSendersFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __invoke(ContainerInterface $container): PermittedSenders
1818

1919
return new PermittedSenders(
2020
$container->get(PostmarkAdminClient::class),
21-
$cache
21+
$cache,
2222
);
2323
}
2424
}

src/Container/PostmarkTransportFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __invoke(ContainerInterface $container): PostmarkTransport
2828

2929
return new PostmarkTransport(
3030
$container->get(PostmarkClient::class),
31-
$validators->get($validatorId)
31+
$validators->get($validatorId),
3232
);
3333
}
3434
}

src/Container/SuppressionListFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function __invoke(ContainerInterface $container): SuppressionList
1616
{
1717
return new SuppressionList(
1818
$container->get(PostmarkClient::class),
19-
$this->retrieveCache($container)
19+
$this->retrieveCache($container),
2020
);
2121
}
2222
}

src/Container/Validator/FromAddressValidatorFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class FromAddressValidatorFactory
1313
public function __invoke(ContainerInterface $container): FromAddressValidator
1414
{
1515
return new FromAddressValidator(
16-
$container->get(PermittedSenders::class)
16+
$container->get(PermittedSenders::class),
1717
);
1818
}
1919
}

src/Container/Validator/IsPermittedSenderFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class IsPermittedSenderFactory
1313
public function __invoke(ContainerInterface $container): IsPermittedSender
1414
{
1515
return new IsPermittedSender(
16-
$container->get(PermittedSenders::class)
16+
$container->get(PermittedSenders::class),
1717
);
1818
}
1919
}

src/Exception/MessageValidationFailure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static function withValidator(ValidatorInterface $validator): self
1818
{
1919
$message = sprintf(
2020
'The message provided does not pass Postmark validation rules: ' . PHP_EOL . '%s',
21-
implode(PHP_EOL, $validator->getMessages())
21+
implode(PHP_EOL, $validator->getMessages()),
2222
);
2323

2424
return new self($message, 400);

src/Exception/NotAnEmailAddress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static function withString(string $invalidValue): self
1414
{
1515
return new self(sprintf(
1616
'The value "%s" is not a valid email address',
17-
$invalidValue
17+
$invalidValue,
1818
));
1919
}
2020
}

0 commit comments

Comments
 (0)