This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
github-actions: bump shivammathur/setup-php from 2.25.4 to 2.25.5 #980
continuous-integration.yml
on: push
Matrix: Run CI / Lint PHP
Matrix: Run CI / Linting with overtrue/phplint
Matrix: Run CI / Validate composer
Matrix: Run CI / Validate yaml
Matrix: Run CI / Install dependencies
Matrix: Run CI / Checks with Psalm
Matrix: Run CI / Check Coding Standards with PHP-CS-Fixer
Matrix: Run CI / Check Coding Standards with PHPCS
Matrix: Run CI / Check Rules with PHPMD
Matrix: Run CI / Checks with Rector
Matrix: Run CI / Static Code Analysis with PHPStan
Matrix: UnitTests with PHPUnit
Matrix: Code Coverage with PHPUnit
Unit & Integration Tests Status
0s
Annotations
16 warnings
Code Coverage with PHPUnit (ubuntu-20.04, 8.2, highest):
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);
}
}
|
Code Coverage with PHPUnit (ubuntu-20.04, 8.2, highest):
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);
|
Code Coverage with PHPUnit (ubuntu-20.04, 8.1, highest):
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);
}
}
|
Code Coverage with PHPUnit (ubuntu-20.04, 8.1, highest):
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);
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
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);
}
}
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
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);
|
Code Coverage with PHPUnit (ubuntu-20.04, 8.1, lowest):
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);
}
}
|
Code Coverage with PHPUnit (ubuntu-20.04, 8.1, lowest):
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);
|
Code Coverage with PHPUnit (ubuntu-20.04, 8.2, lowest):
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);
}
}
|
Code Coverage with PHPUnit (ubuntu-20.04, 8.2, lowest):
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);
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.2, lowest):
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);
}
}
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.2, lowest):
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);
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.2, highest):
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);
}
}
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.2, highest):
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);
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, highest):
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);
}
}
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, highest):
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);
|