Skip to content

Commit

Permalink
feat: [OP-237] PHP Rector
Browse files Browse the repository at this point in the history
  • Loading branch information
Emma1987 committed Feb 16, 2024
1 parent 4424024 commit b91519c
Show file tree
Hide file tree
Showing 9 changed files with 915 additions and 2,506 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
# If you need a specific PHP version that is available on `ubuntu-latest`,
# uncomment this configuration, specify the PHP version needed and change the version below in `Install PHP dependencies`
# Docs: https://github.com/shivammathur/setup-php
#- name: Setup PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: "8.1"
# tools: phpunit-bridge
# extensions: mbstring, xml, ctype, iconv, intl
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
tools: phpunit-bridge
extensions: mbstring, xml, ctype, iconv, intl
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
Expand All @@ -30,8 +27,9 @@ jobs:
- name: Install PHP dependencies (composer install)
uses: php-actions/composer@v6
with:
php_version: "8.0"
php_version: "8.1"
php_extensions: xsl intl
memory_limit: -1
- name: Remove auth.json file
run: rm -f $GITHUB_WORKSPACE/auth.json
- name: Restore configs overwritten by the eckinox/eckinox-cs install
Expand Down
14 changes: 8 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
],
"minimum-stability": "stable",
"require": {
"php": ">=8.0",
"symfony/form": "5.4.*",
"twig/twig": "^2.12|^3.0",
"symfony/http-client": "5.4.*",
"symfony/framework-bundle": "5.4.*",
"php": ">=8.1.0",
"doctrine/orm": "^2.8",
"symfony/serializer": "5.4.*"
"symfony/form": "^5.4|^6.0",
"symfony/framework-bundle": "^5.4|^6.0",
"symfony/http-client": "^5.4|^6.0",
"symfony/serializer": "^5.4|^6.0",
"symfony/translation": "^5.4|^6.0",
"symfony/validator": "^5.4|^6.0",
"twig/twig": "^2.12|^3.0"
},
"require-dev": {
"eckinox/eckinox-cs": "^2.0"
Expand Down
Loading

0 comments on commit b91519c

Please sign in to comment.