Showing 127 of 127 total issues
Method __invoke
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): ScalarFormatter {
Method __invoke
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): ErrorLogHandler {
Method getMonologProcessorConfig
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getMonologProcessorConfig(): array
{
return [
'aliases' => [
'git' => GitProcessor::class,
Method addFormatter
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
private function addFormatter(
ContainerInterface $container,
HandlerInterface $handler,
array | null $options = null,
): void {
Method __invoke
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): FilterHandler {
Method __invoke
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): MandrillHandler {
Method __invoke
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): CallbackFilterHandler {
Function __invoke
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): RollbarHandler {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __invoke
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): ScalarFormatter {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __invoke
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): NormalizerFormatter {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __invoke
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): HtmlFormatter {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __invoke
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): WildfireFormatter {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __invoke
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): ErrorLogHandler {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __invoke
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): MicrosoftTeamsHandler {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method __invoke
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): LogglyHandler {
Method __invoke
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): SyslogHandler {
Method __invoke
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): NewRelicHandler {
Function __invoke
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(ContainerInterface $container, $requestedName, array | null $options = null): V7Client
{
if (!is_array($options)) {
throw new ServiceNotCreatedException('Options must be an Array');
}
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __invoke
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): SendGridHandler {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __invoke
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
public function __invoke(
ContainerInterface $container,
$requestedName,
array | null $options = null,
): FingersCrossedHandler {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"