IBX-12654: Added ibexa/phpstan and fixed dynamic calls to static methods - #839
Quality Gate failed
Failed conditions
25.2% Duplication on New Code (required ≤ 3%)
Annotations
Check warning on line 461 in tests/lib/Persistence/Cache/ContentTypeHandlerTest.php
sonarqubecloud / SonarCloud Code Analysis
This function has 4 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHg3yPaL7ZnFUx_Tz&open=AaDJHg3yPaL7ZnFUx_Tz&pullRequest=839
sonarqubecloud / SonarCloud Code Analysis
This function has 6 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHhMkPaL7ZnFUx_T7&open=AaDJHhMkPaL7ZnFUx_T7&pullRequest=839
Check warning on line 432 in tests/lib/Persistence/Cache/ContentTypeHandlerTest.php
sonarqubecloud / SonarCloud Code Analysis
This function has 4 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHg3yPaL7ZnFUx_Ty&open=AaDJHg3yPaL7ZnFUx_Ty&pullRequest=839
Check warning on line 148 in tests/lib/Persistence/Cache/TrashHandlerTest.php
sonarqubecloud / SonarCloud Code Analysis
This function has 4 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHg8VPaL7ZnFUx_T1&open=AaDJHg8VPaL7ZnFUx_T1&pullRequest=839
Check warning on line 61 in tests/lib/IO/ConfigScopeChangeAwareIOServiceTest.php
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "$ioService" local variable.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHgl-PaL7ZnFUx_Tx&open=AaDJHgl-PaL7ZnFUx_Tx&pullRequest=839
sonarqubecloud / SonarCloud Code Analysis
This function has 4 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHhL7PaL7ZnFUx_T6&open=AaDJHhL7PaL7ZnFUx_T6&pullRequest=839
Check warning on line 237 in src/lib/Persistence/TransformationProcessor/PcreCompiler.php
sonarqubecloud / SonarCloud Code Analysis
Remove the unused function parameter "$matches".
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHhXVPaL7ZnFUx_T8&open=AaDJHhXVPaL7ZnFUx_T8&pullRequest=839
Check warning on line 230 in tests/lib/Persistence/Cache/TrashHandlerTest.php
sonarqubecloud / SonarCloud Code Analysis
This function has 4 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHg8VPaL7ZnFUx_T2&open=AaDJHg8VPaL7ZnFUx_T2&pullRequest=839
Check warning on line 131 in tests/lib/MVC/Symfony/Templating/RenderLocationStrategyTest.php
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "$siteAccess" local variable.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHhGDPaL7ZnFUx_T4&open=AaDJHhGDPaL7ZnFUx_T4&pullRequest=839
Check warning on line 98 in tests/lib/Persistence/Cache/URLHandlerTest.php
sonarqubecloud / SonarCloud Code Analysis
This function has 5 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHg4hPaL7ZnFUx_T0&open=AaDJHg4hPaL7ZnFUx_T0&pullRequest=839
Check warning on line 244 in src/lib/Persistence/TransformationProcessor/PcreCompiler.php
sonarqubecloud / SonarCloud Code Analysis
Remove the unused function parameter "$matches".
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHhXVPaL7ZnFUx_T9&open=AaDJHhXVPaL7ZnFUx_T9&pullRequest=839
Check warning on line 131 in tests/lib/MVC/Symfony/Templating/RenderLocationStrategyTest.php
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "$content" local variable.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHhGDPaL7ZnFUx_T5&open=AaDJHhGDPaL7ZnFUx_T5&pullRequest=839
sonarqubecloud / SonarCloud Code Analysis
This function has 4 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=ibexa_core&issues=AaDJHhFRPaL7ZnFUx_T3&open=AaDJHhFRPaL7ZnFUx_T3&pullRequest=839