Skip to content

Commit

Permalink
Rector installation (#1590)
Browse files Browse the repository at this point in the history
* rector installation before 1st pass
* rector installation 1st pass
  • Loading branch information
stakovicz authored Jan 21, 2025
1 parent cf646d3 commit 6dbd009
Show file tree
Hide file tree
Showing 52 changed files with 565 additions and 417 deletions.
10 changes: 3 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,9 @@ js_dist
/var/sessions/*
!var/sessions/.gitkeep
/htdocs/bundles/
/bin/atoum
/bin/behat
/bin/generate_vcards
/bin/phinx
/bin/php-cs-fixer
/bin/simple-phpunit
/bin/vobject
/bin/*
!/bin/console
!/bin/doctrine-dbal
/compose.override.yml
/composer.phar
/data
Expand Down
2 changes: 1 addition & 1 deletion app/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
continue;
}

list($name, $default) = explode('=', $line, 2);
[$name, $default] = explode('=', $line, 2);
// On va chercher dans les variables d'env en premier
if (!$value = getenv($name)) {
$value = $default;
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"behat/mink-extension": "^2.3",
"behat/mink-goutte-driver": "^1.2",
"friendsofphp/php-cs-fixer": "~2",
"rector/rector": "^2.0",
"smalot/pdfparser": "^0.19.0"
},
"repositories": [
Expand Down
Loading

0 comments on commit 6dbd009

Please sign in to comment.