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

Closes #926 Update container to v4 #928

Merged
merged 5 commits into from
Nov 27, 2024

update minimum versions support

29ad5ea
Select commit
Loading
Failed to load commit list.
Merged

Closes #926 Update container to v4 #928

update minimum versions support
29ad5ea
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Nov 21, 2024 in 0s

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

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

Issues
======
+ Solved 2
- Added 6
           

Complexity increasing per file
==============================
- classes/Dependencies/League/Container/Argument/ResolvableArgument.php  1
- classes/Dependencies/League/Container/Argument/Literal/IntegerArgument.php  1
- classes/Dependencies/League/Container/Argument/Literal/BooleanArgument.php  1
- classes/Dependencies/League/Container/Argument/Literal/FloatArgument.php  1
- classes/Dependencies/League/Container/Argument/Literal/ObjectArgument.php  1
- classes/Dependencies/League/Container/Argument/DefaultValueArgument.php  1
- classes/Dependencies/League/Container/Argument/Literal/StringArgument.php  1
- classes/Dependencies/League/Container/Argument/Literal/ArrayArgument.php  1
- classes/Dependencies/League/Container/Argument/LiteralArgument.php  2
- classes/Dependencies/League/Container/Argument/Literal/CallableArgument.php  1
- classes/Dependencies/League/Container/ReflectionContainer.php  1
- classes/Dependencies/League/Container/Definition/Definition.php  1
- classes/Dependencies/League/Container/Container.php  2
         

Complexity decreasing per file
==============================
+ classes/Dependencies/League/Container/ServiceProvider/ServiceProviderAggregate.php  -2
         

See the complete overview on Codacy

Annotations

Check warning on line 16 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#L16

The method resolveArguments() has an NPath complexity of 243. The configured NPath complexity threshold is 200.

Check notice on line 36 in classes/Dependencies/League/Container/Argument/LiteralArgument.php

See this annotation in the file changed.

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

classes/Dependencies/League/Container/Argument/LiteralArgument.php#L36

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

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

See this annotation in the file changed.

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

classes/Dependencies/League/Container/Container.php#L15

The class Container has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.

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

See this annotation in the file changed.

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

classes/Dependencies/League/Container/Container.php#L172

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

Check warning on line 167 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#L167

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

Check warning on line 167 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#L167

The method resolveNew() has an NPath complexity of 1152. The configured NPath complexity threshold is 200.