Browse Source

ajoute la dépendance à php-cs-fixer

master
vincent 3 months ago
parent
commit
e2ea5d81fe
5 changed files with 1076 additions and 28 deletions
  1. +5
    -0
      .gitignore
  2. +13
    -0
      .php-cs-fixer.dist.php
  3. +1
    -0
      composer.json
  4. +1045
    -28
      composer.lock
  5. +12
    -0
      symfony.lock

+ 5
- 0
.gitignore View File

@ -13,3 +13,8 @@
/public/assets/
/assets/vendor/
###< symfony/asset-mapper ###
###> friendsofphp/php-cs-fixer ###
/.php-cs-fixer.php
/.php-cs-fixer.cache
###< friendsofphp/php-cs-fixer ###

+ 13
- 0
.php-cs-fixer.dist.php View File

@ -0,0 +1,13 @@
<?php
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var')
;
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
])
->setFinder($finder)
;

+ 1
- 0
composer.json View File

@ -42,6 +42,7 @@
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.6",
"friendsofphp/php-cs-fixer": "^3.64",
"symfony/debug-bundle": "7.1.*",
"symfony/maker-bundle": "^1.60",
"symfony/stopwatch": "7.1.*",


+ 1045
- 28
composer.lock
File diff suppressed because it is too large
View File


+ 12
- 0
symfony.lock View File

@ -38,6 +38,18 @@
"migrations/.gitignore"
]
},
"friendsofphp/php-cs-fixer": {
"version": "3.64",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "3.0",
"ref": "be2103eb4a20942e28a6dd87736669b757132435"
},
"files": [
".php-cs-fixer.dist.php"
]
},
"knplabs/knp-paginator-bundle": {
"version": "v6.4.0"
},


Loading…
Cancel
Save