CI #840
Annotations
6 warnings
|
PHP 8.5:
src/Encoder/UrlEncodedTypeEncoder.php#L39
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
if (\is_array($value)) {
$queryPart = $this->buildQuery($value, $subPath);
$query .= '' !== $queryPart ? $queryPart . '&' : '';
- } elseif (\is_scalar($value) || $value instanceof \stdClass) {
+ } elseif (!\is_scalar($value) || !$value instanceof \stdClass) {
$query .= $subPath . '=' . urlencode($this->getValueAsString($value)) . '&';
}
}
|
|
PHP 8.5:
src/Decoder/JsonxTypeDecoder.php#L36
Escaped Mutant for Mutator "Throw_":
@@ @@
{
$document = new \DOMDocument();
if (!@$document->loadXML($data)) {
- throw RuntimeException::createNotParsable($this->getContentType());
+ RuntimeException::createNotParsable($this->getContentType());
}
$documentElement = $document->documentElement;
if (null === $documentElement) {
|
|
PHP 8.3:
src/Encoder/UrlEncodedTypeEncoder.php#L39
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
if (\is_array($value)) {
$queryPart = $this->buildQuery($value, $subPath);
$query .= '' !== $queryPart ? $queryPart . '&' : '';
- } elseif (\is_scalar($value) || $value instanceof \stdClass) {
+ } elseif (!\is_scalar($value) || !$value instanceof \stdClass) {
$query .= $subPath . '=' . urlencode($this->getValueAsString($value)) . '&';
}
}
|
|
PHP 8.3:
src/Decoder/JsonxTypeDecoder.php#L36
Escaped Mutant for Mutator "Throw_":
@@ @@
{
$document = new \DOMDocument();
if (!@$document->loadXML($data)) {
- throw RuntimeException::createNotParsable($this->getContentType());
+ RuntimeException::createNotParsable($this->getContentType());
}
$documentElement = $document->documentElement;
if (null === $documentElement) {
|
|
PHP 8.4:
src/Encoder/UrlEncodedTypeEncoder.php#L39
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
if (\is_array($value)) {
$queryPart = $this->buildQuery($value, $subPath);
$query .= '' !== $queryPart ? $queryPart . '&' : '';
- } elseif (\is_scalar($value) || $value instanceof \stdClass) {
+ } elseif (!\is_scalar($value) || !$value instanceof \stdClass) {
$query .= $subPath . '=' . urlencode($this->getValueAsString($value)) . '&';
}
}
|
|
PHP 8.4:
src/Decoder/JsonxTypeDecoder.php#L36
Escaped Mutant for Mutator "Throw_":
@@ @@
{
$document = new \DOMDocument();
if (!@$document->loadXML($data)) {
- throw RuntimeException::createNotParsable($this->getContentType());
+ RuntimeException::createNotParsable($this->getContentType());
}
$documentElement = $document->documentElement;
if (null === $documentElement) {
|