Skip to content

Commit

Permalink
add & run ergebnis/composer-normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylhein committed Sep 18, 2024
1 parent 00baa37 commit 923efc1
Show file tree
Hide file tree
Showing 6 changed files with 609 additions and 76 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ static:
script:
- *versions-script
- *security-checks
# make sure composer.lock is up to date
- php composer.phar normalize --dry-run
# install php dependencies
- php composer.phar install --no-interaction --no-progress --ignore-platform-reqs
# Install node/JS dependencies
Expand Down
8 changes: 8 additions & 0 deletions .idea/Starter - Symfony 4.iml

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

11 changes: 11 additions & 0 deletions .idea/php.xml

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

24 changes: 0 additions & 24 deletions .idea/phpspec.xml

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

102 changes: 52 additions & 50 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "xm/starter_symfony_4",
"version": "1.0.0",
"description": "Starter for creating Symfony 4/5/6 sites at XM Media",
"license": "MIT",
"type": "project",
"description": "Starter for creating Symfony 4/5/6 sites at XM Media",
"version": "1.0.0",
"require": {
"php": "8.2.*",
"php": "~8.2.0",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-json": "*",
Expand Down Expand Up @@ -40,7 +40,7 @@
"symfony/flex": "^2.0",
"symfony/form": "*",
"symfony/framework-bundle": "*",
"symfony/http-client": "6.4.*",
"symfony/http-client": "~6.4.0",
"symfony/mailer": "*",
"symfony/messenger": "*",
"symfony/monolog-bundle": "^3.5",
Expand Down Expand Up @@ -69,6 +69,7 @@
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.0",
"ekino/phpstan-banned-code": "^2.0",
"ergebnis/composer-normalize": "^2.43",
"fakerphp/faker": "^1.8",
"friendsofphp/php-cs-fixer": "^3.0",
"jetbrains/phpstorm-attributes": "^1.0",
Expand All @@ -93,19 +94,22 @@
"symfony/web-profiler-bundle": "*",
"theofidry/alice-data-fixtures": "^1.1"
},
"config": {
"optimize-autoloader": true,
"bin-dir": "bin",
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"symfony/flex": true,
"symfony/runtime": true,
"php-http/discovery": true
}
"replace": {
"paragonie/random_compat": "^2.0",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php56": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php74": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php82": "*"
},
"conflict": {
"symfony/symfony": "*"
},
"autoload": {
"psr-4": {
Expand All @@ -117,52 +121,50 @@
"App\\Tests\\": "tests/"
}
},
"replace": {
"paragonie/random_compat": "2.*",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php82": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php74": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"ergebnis/composer-normalize": true,
"php-http/discovery": true,
"symfony/flex": true,
"symfony/runtime": true
},
"bin-dir": "bin",
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"extra": {
"symfony": {
"allow-contrib": true,
"require": "6.4.*"
}
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
],
"test": "bin/simple-phpunit",
"test:coverage": [
"@putenv XDEBUG_MODE=coverage",
"bin/simple-phpunit --coverage-html coverage"
],
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"cs": "php-cs-fixer fix -v --dry-run --config=./.php-cs-fixer.dist.php",
"cs:fix": "php-cs-fixer fix -v --config=./.php-cs-fixer.dist.php",
"php-cs-fixer": "@cs",
"phpcs": "@cs",
"rector": "bin/rector --dry-run --xdebug",
"rector:fix": "bin/rector --xdebug",
"static": "php bin/phpstan analyse --memory-limit 2G",
"static-strict": "php bin/phpstan analyse --configuration phpstan.strict.dist.neon --memory-limit 2G",
"rector": "bin/rector --dry-run --xdebug",
"rector:fix": "bin/rector --xdebug"
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": true,
"require": "6.4.*"
}
"test": "bin/simple-phpunit",
"test:coverage": [
"@putenv XDEBUG_MODE=coverage",
"bin/simple-phpunit --coverage-html coverage"
]
}
}
Loading

0 comments on commit 923efc1

Please sign in to comment.