Skip to content

Commit

Permalink
Merge pull request #1737 from cultuurnet/III-6150-upgrade-php-cs-fixer
Browse files Browse the repository at this point in the history
III-6150 Upgrade php-cs-fixer
  • Loading branch information
LucWollants committed Aug 7, 2024
2 parents 565405a + 946ccfd commit 1c87a1a
Show file tree
Hide file tree
Showing 7 changed files with 350 additions and 392 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ term_mapping_*.yml
# Build directories
/pkg
/.bundle
.php-cs-fixer.cache
File renamed without changes.
2 changes: 1 addition & 1 deletion app/Http/CustomLeagueRouterStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function invokeRouteCallable(Route $route, ServerRequestInterface $reques

protected function throwThrowableMiddleware(Throwable $error): MiddlewareInterface
{
return new class($error) implements MiddlewareInterface {
return new class ($error) implements MiddlewareInterface {
protected Throwable $error;

public function __construct(Throwable $error)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"mikey179/vfsstream": "~1.6.2",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9.5",
"publiq/php-cs-fixer-config": "^1.3",
"publiq/php-cs-fixer-config": "^2.0",
"rector/rector": "^0.14.5"
},
"prefer-stable": true,
Expand Down
Loading

0 comments on commit 1c87a1a

Please sign in to comment.