CI #953
Annotations
10 warnings
PHP 8.4
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
PHP 8.2:
src/AcceptNegotiator.php#L36
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
foreach ($supportedMediaTypes as $index => $supportedMediaType) {
$this->supportedMediaTypes[$index] = $supportedMediaType;
$supportedMediaTypeParts = [];
- if (1 !== preg_match('#^([^/+]+)/([^/+]+)\+([^/+]+)$#', $supportedMediaType, $supportedMediaTypeParts)) {
+ if (1 !== preg_match('#^([^/+]+)/([^/+]+)\+([^/+]+)#', $supportedMediaType, $supportedMediaTypeParts)) {
continue;
}
$this->suffixBasedSupportedMediaTypes[$index] = $supportedMediaTypeParts[1] . '/' . $supportedMediaTypeParts[3];
|
PHP 8.2:
src/AcceptNegotiator.php#L145
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
private function compareMediaTypeWithTypeOnly(string $mediaType, array $attributes): ?NegotiatedValueInterface
{
$mediaTypeParts = [];
- if (1 !== preg_match('#^([^/+]+)/\*$#', $mediaType, $mediaTypeParts)) {
+ if (1 !== preg_match('#^([^/+]+)/\*#', $mediaType, $mediaTypeParts)) {
return null;
}
foreach ($this->supportedMediaTypes as $supportedMediaType) {
|
PHP 8.2:
src/ContentTypeNegotiator.php#L71
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
private function compareMediaTypeWithSuffix(string $mediaType, array $attributes): ?NegotiatedValueInterface
{
$mediaTypeParts = [];
- if (1 !== preg_match('#^([^/]+)/([^+]+)\+(.+)$#', $mediaType, $mediaTypeParts)) {
+ if (1 !== preg_match('#^([^/]+)/([^+]+)\+(.+)#', $mediaType, $mediaTypeParts)) {
return null;
}
$mediaType = $mediaTypeParts[1] . '/' . $mediaTypeParts[3];
|
PHP 8.3:
src/AcceptNegotiator.php#L36
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
foreach ($supportedMediaTypes as $index => $supportedMediaType) {
$this->supportedMediaTypes[$index] = $supportedMediaType;
$supportedMediaTypeParts = [];
- if (1 !== preg_match('#^([^/+]+)/([^/+]+)\+([^/+]+)$#', $supportedMediaType, $supportedMediaTypeParts)) {
+ if (1 !== preg_match('#^([^/+]+)/([^/+]+)\+([^/+]+)#', $supportedMediaType, $supportedMediaTypeParts)) {
continue;
}
$this->suffixBasedSupportedMediaTypes[$index] = $supportedMediaTypeParts[1] . '/' . $supportedMediaTypeParts[3];
|
PHP 8.3:
src/AcceptNegotiator.php#L145
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
private function compareMediaTypeWithTypeOnly(string $mediaType, array $attributes): ?NegotiatedValueInterface
{
$mediaTypeParts = [];
- if (1 !== preg_match('#^([^/+]+)/\*$#', $mediaType, $mediaTypeParts)) {
+ if (1 !== preg_match('#^([^/+]+)/\*#', $mediaType, $mediaTypeParts)) {
return null;
}
foreach ($this->supportedMediaTypes as $supportedMediaType) {
|
PHP 8.3:
src/ContentTypeNegotiator.php#L71
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
private function compareMediaTypeWithSuffix(string $mediaType, array $attributes): ?NegotiatedValueInterface
{
$mediaTypeParts = [];
- if (1 !== preg_match('#^([^/]+)/([^+]+)\+(.+)$#', $mediaType, $mediaTypeParts)) {
+ if (1 !== preg_match('#^([^/]+)/([^+]+)\+(.+)#', $mediaType, $mediaTypeParts)) {
return null;
}
$mediaType = $mediaTypeParts[1] . '/' . $mediaTypeParts[3];
|
PHP 8.4:
src/AcceptNegotiator.php#L36
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
foreach ($supportedMediaTypes as $index => $supportedMediaType) {
$this->supportedMediaTypes[$index] = $supportedMediaType;
$supportedMediaTypeParts = [];
- if (1 !== preg_match('#^([^/+]+)/([^/+]+)\+([^/+]+)$#', $supportedMediaType, $supportedMediaTypeParts)) {
+ if (1 !== preg_match('#^([^/+]+)/([^/+]+)\+([^/+]+)#', $supportedMediaType, $supportedMediaTypeParts)) {
continue;
}
$this->suffixBasedSupportedMediaTypes[$index] = $supportedMediaTypeParts[1] . '/' . $supportedMediaTypeParts[3];
|
PHP 8.4:
src/AcceptNegotiator.php#L145
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
private function compareMediaTypeWithTypeOnly(string $mediaType, array $attributes): ?NegotiatedValueInterface
{
$mediaTypeParts = [];
- if (1 !== preg_match('#^([^/+]+)/\*$#', $mediaType, $mediaTypeParts)) {
+ if (1 !== preg_match('#^([^/+]+)/\*#', $mediaType, $mediaTypeParts)) {
return null;
}
foreach ($this->supportedMediaTypes as $supportedMediaType) {
|
PHP 8.4:
src/ContentTypeNegotiator.php#L71
Escaped Mutant for Mutator "PregMatchRemoveDollar":
@@ @@
private function compareMediaTypeWithSuffix(string $mediaType, array $attributes): ?NegotiatedValueInterface
{
$mediaTypeParts = [];
- if (1 !== preg_match('#^([^/]+)/([^+]+)\+(.+)$#', $mediaType, $mediaTypeParts)) {
+ if (1 !== preg_match('#^([^/]+)/([^+]+)\+(.+)#', $mediaType, $mediaTypeParts)) {
return null;
}
$mediaType = $mediaTypeParts[1] . '/' . $mediaTypeParts[3];
|