➕ add php 8.5 + 🐛 fix alpine images with version 3.22 (php 8.1-8.5) #553
Quality Gate failed
Failed conditions
16 Security Hotspots
11.1% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
sonarqubecloud / SonarCloud Code Analysis
Add a default case (*) to handle unexpected values.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzeMEWXyDk6PXHGc&open=AZrGLzeMEWXyDk6PXHGc&pullRequest=553
Check warning on line 115 in docker/php-official/8.5-alpine/conf/bin/config.sh
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzR7EWXyDk6PXHEu&open=AZrGLzR7EWXyDk6PXHEu&pullRequest=553
Check failure on line 12 in docker/php-official/8.5/conf/bin/service.d/dnsmasq.d/10-init.sh
sonarqubecloud / SonarCloud Code Analysis
Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzUXEWXyDk6PXHE7&open=AZrGLzUXEWXyDk6PXHE7&pullRequest=553
Check failure on line 1 in docker/php-apache/8.5-alpine/conf/etc/httpd/ssl/server.key
sonarqubecloud / SonarCloud Code Analysis
Make sure this private key gets revoked, changed, and removed from the code.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzhKEWXyDk6PXHG0&open=AZrGLzhKEWXyDk6PXHG0&pullRequest=553
Check warning on line 169 in docker/php-official/8.5/conf/bin/provision.py
sonarqubecloud / SonarCloud Code Analysis
Remove the unused local variable "list".
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzU_EWXyDk6PXHFP&open=AZrGLzU_EWXyDk6PXHFP&pullRequest=553
Check failure on line 245 in docker/php-official/8.5-alpine/conf/bin/provision.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal 'Ansible tag' 5 times.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzRmEWXyDk6PXHD9&open=AZrGLzRmEWXyDk6PXHD9&pullRequest=553
Check warning on line 94 in docker/php-official/8.5-alpine/conf/bin/provision.py
sonarqubecloud / SonarCloud Code Analysis
Rename function "buildPlaybookFromArgs" to match the regular expression ^[a-z_][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzRmEWXyDk6PXHEI&open=AZrGLzRmEWXyDk6PXHEI&pullRequest=553
Check warning on line 139 in docker/php-official/8.5/Dockerfile
sonarqubecloud / SonarCloud Code Analysis
Line is too long. Split it into multiple lines using backslash continuations.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzYtEWXyDk6PXHGK&open=AZrGLzYtEWXyDk6PXHGK&pullRequest=553
Check warning on line 196 in docker/php-official/8.5/conf/bin/provision.py
sonarqubecloud / SonarCloud Code Analysis
Rename function "actionSummary" to match the regular expression ^[a-z_][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzU_EWXyDk6PXHFV&open=AZrGLzU_EWXyDk6PXHFV&pullRequest=553
sonarqubecloud / SonarCloud Code Analysis
Add a default case (*) to handle unexpected values.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzidEWXyDk6PXHG5&open=AZrGLzidEWXyDk6PXHG5&pullRequest=553
Check failure on line 5 in docker/php-official/8.5/conf/provision/service.d/ssh.sh
sonarqubecloud / SonarCloud Code Analysis
Add a default case (*) to handle unexpected values.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzXMEWXyDk6PXHF-&open=AZrGLzXMEWXyDk6PXHF-&pullRequest=553
Check warning on line 21 in docker/php-official/8.5/conf/bin/config.sh
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzV1EWXyDk6PXHFt&open=AZrGLzV1EWXyDk6PXHFt&pullRequest=553
Check warning on line 33 in docker/php-dev/8.5/conf/provision/entrypoint.d/10-php-debugger.sh
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzcjEWXyDk6PXHGP&open=AZrGLzcjEWXyDk6PXHGP&pullRequest=553
Check warning on line 9 in docker/php-official/8.5-alpine/conf/bin/config.sh
sonarqubecloud / SonarCloud Code Analysis
Function 'rootCheck' should be named in snake case.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzR7EWXyDk6PXHEY&open=AZrGLzR7EWXyDk6PXHEY&pullRequest=553
Check warning on line 113 in docker/php-official/8.5/conf/bin/provision.py
sonarqubecloud / SonarCloud Code Analysis
Rename function "actionRun" to match the regular expression ^[a-z_][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzU_EWXyDk6PXHFL&open=AZrGLzU_EWXyDk6PXHFL&pullRequest=553
Check failure on line 11 in docker/php-official/8.5/conf/bin/config.sh
sonarqubecloud / SonarCloud Code Analysis
Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzV1EWXyDk6PXHFm&open=AZrGLzV1EWXyDk6PXHFm&pullRequest=553
Check failure on line 6 in docker/php-official/8.5/conf/provision/service.d/postfix.sh
sonarqubecloud / SonarCloud Code Analysis
Add a default case (*) to handle unexpected values.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzXtEWXyDk6PXHGA&open=AZrGLzXtEWXyDk6PXHGA&pullRequest=553
Check warning on line 178 in docker/php-official/8.5-alpine/conf/bin/provision.py
sonarqubecloud / SonarCloud Code Analysis
Rename function "actionAdd" to match the regular expression ^[a-z_][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzRmEWXyDk6PXHER&open=AZrGLzRmEWXyDk6PXHER&pullRequest=553
sonarqubecloud / SonarCloud Code Analysis
Add a default case (*) to handle unexpected values.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzdcEWXyDk6PXHGU&open=AZrGLzdcEWXyDk6PXHGU&pullRequest=553
Check warning on line 58 in docker/php-official/8.5/conf/bin/config.sh
sonarqubecloud / SonarCloud Code Analysis
Function 'deprecationNotice' should be named in snake case.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzV1EWXyDk6PXHFg&open=AZrGLzV1EWXyDk6PXHFg&pullRequest=553
Check failure on line 47 in docker/php-dev/8.5-alpine/conf/provision/entrypoint.d/10-php-debugger.sh
sonarqubecloud / SonarCloud Code Analysis
Add a default case (*) to handle unexpected values.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzdsEWXyDk6PXHGY&open=AZrGLzdsEWXyDk6PXHGY&pullRequest=553
Check warning on line 203 in docker/php-official/8.5/conf/bin/provision.py
sonarqubecloud / SonarCloud Code Analysis
Replace print statement by built-in function.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzU_EWXyDk6PXHFW&open=AZrGLzU_EWXyDk6PXHFW&pullRequest=553
Check warning on line 95 in docker/php-official/8.5-alpine/conf/bin/provision.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "roleList" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzRmEWXyDk6PXHEH&open=AZrGLzRmEWXyDk6PXHEH&pullRequest=553
Check warning on line 12 in docker/php-official/8.5-alpine/conf/bin/config.sh
sonarqubecloud / SonarCloud Code Analysis
Redirect this error message to stderr (>&2).
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzR7EWXyDk6PXHEg&open=AZrGLzR7EWXyDk6PXHEg&pullRequest=553
sonarqubecloud / SonarCloud Code Analysis
Replace backticks with '$()' syntax for command substitution.
See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzTwEWXyDk6PXHE1&open=AZrGLzTwEWXyDk6PXHE1&pullRequest=553