Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add league/container, event-manager to composer and mozart #782

Merged
merged 3 commits into from
Jan 18, 2024

Add missing event-manager

a90f8e7
Select commit
Loading
Failed to load commit list.
Merged

Add league/container, event-manager to composer and mozart #782

Add missing event-manager
a90f8e7
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jan 16, 2024 in 0s

4 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 4
           

Complexity increasing per file
==============================
- classes/Dependencies/League/Container/ReflectionContainer.php  6
- classes/Dependencies/League/Container/Definition/DefinitionAggregate.php  3
- classes/Dependencies/League/Container/Argument/ClassNameWithOptionalValue.php  1
- classes/Dependencies/League/Container/ServiceProvider/AbstractServiceProvider.php  1
- classes/Dependencies/League/Container/ServiceProvider/ServiceProviderAggregate.php  7
- classes/Dependencies/League/Container/Argument/ClassName.php  1
- classes/Dependencies/League/Container/Inflector/InflectorAggregate.php  3
- classes/Dependencies/League/Container/Definition/Definition.php  8
- classes/Dependencies/League/Container/Argument/RawArgument.php  1
- classes/Dependencies/League/Container/Inflector/Inflector.php  5
- classes/Dependencies/League/Container/Container.php  7
         

See the complete overview on Codacy

Annotations

Check warning on line 17 in classes/Dependencies/League/Container/Argument/ArgumentResolverTrait.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

classes/Dependencies/League/Container/Argument/ArgumentResolverTrait.php#L17

The method resolveArguments() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.

Check notice on line 28 in classes/Dependencies/League/Container/Argument/ArgumentResolverTrait.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

classes/Dependencies/League/Container/Argument/ArgumentResolverTrait.php#L28

The method resolveArguments uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.

Check warning on line 189 in classes/Dependencies/League/Container/Definition/Definition.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

classes/Dependencies/League/Container/Definition/Definition.php#L189

The method resolve() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.

Check warning on line 189 in classes/Dependencies/League/Container/Definition/Definition.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

classes/Dependencies/League/Container/Definition/Definition.php#L189

The method resolve() has an NPath complexity of 576. The configured NPath complexity threshold is 200.