This commit is contained in:
Nicolas Grekas 2021-06-27 13:42:59 +02:00
parent e67587f3b9
commit 1bbacd5c86
3 changed files with 8 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- php: '7.4' - php: '7.2'
- php: '8.0' - php: '8.0'
- php: '7.4' - php: '7.4'
mode: high-deps mode: high-deps
@ -203,7 +203,7 @@ jobs:
[[ ! $X ]] || (exit 1) [[ ! $X ]] || (exit 1)
- name: Run tests with SIGCHLD enabled PHP - name: Run tests with SIGCHLD enabled PHP
if: "${{ matrix.php == '7.4' && ! matrix.mode }}" if: "${{ matrix.php == '7.2' && ! matrix.mode }}"
run: | run: |
mkdir build mkdir build
cd build cd build

View File

@ -36,6 +36,8 @@ abstract class AbstractAsciiTestCase extends TestCase
/** /**
* @dataProvider provideBytesAt * @dataProvider provideBytesAt
*
* @requires extension intl 66.2
*/ */
public function testBytesAt(array $expected, string $string, int $offset, int $form = null) public function testBytesAt(array $expected, string $string, int $offset, int $form = null)
{ {
@ -157,6 +159,8 @@ abstract class AbstractAsciiTestCase extends TestCase
/** /**
* @dataProvider provideLength * @dataProvider provideLength
*
* @requires extension intl 66.2
*/ */
public function testLength(int $length, string $string) public function testLength(int $length, string $string)
{ {

View File

@ -57,6 +57,8 @@ abstract class AbstractUnicodeTestCase extends AbstractAsciiTestCase
/** /**
* @dataProvider provideCodePointsAt * @dataProvider provideCodePointsAt
*
* @requires extension intl 66.2
*/ */
public function testCodePointsAt(array $expected, string $string, int $offset, int $form = null) public function testCodePointsAt(array $expected, string $string, int $offset, int $form = null)
{ {