forked from ezsystems/LegacyBridge
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ezsystems#32 from ezsystems/psr-2
Switched to PSR-2
- Loading branch information
Showing
176 changed files
with
3,213 additions
and
3,801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ composer.lock | |
ezpublish_legacy | ||
bin | ||
config.php | ||
.php_cs.cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
return Symfony\CS\Config\Config::create() | ||
->setUsingLinter(false) | ||
->setUsingCache(true) | ||
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL) | ||
->fixers([ | ||
'concat_with_spaces', | ||
'-concat_without_spaces', | ||
'-empty_return', | ||
'-phpdoc_params', | ||
'-phpdoc_separation', | ||
'-phpdoc_to_comment', | ||
'-spaces_cast', | ||
'-blankline_after_open_tag', | ||
'-single_blank_line_before_namespace', | ||
// psr0 has weird issues with our PSR-4 layout, so deactivating it. | ||
'-psr0', | ||
]) | ||
->finder( | ||
Symfony\CS\Finder\DefaultFinder::create() | ||
->in(__DIR__) | ||
->exclude([ | ||
'vendor', | ||
]) | ||
->files()->name('*.php') | ||
) | ||
; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.