Skip to content

Commit

Permalink
Merge pull request #128 from OskarStark/feature/latest-cs-fixer
Browse files Browse the repository at this point in the history
Use latest PHP-CS-Fixer version (3.13.2)
  • Loading branch information
tgalopin authored Jan 17, 2023
2 parents e6ef6a1 + 1d9cc5c commit 40b748c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
coverage: none
- name: php-cs-fixer
run: |
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.11.0/php-cs-fixer.phar -q
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.13.2/php-cs-fixer.phar -q
php php-cs-fixer.phar fix --dry-run --diff
tests-php-8-0-symfony-5-4:
Expand Down
4 changes: 1 addition & 3 deletions src/Exception/MissingPackageException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@

namespace League\FlysystemBundle\Exception;

use Throwable;

/**
* @author Titouan Galopin <[email protected]>
*
* @final
*/
class MissingPackageException extends \RuntimeException
{
public function __construct($message = '', Throwable $previous = null)
public function __construct($message = '', \Throwable $previous = null)
{
parent::__construct($message, 0, $previous);
}
Expand Down
3 changes: 1 addition & 2 deletions tests/TemporaryUrlGeneratorMock.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

namespace Tests\League\FlysystemBundle;

use DateTimeInterface;
use League\Flysystem\Config;
use League\Flysystem\UrlGeneration\TemporaryUrlGenerator;

final class TemporaryUrlGeneratorMock implements TemporaryUrlGenerator
{
public function temporaryUrl(string $path, DateTimeInterface $expiresAt, Config $config): string
public function temporaryUrl(string $path, \DateTimeInterface $expiresAt, Config $config): string
{
return "https://example.org/temporary/$path?expiresAt={$expiresAt->format('U')}";
}
Expand Down

0 comments on commit 40b748c

Please sign in to comment.