Skip to content

Commit

Permalink
Add php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
nenes25 committed Nov 7, 2023
1 parent 7dac518 commit 099569d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/php/.php-cs.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

$config = new PrestaShop\CodingStandards\CsFixer\Config();

$config
->setUsingCache(true)
->setCacheFile(__DIR__.'/.php-cs-fixer.cache')
->getFinder()
->in(__DIR__.'/../../')
->exclude(['vendor','translations']);

return $config;

0 comments on commit 099569d

Please sign in to comment.