Skip to content

Commit 9c8289e

Browse files
spawniashish
authored andcommitted
Fix tests with latest dependencies
1 parent 4e0c969 commit 9c8289e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/tests.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
- "8.2"
1919
- "8.3"
2020
- "8.4"
21-
dependencies: ["highest"]
21+
dependencies:
22+
- "highest"
2223
include:
2324
- description: "(lowest)"
2425
php: "8.1"
@@ -44,7 +45,7 @@ jobs:
4445
- name: "Upload test coverage"
4546
uses: codecov/codecov-action@v5
4647
with:
47-
files: "./coverage.xml"
48+
files: coverage.xml
4849
fail_ci_if_error: true
4950
env:
5051
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

tests/Type/Php/data/preg_match_checked.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// when the return value is checked, we should have matches,
1010
// unless the match-group itself is optional
11-
$type = "array{0: string, 1: non-empty-string, 2: 'o', 3?: 'World'}";
11+
$type = "array{0: non-falsy-string, 1: non-empty-string, 2: 'o', 3?: 'World'}";
1212

1313
// @phpstan-ignore-next-line - use of unsafe is intentional
1414
if(\preg_match($pattern, $string, $matches)) {

0 commit comments

Comments
 (0)