Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ yarn-error.log
/.phpcs-cache
/phpcs.xml
###< squizlabs/php_codesniffer ###

###> vincentlanglet/twig-cs-fixer ###
/.twig-cs-fixer.cache
###< vincentlanglet/twig-cs-fixer ###
2 changes: 1 addition & 1 deletion .php-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.2
8.3
13 changes: 13 additions & 0 deletions .twig-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

$ruleset = new TwigCsFixer\Ruleset\Ruleset();

// You can start from a default standard
$ruleset->addStandard(new TwigCsFixer\Standard\TwigCsFixer());
$ruleset->addStandard(new TwigCsFixer\Standard\Symfony());
$ruleset->addStandard(new TwigCsFixer\Standard\Twig());

$config = new TwigCsFixer\Config\Config();
$config->setRuleset($ruleset);

return $config;
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ How to use:
* symfony/validator
* symfony/messenger
* symfony/mailer
* symfony/rate-limiter

* Check the config folder, mostly:
* services.yaml
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.4",
"friendsoftwig/twigcs": "^6.0",
"phpstan/phpstan-doctrine": "^1.4",
"phpstan/phpstan-symfony": "^1.0",
"squizlabs/php_codesniffer": "^3.4",
"symfony/phpunit-bridge": "^7.1",
"symfony/stopwatch": "^7.1",
"tijsverkoyen/deployer-sumo": "^2"
"tijsverkoyen/deployer-sumo": "^2",
"vincentlanglet/twig-cs-fixer": "^2.11"
},
"config": {
"sort-packages": true,
Expand Down
281 changes: 218 additions & 63 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading