feat(type): add always_assert type #2836
Annotations
10 notices
coding standards:
tests/unit/Str/Grapheme/ContainsCiTest.php#L15
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
tests/unit/Str/ContainsTest.php#L15
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
src/Psl/Range/FullRange.php#L48
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
tests/unit/Interface/InterfaceTest.php#L17
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
src/Psl/DateTime/TemporalInterface.php#L269
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
tests/unit/Str/Grapheme/ContainsTest.php#L15
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
tests/unit/Str/StartsWithTest.php#L15
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
src/Psl/Range/FromRange.php#L75
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
tests/unit/Hash/EqualsTest.php#L19
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|
coding standards:
src/Psl/Html/encode.php#L22
Avoid using boolean flag parameters
Boolean flag parameters can indicate that a function is doing too much.
Help: Consider extracting the flag behavior into a separate method or class to adhere to SRP.
|