Skip to content

chore: switch to mago #2727

chore: switch to mago

chore: switch to mago #2727

Triggered via pull request December 15, 2024 16:22
Status Success
Total duration 3m 4s
Artifacts

coding-standards.yml

on: pull_request
coding standards
2m 52s
coding standards
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 10 notices
coding standards
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
coding standards: src/Psl/Collection/Set.php#L386
parameter `$k` is missing a type hint
coding standards: src/Psl/Collection/Set.php#L427
parameter `$k` is missing a type hint
coding standards: src/Psl/Collection/Set.php#L386
arrow function is missing a return type hint
coding standards: src/Psl/Collection/Set.php#L427
arrow function is missing a return type hint
coding standards: src/Psl/Collection/Set.php#L582
arrow function is missing a return type hint
coding standards: src/Psl/Iter/first_key_opt.php#L23
loop does not iterate
coding standards: tests/unit/Type/ScalarTypeTest.php#L58
arrow function is missing a return type hint
coding standards: tests/unit/Iter/ReduceWithKeysTest.php#L15
parameter `$expected` is missing a type hint
coding standards: tests/unit/Iter/ReduceWithKeysTest.php#L15
parameter `$initial` is missing a type hint
coding standards: tests/unit/Iter/ReduceWithKeysTest.php#L22
parameter `$accumulator` is missing a type hint
coding standards: src/Psl/Str/reverse.php#L19
function alias `join` should not be used
coding standards: src/Psl/Type/Type.php#L14
abstract class name `Type` should be prefixed with `Abstract`
coding standards: tests/static-analysis/Type/converted.php#L14
function name `testsPurity` should be in snake case
coding standards: tests/unit/Type/TypeTest.php#L18
abstract class name `TypeTest` should be prefixed with `Abstract`
coding standards: src/Psl/Str/replace_ci.php#L37
function alias `join` should not be used
coding standards: src/Psl/Type/Exception/Exception.php#L10
abstract class name `Exception` should be prefixed with `Abstract`
coding standards: src/Psl/Comparison/Comparable.php#L12
interface name `Comparable` should be suffixed with `Interface`
coding standards: tests/benchmark/Type/GenericTypeBench.php#L13
abstract class name `GenericTypeBench` should be prefixed with `Abstract`
coding standards: tests/unit/Math/FloatAsserts.php#L10
trait name `FloatAsserts` should be suffixed with `Trait`
coding standards: src/Psl/Comparison/Equable.php#L10
interface name `Equable` should be suffixed with `Interface`