Automation #113
automation.yml
on: schedule
automation
/
Generate job matrix
10s
Matrix: automation / qa
Annotations
16 warnings
automation / [PHP8.4][lowest]PHPUnit on ubuntu:
vendor/amphp/dns/src/functions.php#L14
Amp\Dns\dnsResolver(): Implicitly marking parameter $dnsResolver as nullable is deprecated, the explicit nullable type must be used instead
|
automation / [PHP8.4][lowest]PHPUnit on ubuntu:
vendor/amphp/dns/src/functions.php#L40
Amp\Dns\resolve(): Implicitly marking parameter $typeRestriction as nullable is deprecated, the explicit nullable type must be used instead
|
automation / [PHP8.4][lowest]PHPUnit on ubuntu:
vendor/amphp/socket/src/Internal/functions.php#L191
Amp\Socket\Internal\normalizeBindToOption(): Implicitly marking parameter $bindTo as nullable is deprecated, the explicit nullable type must be used instead
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Lexer/Token/Token.php#L41
Escaped Mutant for Mutator "MBString":
@@ @@
*/
public function getFullText(string $document): string
{
- return mb_substr($document, $this->start, $this->length);
+ return substr($document, $this->start, $this->length);
}
public function getKind(): int
{
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Lexer/Token/Token.php#L70
Escaped Mutant for Mutator "MBString":
@@ @@
*/
public function getText(string $document): string
{
- return mb_substr($document, $this->offset, $this->getTextLength());
+ return substr($document, $this->offset, $this->getTextLength());
}
public function getTextLength(): int
{
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Lexer/Token/Token.php#L83
Escaped Mutant for Mutator "MBString":
@@ @@
*/
public function getTrivia(string $document): string
{
- return mb_substr($document, $this->start, $this->getTriviaLength());
+ return substr($document, $this->start, $this->getTriviaLength());
}
public function getTriviaLength(): int
{
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Lexer/Token/Token.php#L88
Escaped Mutant for Mutator "Minus":
@@ @@
}
public function getTriviaLength(): int
{
- return $this->offset - $this->start;
+ return $this->offset + $this->start;
}
public function getWidth(): int
{
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Tokenizer.php#L18
Escaped Mutant for Mutator "MBString":
@@ @@
{
public function tokenize(string $input): Generator
{
- $length = mb_strlen($input);
+ $length = strlen($input);
$i = 0;
while ($i < $length) {
$byte1 = ord($input[$i]);
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Tokenizer.php#L24
Escaped Mutant for Mutator "LessThan":
@@ @@
$i = 0;
while ($i < $length) {
$byte1 = ord($input[$i]);
- if ($byte1 < 0x80) {
+ if ($byte1 <= 0x80) {
// Single-byte character
yield $i++ => $byte1;
continue;
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Tokenizer.php#L30
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
yield $i++ => $byte1;
continue;
}
- if (($byte1 & 0xe0) === 0xc0) {
+ if (($byte1 & 223) === 0xc0) {
// Two-byte character
$byte2 = ord($input[$i + 1]);
yield $i => ($byte1 & 0x1f) << 6 | $byte2 & 0x3f;
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Tokenizer.php#L30
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
yield $i++ => $byte1;
continue;
}
- if (($byte1 & 0xe0) === 0xc0) {
+ if (($byte1 & 225) === 0xc0) {
// Two-byte character
$byte2 = ord($input[$i + 1]);
yield $i => ($byte1 & 0x1f) << 6 | $byte2 & 0x3f;
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Tokenizer.php#L30
Escaped Mutant for Mutator "BitwiseAnd":
@@ @@
yield $i++ => $byte1;
continue;
}
- if (($byte1 & 0xe0) === 0xc0) {
+ if (($byte1 | 0xe0) === 0xc0) {
// Two-byte character
$byte2 = ord($input[$i + 1]);
yield $i => ($byte1 & 0x1f) << 6 | $byte2 & 0x3f;
|
automation / [PHP8.4][locked]Infection on ubuntu:
src/Tokenizer.php#L30
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
yield $i++ => $byte1;
continue;
}
- if (($byte1 & 0xe0) === 0xc0) {
+ if (($byte1 & 0xe0) === 191) {
// Two-byte character
$byte2 = ord($input[$i + 1]);
yield $i => ($byte1 & 0x1f) << 6 | $byte2 & 0x3f;
|
automation / [PHP8.4][lowest]PHPUnit on windows:
vendor/amphp/dns/src/functions.php#L14
Amp\Dns\dnsResolver(): Implicitly marking parameter $dnsResolver as nullable is deprecated, the explicit nullable type must be used instead
|
automation / [PHP8.4][lowest]PHPUnit on windows:
vendor/amphp/dns/src/functions.php#L40
Amp\Dns\resolve(): Implicitly marking parameter $typeRestriction as nullable is deprecated, the explicit nullable type must be used instead
|
automation / [PHP8.4][lowest]PHPUnit on windows:
vendor/amphp/socket/src/Internal/functions.php#L191
Amp\Socket\Internal\normalizeBindToOption(): Implicitly marking parameter $bindTo as nullable is deprecated, the explicit nullable type must be used instead
|