Skip to content

Commit 8fad2ae

Browse files
committed
Fix for php-cs-fixer 3
1 parent d5bc3f8 commit 8fad2ae

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ composer.lock
33
vendor/
44

55
# PHP Coding Standards Fixer
6-
.php_cs
7-
.php_cs.cache
6+
.php-cs-fixer.php
7+
.php-cs-fixer.cache
88

99
# PHPUnit
1010
phpunit.xml

.php_cs.dist renamed to .php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
->append([__FILE__])
1010
;
1111

12-
return PhpCsFixer\Config::create()
12+
return (new PhpCsFixer\Config())
1313
->setUsingCache(true)
1414
->setRules([
1515
'@DoctrineAnnotation' => true,

src/Model/AuthorizationCode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public function __construct(
4646
\DateTimeInterface $expiry,
4747
Client $client,
4848
?string $userIdentifier,
49-
array $scopes)
50-
{
49+
array $scopes
50+
) {
5151
$this->identifier = $identifier;
5252
$this->expiry = $expiry;
5353
$this->client = $client;

0 commit comments

Comments
 (0)