Skip to content

Commit

Permalink
First attempt on indentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Dec 24, 2023
1 parent cc80d23 commit 46676ef
Show file tree
Hide file tree
Showing 1,057 changed files with 129,715 additions and 129,721 deletions.
20 changes: 9 additions & 11 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
* https://mlocati.github.io/php-cs-fixer-configurator/#version:3.41.1|configurator
* you can change this configuration by importing this file.
*/

$finder = Symfony\Component\Finder\Finder::create()->in([
__DIR__ . '/upload/'
])->name('*.php')->ignoreDotFiles(true)->exclude([
__DIR__ . '/upload/system/storage/vendor/'
]);

$config = new PhpCsFixer\Config();

return $config->setRiskyAllowed(true)->setIndent("\t")->setRules([
Expand Down Expand Up @@ -37,14 +44,5 @@
'normalize_index_brace' => true,
'pow_to_exponentiation' => true,
'use_arrow_functions' => true,
'void_return' => true->setFinder(
PhpCsFixer\Finder::create()->in(__DIR__ . '/upload/')->exclude(
[
__DIR__ . '/upload/system/storage/vendor/',
]
)
// ->append([
// 'file-to-include',
// ])
)
]);
'void_return' => true,
])->setFinder($finder);
Loading

0 comments on commit 46676ef

Please sign in to comment.