Skip to content

Commit

Permalink
Merge 32b913a into 6ab1bdd
Browse files Browse the repository at this point in the history
  • Loading branch information
mhujer committed Dec 4, 2021
2 parents 6ab1bdd + 32b913a commit b0ccfaf
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,22 @@ jobs:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest ]
php-versions: [ '8.0' ]
php-versions: [ '8.0', '8.1' ]
composer-dependencies: [ '', '--prefer-lowest' ]
composer-version: [ 'v1' ]
symfony-version: [ '' ]
extra-label: [ '' ]
include:
# Composer v2
- php-versions: '8.0'
operating-system: ubuntu-latest
composer-version: 'v2'
extra-label: 'Composer v2'

# Windows
- php-versions: '8.0'
operating-system: windows-latest
coverage: xdebug

# Windows
- php-versions: '8.1'
operating-system: windows-latest
coverage: xdebug

steps:
# see https://github.com/actions/checkout/issues/226#issue-606867805
- name: Prepare git
Expand All @@ -38,7 +37,7 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
ini-values: memory_limit=-1
tools: composer:${{ matrix.composer-version }}
tools: composer:v2
coverage: ${{ matrix.coverage }}

- name: Get composer cache directory
Expand All @@ -61,6 +60,8 @@ jobs:
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# see https://github.com/php-coveralls/php-coveralls/issues/327#issuecomment-984158780
run: |
composer global require symfony/console:5.4
composer global require php-coveralls/php-coveralls --no-progress --prefer-dist --optimize-autoloader
php-coveralls --coverage_clover=build/logs/clover.xml -v
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ java_script_error_handler:

Requirements
------------
PHP 8.0+ and Symfony 5.3+.
PHP 8.0+ and Symfony 5.4+.


Author
Expand All @@ -55,6 +55,10 @@ Author
Changelog
----------

### 1.7 (2021-12-04)
- require Symfony 5.4+
- PHP 8.1 support

### 1.6 (2021-08-01)
- require PHP 8.0+
- require Symfony 5.3+
Expand Down
28 changes: 14 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
],
"require": {
"php": "~8.0",
"symfony/config": "^5.3",
"symfony/dependency-injection": "^5.3",
"symfony/event-dispatcher": "^5.3",
"symfony/expression-language": "^5.3",
"symfony/http-foundation": "^5.3",
"symfony/http-kernel": "^5.3"
"symfony/config": "^5.4||^6.0",
"symfony/dependency-injection": "^5.4||^6.0",
"symfony/event-dispatcher": "^5.4||^6.0",
"symfony/expression-language": "^5.4||^6.0",
"symfony/http-foundation": "^5.4||^6.0",
"symfony/http-kernel": "^5.4||^6.0"
},
"require-dev": {
"composer/package-versions-deprecated": "1.11.99.1",
"composer/package-versions-deprecated": "1.11.99.4",
"consistence-community/coding-standard": "3.11.1",
"matthiasnoback/symfony-config-test": "4.2.1",
"matthiasnoback/symfony-dependency-injection-test": "4.2.1",
"php-parallel-lint/php-parallel-lint": "1.3.0",
"phpstan/phpstan": "0.12.94",
"phpstan/phpstan-phpunit": "0.12.21",
"phpstan/phpstan-symfony": "0.12.41",
"phpunit/phpunit": "9.5.8"
"matthiasnoback/symfony-config-test": "4.3.0",
"matthiasnoback/symfony-dependency-injection-test": "4.3.0",
"php-parallel-lint/php-parallel-lint": "1.3.1",
"phpstan/phpstan": "1.2.0",
"phpstan/phpstan-phpunit": "1.0.0",
"phpstan/phpstan-symfony": "1.0.2",
"phpunit/phpunit": "9.5.10"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit b0ccfaf

Please sign in to comment.