Skip to content

Fix docs (#51)

Fix docs (#51) #247

Triggered via push May 7, 2024 16:34
Status Success
Total duration 51s
Artifacts

mutation.yml

on: push
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
mutation / PHP 8.1-ubuntu-latest: src/ContentDispositionHeader.php#L66
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ public static function value(string $type, ?string $fileName = null) : string { if (!in_array($type, [self::INLINE, self::ATTACHMENT])) { - throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . self::INLINE . '".'); + throw new InvalidArgumentException('Disposition type must be either "' . '" or "' . self::INLINE . '".'); } $header = $type; if ($fileName === null) {
mutation / PHP 8.1-ubuntu-latest: src/ContentDispositionHeader.php#L66
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ public static function value(string $type, ?string $fileName = null) : string { if (!in_array($type, [self::INLINE, self::ATTACHMENT])) { - throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . self::INLINE . '".'); + throw new InvalidArgumentException('Disposition type must be either "' . '" or "' . self::ATTACHMENT . self::INLINE . '".'); } $header = $type; if ($fileName === null) {
mutation / PHP 8.1-ubuntu-latest: src/ContentDispositionHeader.php#L66
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ public static function value(string $type, ?string $fileName = null) : string { if (!in_array($type, [self::INLINE, self::ATTACHMENT])) { - throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . self::INLINE . '".'); + throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . self::INLINE . '".'); } $header = $type; if ($fileName === null) {
mutation / PHP 8.1-ubuntu-latest: src/ContentDispositionHeader.php#L66
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ public static function value(string $type, ?string $fileName = null) : string { if (!in_array($type, [self::INLINE, self::ATTACHMENT])) { - throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . self::INLINE . '".'); + throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . self::INLINE . '" or "' . '".'); } $header = $type; if ($fileName === null) {
mutation / PHP 8.1-ubuntu-latest: src/ContentDispositionHeader.php#L66
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ public static function value(string $type, ?string $fileName = null) : string { if (!in_array($type, [self::INLINE, self::ATTACHMENT])) { - throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . self::INLINE . '".'); + throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . '".'); } $header = $type; if ($fileName === null) {
mutation / PHP 8.1-ubuntu-latest: src/ContentDispositionHeader.php#L66
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ public static function value(string $type, ?string $fileName = null) : string { if (!in_array($type, [self::INLINE, self::ATTACHMENT])) { - throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . self::INLINE . '".'); + throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . '".' . self::INLINE); } $header = $type; if ($fileName === null) {
mutation / PHP 8.1-ubuntu-latest: src/ContentDispositionHeader.php#L66
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ public static function value(string $type, ?string $fileName = null) : string { if (!in_array($type, [self::INLINE, self::ATTACHMENT])) { - throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . self::INLINE . '".'); + throw new InvalidArgumentException('Disposition type must be either "' . self::ATTACHMENT . '" or "' . self::INLINE); } $header = $type; if ($fileName === null) {
mutation / PHP 8.1-ubuntu-latest: src/HeaderValueHelper.php#L79
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ * * @return string[] First element is the value, and key-value are the parameters. */ - public static function getValueAndParameters(string $headerValue, bool $lowerCaseValue = true, bool $lowerCaseParameter = true, bool $lowerCaseParameterValue = true) : array + public static function getValueAndParameters(string $headerValue, bool $lowerCaseValue = false, bool $lowerCaseParameter = true, bool $lowerCaseParameterValue = true) : array { $headerValue = trim($headerValue); if ($headerValue === '') {
mutation / PHP 8.1-ubuntu-latest: src/HeaderValueHelper.php#L80
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ * * @return string[] First element is the value, and key-value are the parameters. */ - public static function getValueAndParameters(string $headerValue, bool $lowerCaseValue = true, bool $lowerCaseParameter = true, bool $lowerCaseParameterValue = true) : array + public static function getValueAndParameters(string $headerValue, bool $lowerCaseValue = true, bool $lowerCaseParameter = false, bool $lowerCaseParameterValue = true) : array { $headerValue = trim($headerValue); if ($headerValue === '') {
mutation / PHP 8.1-ubuntu-latest: src/HeaderValueHelper.php#L81
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ * * @return string[] First element is the value, and key-value are the parameters. */ - public static function getValueAndParameters(string $headerValue, bool $lowerCaseValue = true, bool $lowerCaseParameter = true, bool $lowerCaseParameterValue = true) : array + public static function getValueAndParameters(string $headerValue, bool $lowerCaseValue = true, bool $lowerCaseParameter = true, bool $lowerCaseParameterValue = false) : array { $headerValue = trim($headerValue); if ($headerValue === '') {