Skip to content

Commit a08e009

Browse files
authored
update pipeline and analysis tools (fixes allure-framework#85, via allure-framework#90)
1 parent f8fe2a6 commit a08e009

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
php-version:
2020
- "8.0"
2121
- "8.1"
22+
- "8.2"
2223
os:
2324
- ubuntu-latest
2425
- windows-latest
@@ -48,19 +49,19 @@ jobs:
4849
${{ matrix.composer-options }}
4950

5051
- name: Run tests
51-
if: ${{ matrix.os != 'windows-latest' && matrix.php-version != '8.1' }}
52+
if: ${{ matrix.os != 'windows-latest' && matrix.php-version != '8.2' }}
5253
run: composer test
5354

5455
- name: Run tests (windows)
55-
if: ${{ matrix.os == 'windows-latest' && matrix.php-version != '8.1' }}
56+
if: ${{ matrix.os == 'windows-latest' && matrix.php-version != '8.2' }}
5657
run: composer test-windows
5758

5859
- name: Run tests (experimental)
59-
if: ${{ matrix.os != 'windows-latest' && matrix.php-version == '8.1' }}
60+
if: ${{ matrix.os != 'windows-latest' && matrix.php-version == '8.2' }}
6061
continue-on-error: true
6162
run: composer test
6263

6364
- name: Run tests (windows, experimental)
64-
if: ${{ matrix.os == 'windows-latest' && matrix.php-version == '8.1' }}
65+
if: ${{ matrix.os == 'windows-latest' && matrix.php-version == '8.2' }}
6566
continue-on-error: true
6667
run: composer test-windows

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"phpunit/phpunit": "^9"
3535
},
3636
"require-dev": {
37-
"brianium/paratest": "^6.4.1",
37+
"brianium/paratest": "^6.8",
3838
"psalm/plugin-phpunit": "^0.18.4",
39-
"squizlabs/php_codesniffer": "^3.6.2",
40-
"vimeo/psalm": "^4.16.1"
39+
"squizlabs/php_codesniffer": "^3.7.1",
40+
"vimeo/psalm": "^5.4"
4141
},
4242
"conflict": {
4343
"amphp/byte-stream": "<1.5.1"

src/Internal/TestLifecycle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ private function buildTestInfo(string $test, ?string $host = null, ?string $thre
180180
$dataLabel = null;
181181
}
182182

183+
/** @psalm-suppress PossiblyUndefinedArrayOffset */
183184
[$class, $method] = isset($classAndMethod)
184185
? array_pad(explode('::', $classAndMethod, 2), 2, null)
185186
: [null, null];

test/report/Generate/RetriesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ public function testRerunsOfTestWithIndexedDataProvider(string $firstValue, stri
7171
Allure::parameter('Run index', (string) $this->getRunIndex(__METHOD__), true);
7272
$this->expectNotToPerformAssertions();
7373
}
74-
74+
7575
/**
76-
* @return iterable<array{string, string}>
76+
* @return iterable<int, array{string, string}>
7777
*/
7878
public function providerIndexedData(): iterable
7979
{

0 commit comments

Comments
 (0)