Perf/optimizations #19
Quality Gate failed
Failed conditions
18.2% Duplication on New Code (required ≤ 3%)
Annotations
Check failure on line 22 in src/Composite/Struct/Struct.php
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 35 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5yWXz0ehU7qPRFc9-n&open=AZ5yWXz0ehU7qPRFc9-n&pullRequest=19
Check failure on line 75 in src/Composite/Struct/Struct.php
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5yWXz0ehU7qPRFc9-o&open=AZ5yWXz0ehU7qPRFc9-o&pullRequest=19
Check warning on line 449 in src/Composite/Struct/ImmutableStruct.php
sonarqubecloud / SonarCloud Code Analysis
Remove this unused private "isnullable" method.
See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5yWXwYehU7qPRFc9-l&open=AZ5yWXwYehU7qPRFc9-l&pullRequest=19
Check failure on line 15 in src/Composite/Struct/AdvancedStruct.php
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5yWX1IehU7qPRFc9-p&open=AZ5yWX1IehU7qPRFc9-p&pullRequest=19
Check warning on line 461 in src/Composite/Struct/ImmutableStruct.php
sonarqubecloud / SonarCloud Code Analysis
Remove this unused private "stripnullable" method.
See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5yWXwYehU7qPRFc9-m&open=AZ5yWXwYehU7qPRFc9-m&pullRequest=19