Skip to content

Commit 717a8e9

Browse files
committed
chore: types
1 parent 48bc408 commit 717a8e9

4 files changed

Lines changed: 8 additions & 9 deletions

File tree

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"amphp/amp": "^3.1.1",
1818
"amphp/http-server": "^3.4.4",
1919
"amphp/websocket-client": "^2.0.2",
20-
"pestphp/pest": "^4.3.2",
20+
"pestphp/pest": "^4.4.3",
2121
"pestphp/pest-plugin": "^4.0.0",
22-
"symfony/process": "^7.4.5|^8.0.5"
22+
"symfony/process": "^7.4.8|^8.0.5"
2323
},
2424
"autoload": {
2525
"psr-4": {
@@ -40,11 +40,11 @@
4040
"require-dev": {
4141
"ext-pcntl": "*",
4242
"ext-posix": "*",
43-
"livewire/livewire": "^3.7.10",
44-
"nunomaduro/collision": "^8.9.0",
45-
"orchestra/testbench": "^10.9.0",
43+
"livewire/livewire": "^3.7.13",
44+
"nunomaduro/collision": "^8.9.2",
45+
"orchestra/testbench": "^10.11.0",
4646
"pestphp/pest-dev-tools": "^4.1.0",
47-
"pestphp/pest-plugin-laravel": "^4.0",
47+
"pestphp/pest-plugin-laravel": "^4.1",
4848
"pestphp/pest-plugin-type-coverage": "^4.0.3"
4949
},
5050
"minimum-stability": "dev",

rector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@
1818
typeDeclarations: true,
1919
privatization: true,
2020
earlyReturn: true,
21-
strictBooleans: true,
2221
)
2322
->withPhpSets();

src/Api/Concerns/MakesUrlAssertions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public function assertQueryStringHas(string $name, ?string $value = null): Webpa
231231
return $this;
232232
}
233233

234-
$parsedOutputName = is_array($output[$name]) ? implode(',', $output[$name]) : $output[$name];
234+
$parsedOutputName = is_array($output[$name]) ? implode(',', $output[$name]) : $output[$name]; // @phpstan-ignore argument.type
235235

236236
$message = "Query string parameter [{$name}] had value [{$parsedOutputName}], but expected [{$value}].";
237237
expect($output[$name])->toBe($value, $message);

src/Playwright/Servers/PlaywrightNpmServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private function ensurePlaywrightIsInstalledAndVersionIsSupported(): void
156156
$output = $process->getOutput();
157157

158158
// check if the output matches the required version
159-
if (in_array(preg_match('/^Version\s+(\d+\.\d+\.\d+)/', $output, $matches), [0, false], true)) {
159+
if (in_array(preg_match('/^Version\s+(\d+\.\d+\.\d+)/', $output, $matches), [0, false], true) || ! isset($matches[1])) {
160160
throw new PlaywrightNotInstalledException();
161161
}
162162

0 commit comments

Comments
 (0)