-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize the folder structure and apply new CS standard (#405)
* Reorganize the folder structure and apply new CS standard * Change XSD schema to use the lowest version available * Fix broken build due to route name being converted to number
- Loading branch information
Showing
126 changed files
with
294 additions
and
2,141 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
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,5 +3,7 @@ package.xml | |
/vendor | ||
.idea | ||
.php_cs.cache | ||
.phpunit.result.cache | ||
docs/_build | ||
var | ||
tests/clover.xml |
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,36 @@ | ||
<?php | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@PSR2' => true, | ||
'@Symfony' => true, | ||
'@Symfony:risky' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'concat_space' => ['spacing' => 'one'], | ||
'ordered_imports' => [ | ||
'imports_order' => ['class', 'function', 'const'], | ||
], | ||
'declare_strict_types' => true, | ||
'psr0' => true, | ||
'psr4' => true, | ||
'random_api_migration' => true, | ||
'yoda_style' => true, | ||
'self_accessor' => false, | ||
'phpdoc_no_useless_inheritdoc' => false, | ||
'phpdoc_to_comment' => false, | ||
'phpdoc_align' => [ | ||
'tags' => ['param', 'return', 'throws', 'type', 'var'], | ||
], | ||
'phpdoc_line_span' => [ | ||
'const' => 'multi', | ||
'method' => 'multi', | ||
'property' => 'multi', | ||
], | ||
]) | ||
->setRiskyAllowed(true) | ||
->setFinder( | ||
PhpCsFixer\Finder::create() | ||
->in(__DIR__) | ||
->exclude(['var']) | ||
) | ||
; |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
examples/symfony-3/app/Resources/views/default/index.html.twig
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.