Skip to content

Commit 162969e

Browse files
authored
Merge pull request #189 from GromNaN/update-cs
fix: Update PHP-CS-Fixer and fix implicit nullable
2 parents bf5ab3c + c7d21ad commit 162969e

File tree

5 files changed

+3
-12
lines changed

5 files changed

+3
-12
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '8.0'
18+
php-version: '8.4'
1919
coverage: none
2020
- name: php-cs-fixer
2121
run: |
22-
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.13.2/php-cs-fixer.phar -q
22+
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.85.1/php-cs-fixer.phar -q
2323
php php-cs-fixer.phar fix --dry-run --diff
2424
2525
phpunit:

src/DependencyInjection/Compiler/GcloudFactoryPass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414
final class GcloudFactoryPass implements CompilerPassInterface
1515
{
16-
/**
17-
* {@inheritdoc}
18-
*/
1916
public function process(ContainerBuilder $container): void
2017
{
2118
if (!class_exists(GoogleCloudStorageAdapter::class)) {

src/DependencyInjection/Compiler/LazyFactoryPass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
*/
2424
final class LazyFactoryPass implements CompilerPassInterface
2525
{
26-
/**
27-
* {@inheritdoc}
28-
*/
2926
public function process(ContainerBuilder $container): void
3027
{
3128
$factories = [];

src/Exception/MissingPackageException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
final class MissingPackageException extends \RuntimeException
1818
{
19-
public function __construct(string $message = '', \Throwable $previous = null)
19+
public function __construct(string $message = '', ?\Throwable $previous = null)
2020
{
2121
parent::__construct($message, 0, $previous);
2222
}

src/FlysystemBundle.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
*/
2222
final class FlysystemBundle extends Bundle
2323
{
24-
/**
25-
* {@inheritdoc}
26-
*/
2724
public function build(ContainerBuilder $container): void
2825
{
2926
parent::build($container);

0 commit comments

Comments
 (0)