❯ pa test --parallel
.......⨯......................................................⨯.......................
.........................................................
──────────────────────────────────────────────────────────────────────────────────────
FAILED Tests\Legacy\Http\Controllers\Api\Legacy\LeadSettings\LeadProviders</>… Error
Unknown named parameter $daily_cap_error_msg
TypeError
str_replace(): Argument #3 ($subject) must be of type array|string, null given
at vendor/nunomaduro/collision/src/Writer.php:179
175▕
176▕ foreach ($this->ignore as $ignore) {
177▕ if (is_string($ignore)) {
178▕ // Ensure paths are linux-style (like the ones on $this->ignore)
➜ 179▕ $sanitizedPath = (string) str_replace('\\', '/', $frame->getFile());
180▕ if (preg_match($ignore, $sanitizedPath)) {
181▕ return false;
182▕ }
183▕ }
+1 vendor frames
2 [internal]:0
NunoMaduro\Collision\Writer::NunoMaduro\Collision\{closure}()
+5 vendor frames
8 [internal]:0
NunoMaduro\Collision\Adapters\Phpunit\Style::NunoMaduro\Collision\Adapters\Phpunit\{closure}()
We are using this package along with PestPHP and are having the following issues as can be seen in the above error:
We are using this package along with PestPHP and are having the following issues as can be seen in the above error:
$frameobject, the file property is an empty string. Is this an error with the package, shouldn't it be able to process that if an empty string is a valid value for the file property in the frame object.