Skip to content

Commit

Permalink
fix: php-cs-fixer config, gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
maikschneider committed Jan 6, 2024
1 parent 99ec036 commit 54925a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
core
public/_assets
public/index.php
public/fileadmin
public/typo3
public/typo3conf

vendor
vendor
var
4 changes: 2 additions & 2 deletions php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
// Exclude all files and directories from .gitignore
$finder = (new PhpCsFixer\Finder())
->ignoreVCSIgnored(true)
->exclude(realpath(__DIR__ . '/public'))
->in(realpath(__DIR__));
->in(realpath(__DIR__))
->exclude(realpath(__DIR__ . '/public'));

// Return a Code Sniffing configuration using
// all sniffers needed for PSR-2
Expand Down

0 comments on commit 54925a2

Please sign in to comment.