Skip to content

Commit

Permalink
Merge pull request #11 from veewee/parallel-cs-fixer
Browse files Browse the repository at this point in the history
Enable parallel cs-fixer execution
  • Loading branch information
veewee authored May 16, 2024
2 parents 8033d15 + 55c4d34 commit 87b8fe3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"require": {
"php": "^8.1",
"brianium/paratest": "^6.3|^7.0",
"php-cs-fixer/shim": "^3.18",
"php-cs-fixer/shim": "^3.57",
"phpro/grumphp-shim": "^2.0",
"phpunit/phpunit": "^9.5|^10.0"
},
Expand Down
1 change: 1 addition & 0 deletions configs/.php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
])
)
->setRiskyAllowed(true)
->setParallelConfig(\PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setRules([
'@PSR12' => true,
'@Symfony' => true,
Expand Down
3 changes: 2 additions & 1 deletion recipes/phpro.symfony-conventions.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
" ])",
" )",
" ->setRiskyAllowed(true)",
" ->setParallelConfig(\\PhpCsFixer\\Runner\\Parallel\\ParallelConfigFactory::detect())",
" ->setRules([",
" '@PSR12' => true,",
" '@Symfony' => true,",
Expand Down Expand Up @@ -121,7 +122,7 @@
"executable": false
}
},
"ref": "1f1bca2d576942aece315d8e6462a0a1aea8572e"
"ref": "9f36cadf0e3b4158fbaa6c9c19e6f99931540094"
}
}
}

0 comments on commit 87b8fe3

Please sign in to comment.