Add league/container, event-manager to composer and mozart #782
4 new issues (0 max.) of at least minor severity.
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
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
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
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
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.