Skip to content

Introduce URL type

Introduce URL type #11

Triggered via pull request January 17, 2025 16:36
@yrizosyrizos
synchronize #4
add-url-type
Status Success
Total duration 39s
Artifacts

code-quality.yaml

on: pull_request
Matrix: quality
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
Code Quality (PHP7.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Quality (PHP8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Quality (PHP8.3): src/String/Url.php#L18
Escaped Mutant for Mutator "UnwrapTrim": --- Original +++ New @@ @@ private string $value; public function __construct(string $value) { - $value = trim($value); + $value = $value; /** @var string|null $value */ $value = filter_var($value, FILTER_SANITIZE_URL, FILTER_NULL_ON_FAILURE); if (!is_string($value) || !filter_var($value, FILTER_VALIDATE_URL)) {
Code Quality (PHP8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Quality (PHP8.2): src/String/Url.php#L18
Escaped Mutant for Mutator "UnwrapTrim": --- Original +++ New @@ @@ private string $value; public function __construct(string $value) { - $value = trim($value); + $value = $value; /** @var string|null $value */ $value = filter_var($value, FILTER_SANITIZE_URL, FILTER_NULL_ON_FAILURE); if (!is_string($value) || !filter_var($value, FILTER_VALIDATE_URL)) {
Code Quality (PHP8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Quality (PHP8.1): src/String/Url.php#L18
Escaped Mutant for Mutator "UnwrapTrim": --- Original +++ New @@ @@ private string $value; public function __construct(string $value) { - $value = trim($value); + $value = $value; /** @var string|null $value */ $value = filter_var($value, FILTER_SANITIZE_URL, FILTER_NULL_ON_FAILURE); if (!is_string($value) || !filter_var($value, FILTER_VALIDATE_URL)) {
Code Quality (PHP8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Quality (PHP8.0): src/String/Url.php#L18
Escaped Mutant for Mutator "UnwrapTrim": --- Original +++ New @@ @@ private string $value; public function __construct(string $value) { - $value = trim($value); + $value = $value; /** @var string|null $value */ $value = filter_var($value, FILTER_SANITIZE_URL, FILTER_NULL_ON_FAILURE); if (!is_string($value) || !filter_var($value, FILTER_VALIDATE_URL)) {