Skip to content

Commit 4c3a137

Browse files
author
Alexander Walther
authored
Merge pull request #137 from crydotsnake/task/apply-phpcs-fixes
TASK: apply PHPCS fixes
2 parents 6aab68b + 5d31c4f commit 4c3a137

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.php-cs-fixer.dist.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
$finder = (new PhpCsFixer\Finder())
64
->in(__DIR__)
75
;
86

9-
return (new Redaxo\PhpCsFixerConfig\Config())
7+
return (Redaxo\PhpCsFixerConfig\Config::redaxo5())
108
->setFinder($finder)
11-
;
9+
;

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"require-dev": {
3-
"redaxo/php-cs-fixer-config": "^2.0",
4-
"friendsofphp/php-cs-fixer": "^3.14"
3+
"redaxo/php-cs-fixer-config": "^2.13"
54
},
65
"replace": {
76
"psr/log": "*",

0 commit comments

Comments
 (0)