Skip to content

Commit 88f8904

Browse files
committed
massive update tests
1 parent d31912c commit 88f8904

File tree

65 files changed

+5661
-2000
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+5661
-2000
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,29 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
11+
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
1212
name: Run tests against php ${{matrix.php}}
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4
1616

1717
- name: Build Docker Container
18-
run: docker-compose -f docker-compose.yml build >/dev/null
18+
run: docker compose -f docker-compose.yml build >/dev/null
1919
env:
2020
PHP_VERSION: ${{matrix.php}}
2121

2222
- name: Composer Install
23-
run: docker-compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} test_runner composer install --no-progress
23+
run: docker compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} test_runner composer install --no-progress
2424
env:
2525
PHP_VERSION: ${{matrix.php}}
2626

2727
- name: Dump Reflection To File
28-
run: docker-compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} php_under_test /usr/local/bin/php tests/Tools/dump-reflection-to-file.php ReflectionData.json
28+
run: docker compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} php_under_test /usr/local/bin/php tests/Tools/dump-reflection-to-file.php ReflectionData.json
2929
env:
3030
PHP_VERSION: ${{matrix.php}}
3131

3232
- name: Run Tests
33-
run: docker-compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} test_runner vendor/bin/phpunit --no-progress --testsuite PHP_${{matrix.php}}
33+
run: docker compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} test_runner vendor/bin/phpunit --no-progress --testsuite PHP_${{matrix.php}}
3434
env:
3535
PHP_VERSION: ${{matrix.php}}
3636
additional:
@@ -41,13 +41,13 @@ jobs:
4141
uses: actions/checkout@v4
4242

4343
- name: Composer Install
44-
run: docker-compose -f docker-compose.yml run test_runner composer install --no-progress
44+
run: docker compose -f docker-compose.yml run test_runner composer install --no-progress
4545

4646
- name: Test PhpDoc
47-
run: docker-compose -f docker-compose.yml run test_runner vendor/bin/phpunit --no-progress --testsuite PhpDoc
47+
run: docker compose -f docker-compose.yml run test_runner vendor/bin/phpunit --no-progress --testsuite PhpDoc
4848

4949
- name: Test Stubs Map, Structure and Reflection
50-
run: docker-compose -f docker-compose.yml run test_runner vendor/bin/phpunit --no-progress --testsuite Structure
50+
run: docker compose -f docker-compose.yml run test_runner vendor/bin/phpunit --no-progress --testsuite Structure
5151

5252
- name: run cs fixer
53-
run: docker-compose -f docker-compose.yml run test_runner composer cs -- --show-progress=none
53+
run: docker compose -f docker-compose.yml run test_runner composer cs -- --show-progress=none

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"inspection"
1515
],
1616
"require-dev": {
17-
"nikic/php-parser": "v5.0.0",
18-
"phpdocumentor/reflection-docblock": "5.3.0",
19-
"phpunit/phpunit": "10.5.5",
20-
"friendsofphp/php-cs-fixer": "v3.46.0"
17+
"nikic/php-parser": "v5.1.0",
18+
"phpdocumentor/reflection-docblock": "5.4.1",
19+
"phpunit/phpunit": "11.3.0",
20+
"friendsofphp/php-cs-fixer": "v3.61.1"
2121
},
2222
"autoload": {
2323
"files": ["PhpStormStubsMap.php"]

0 commit comments

Comments
 (0)