This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
composer(deps-dev): update phpunit/phpunit requirement #948
Annotations
2 warnings
src/GenericRequestFactory.php#L79
Escaped Mutant for Mutator "CastString":
--- Original
+++ New
@@ @@
/** @throws void */
private function filterHeader(string $header) : string
{
- return (string) preg_replace(["#(?:(?:(?<!\r)\n)|(?:\r(?!\n))|(?:\r\n(?![ \t])))#", '/[^\\x09\\x0a\\x0d\\x20-\\x7E\\x80-\\xFE]/'], '-', $header);
+ return preg_replace(["#(?:(?:(?<!\r)\n)|(?:\r(?!\n))|(?:\r\n(?![ \t])))#", '/[^\\x09\\x0a\\x0d\\x20-\\x7E\\x80-\\xFE]/'], '-', $header);
}
}
|
src/Header/XOperaminiPhoneUa.php#L40
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
/** @throws void */
public function hasDeviceInfo() : bool
{
- if (in_array(mb_strtolower($this->value), ['mozilla/5.0 (bada 2.0.0)', 'motorola'], true)) {
+ if (in_array(mb_strtolower($this->value), ['motorola'], true)) {
return false;
}
return (bool) preg_match('/samsung|nokia|blackberry|smartfren|sprint|iphone|lava|gionee|philips|htc|pantech|lg|casio|zte|mi 2sc/i', $this->value);
|
The logs for this run have expired and are no longer available.
Loading