Skip to content

perf(struct): apply Struct fixes to AdvancedStruct and ImmutableStruct

c85d29e
Select commit
Loading
Failed to load commit list.
Merged

Perf/optimizations #19

perf(struct): apply Struct fixes to AdvancedStruct and ImmutableStruct
c85d29e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 29, 2026 in 17s

Quality Gate failed

Annotations

Check failure on line 22 in src/Composite/Struct/Struct.php

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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