Skip to content

Semi-correct equals behavior #102

Semi-correct equals behavior

Semi-correct equals behavior #102

Triggered via pull request January 19, 2025 19:55
@petrknappetrknap
synchronize #30
fix-equals
Status Success
Total duration 33s
Artifacts

docker.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 warning and 10 notices
run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run: src/Optional.php#L63
* [Empty statement] Empty CATCH statement detected
run: src/Optional.php#L25
* [No silenced errors] Silencing errors is discouraged; found: @static::isSupported... * [Space after not] Expected 1 space(s) after NOT operator; 0 found
run: src/Optional.php#L101
* [Disallow equal operators] Operator == is disallowed, use === instead.
run: src/Optional.php#L61
* [Inline doc comment declaration] Invalid inline documentation comment format "@var static", expected "@var type $variableName Optional description".
run: src/Optional.php#L66
* [Inline doc comment declaration] Invalid inline documentation comment format "@var static", expected "@var type $variableName Optional description".
run: src/Optional.php#L134
* [Inline doc comment declaration] Invalid inline documentation comment format "@var self<U>", expected "@var type $variableName Optional description".
run: src/Optional.php#L140
* [Inline doc comment declaration] Invalid inline documentation comment format "@var self<U>", expected "@var type $variableName Optional description".
run: src/Optional.php#L221
* [Inline doc comment declaration] Missing variable $exceptionSupplier before or after the documentation comment.
run: src/Optional.php#L11
* [Disallow mixed type hint] Usage of "mixed" type hint is disallowed.
run: src/Optional.php#L125
* [Disallow mixed type hint] Usage of "mixed" type hint is disallowed.