Skip to content

Commit aa43f25

Browse files
Merge branch 'main' into variadic-array
# Conflicts: # composer.json
2 parents aad60ab + c1c9930 commit aa43f25

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
tests:
14-
name: "PHP ${{ matrix.php }} + Doctrine ORM ${{ matrix.doctrine-orm }} + Composer ${{ matrix.composer-flags }}"
14+
name: "PHP ${{ matrix.php }} + Doctrine ORM ${{ matrix.doctrine-orm }}"
1515
runs-on: ubuntu-latest
1616

1717
strategy:
@@ -22,7 +22,6 @@ jobs:
2222
- php: '8.2'
2323
- php: '8.3'
2424
- php: '8.4'
25-
ignore-php-version: true
2625
calculate-code-coverage: true
2726
- doctrine-orm: '2.14'
2827
- doctrine-orm: '3.0'
@@ -54,11 +53,11 @@ jobs:
5453
- name: Install composer dependencies
5554
run: |
5655
if [ "${{ matrix.doctrine-orm }}" == "2.14" ]; then
57-
composer require doctrine/orm "~2.14" --prefer-dist --no-interaction --no-progress ${{ matrix.composer-flags }}
56+
composer require doctrine/orm "~2.14" --prefer-dist --no-interaction --no-progress
5857
elif [ "${{ matrix.doctrine-orm }}" == "3.0" ]; then
59-
composer require doctrine/orm "~3.0" --prefer-dist --no-interaction --no-progress ${{ matrix.composer-flags }}
58+
composer require doctrine/orm "~3.0" --prefer-dist --no-interaction --no-progress
6059
else
61-
composer update --prefer-dist --no-interaction --no-progress ${{ matrix.composer-flags }}
60+
composer update --prefer-dist --no-interaction --no-progress }}
6261
fi
6362
6463
- name: Run static analysis
@@ -67,9 +66,6 @@ jobs:
6766

6867
- name: Check code style
6968
run: composer check-code-style
70-
if: matrix.ignore-php-version == true
71-
env:
72-
PHP_CS_FIXER_IGNORE_ENV: 1
7369

7470
- name: Check for security vulnerabilities in 3rd party dependencies
7571
run: composer audit
@@ -79,8 +75,9 @@ jobs:
7975

8076
- name: Upload coverage results to Coveralls
8177
if: matrix.calculate-code-coverage == true
82-
env:
83-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84-
COVERALLS_PARALLEL: true
85-
COVERALLS_FLAG_NAME: "PHP ${{ matrix.php }} + Composer@${{ matrix.composer-flags || '*' }}"
86-
run: bin/php-coveralls -v --exclude-no-stmt
78+
uses: coverallsapp/github-action@v2
79+
with:
80+
github-token: ${{ secrets.GITHUB_TOKEN }}
81+
fail-on-error: false
82+
base-path: ./var/logs/test-coverage/
83+
flag-name: "PHP ${{ matrix.php }}"

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@
4343
"doctrine/dbal": "~2.10||~3.0||~4.0"
4444
},
4545
"require-dev": {
46+
"deptrac/deptrac": "^3.0",
4647
"doctrine/orm": "~2.14||~3.0",
4748
"ekino/phpstan-banned-code": "^1.0",
4849
"friendsofphp/php-cs-fixer": "^3.72.0",
49-
"php-coveralls/php-coveralls": "^2.7.0",
5050
"phpstan/phpstan": "^1.12.21",
5151
"phpstan/phpstan-phpunit": "^1.4.2",
5252
"phpunit/phpunit": "^10.5.45",
53-
"qossmic/deptrac": "^2.0.4",
5453
"rector/rector": "^1.2.10",
5554
"symfony/cache": "^6.4||^7.0"
5655
},
@@ -92,7 +91,7 @@
9291
"@phpunit"
9392
],
9493
"run-tests-with-clover": [
95-
"@phpunit --coverage-clover=./var/logs/clover.xml"
94+
"@phpunit --coverage-clover=./var/logs/test-coverage/clover.xml"
9695
]
9796
},
9897

0 commit comments

Comments
 (0)