Skip to content

Commit

Permalink
realodix/relax v1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jul 11, 2024
1 parent 5ca07dd commit 78a1fe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
use Realodix\Relax\Finder;

$localRules = [
// Realodix
'binary_operator_spaces' => [
'operators' => [
'=>' => 'align_single_space',
'=' => 'single_space', ],
],
//
];

$finder = Finder::base()
->in(__DIR__)
->append(['.php-cs-fixer.dist.php']);

return Config::create('Realodix')
return Config::create('relax')
->setFinder($finder)
->setRules($localRules)
->setFinder($finder);
->setCacheFile(__DIR__.'/.tmp/.php-cs-fixer.cache');
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"require-dev": {
"phpunit/phpunit": "^10.5 || ^11.0",
"realodix/relax": "^1.12"
"realodix/relax": "^1.15"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit 78a1fe2

Please sign in to comment.