Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

Commit 593feb4

Browse files
authored
DevKit updates (#329)
1 parent 3634d68 commit 593feb4

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/test.yaml

-8
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ jobs:
3636
dependencies: lowest
3737
allowed-to-fail: false
3838
variant: normal
39-
- php-version: '8.0'
40-
dependencies: highest
41-
allowed-to-fail: true
42-
variant: normal
4339
- php-version: '7.4'
4440
dependencies: highest
4541
allowed-to-fail: false
@@ -60,10 +56,6 @@ jobs:
6056
- name: Add PHPUnit matcher
6157
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
6258

63-
- name: Configuration required for PHP 8.0
64-
if: matrix.php-version == '8.0'
65-
run: composer config platform.php 7.4.99
66-
6759
- name: Globally install symfony/flex
6860
if: matrix.symfony-require != ''
6961
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex

tests/bootstrap.php

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* file that was distributed with this source code.
1212
*/
1313

14+
use Doctrine\Deprecations\Deprecation;
15+
1416
/*
1517
* DO NOT EDIT THIS FILE!
1618
*
@@ -24,6 +26,10 @@
2426

2527
require_once __DIR__.'/../vendor/autoload.php';
2628

29+
if (class_exists(Deprecation::class)) {
30+
Deprecation::enableWithTriggerError();
31+
}
32+
2733
if (file_exists($file = __DIR__.'/custom_bootstrap.php')) {
2834
require_once $file;
2935
}

0 commit comments

Comments
 (0)