Skip to content

Commit 40b748c

Browse files
authored
Merge pull request #128 from OskarStark/feature/latest-cs-fixer
Use latest PHP-CS-Fixer version (3.13.2)
2 parents e6ef6a1 + 1d9cc5c commit 40b748c

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
coverage: none
2020
- name: php-cs-fixer
2121
run: |
22-
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.11.0/php-cs-fixer.phar -q
22+
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.13.2/php-cs-fixer.phar -q
2323
php php-cs-fixer.phar fix --dry-run --diff
2424
2525
tests-php-8-0-symfony-5-4:

src/Exception/MissingPackageException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@
1111

1212
namespace League\FlysystemBundle\Exception;
1313

14-
use Throwable;
15-
1614
/**
1715
* @author Titouan Galopin <[email protected]>
1816
*
1917
* @final
2018
*/
2119
class MissingPackageException extends \RuntimeException
2220
{
23-
public function __construct($message = '', Throwable $previous = null)
21+
public function __construct($message = '', \Throwable $previous = null)
2422
{
2523
parent::__construct($message, 0, $previous);
2624
}

tests/TemporaryUrlGeneratorMock.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111

1212
namespace Tests\League\FlysystemBundle;
1313

14-
use DateTimeInterface;
1514
use League\Flysystem\Config;
1615
use League\Flysystem\UrlGeneration\TemporaryUrlGenerator;
1716

1817
final class TemporaryUrlGeneratorMock implements TemporaryUrlGenerator
1918
{
20-
public function temporaryUrl(string $path, DateTimeInterface $expiresAt, Config $config): string
19+
public function temporaryUrl(string $path, \DateTimeInterface $expiresAt, Config $config): string
2120
{
2221
return "https://example.org/temporary/$path?expiresAt={$expiresAt->format('U')}";
2322
}

0 commit comments

Comments
 (0)