Skip to content

Commit c1a933d

Browse files
authored
Merge pull request #15 from Tobion/fix-indirect-deprecation
prevent indirect deprecations from making tests fail
2 parents 1704435 + 18a3a8c commit c1a933d

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v2
2626

2727
- name: Install dependencies
28-
run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress --prefer-dist
28+
run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress --prefer-dist --ansi
2929

3030
- name: Run tests
3131
run: vendor/bin/simple-phpunit
@@ -46,10 +46,10 @@ jobs:
4646
coverage: 'none'
4747

4848
- name: Checkout code
49-
uses: actions/checkout@v2
49+
uses: actions/checkout@v3
5050

5151
- name: Install dependencies
52-
run: composer update --no-interaction --prefer-stable --no-progress --prefer-dist
52+
run: composer update --no-interaction --prefer-stable --no-progress --prefer-dist --ansi
5353

5454
- name: Run tests
5555
run: vendor/bin/simple-phpunit
@@ -66,13 +66,13 @@ jobs:
6666
coverage: 'none'
6767

6868
- name: Checkout code
69-
uses: actions/checkout@v2
69+
uses: actions/checkout@v3
7070

7171
- name: Allow dev dependencies
7272
run: composer config minimum-stability dev
7373

7474
- name: Install dependencies
75-
run: composer update --no-interaction --no-progress --prefer-dist
75+
run: composer update --no-interaction --no-progress --prefer-dist --ansi
7676

7777
- name: Run tests
7878
continue-on-error: true

phpunit.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
verbose = "true"
88
bootstrap = "vendor/autoload.php"
99
>
10+
<php>
11+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[total]=10&#38;max[self]=0"/>
12+
</php>
13+
1014
<testsuites>
1115
<testsuite name="Test Suite">
1216
<directory>tests/</directory>

0 commit comments

Comments
 (0)