Skip to content

➕ add php 8.5 + 🐛 fix alpine images with version 3.22 (php 8.1-8.5)

e2490c5
Select commit
Loading
Failed to load commit list.
Open

➕ add php 8.5 + 🐛 fix alpine images with version 3.22 (php 8.1-8.5) #553

➕ add php 8.5 + 🐛 fix alpine images with version 3.22 (php 8.1-8.5)
e2490c5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 27, 2025 in 56s

Quality Gate failed

Failed conditions
29 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

Check failure on line 3 in docker/php-official/8.5-alpine/conf/provision/bootstrap.d/20-setup-php.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a default case (*) to handle unexpected values.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzTfEWXyDk6PXHE0&open=AZrGLzTfEWXyDk6PXHE0&pullRequest=553

Check failure on line 14 in build-local.sh

See this annotation in the file changed.

@sonarqubecloud 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=AZrGLzkFEWXyDk6PXHHL&open=AZrGLzkFEWXyDk6PXHHL&pullRequest=553

Check warning on line 116 in docker/php-official/8.5/conf/bin/config.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzV1EWXyDk6PXHFr&open=AZrGLzV1EWXyDk6PXHFr&pullRequest=553

Check warning on line 33 in docker/php-dev/8.5/conf/provision/entrypoint.d/10-php-debugger.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Function 'phpModuleRemove' should be named in snake case.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzcjEWXyDk6PXHGL&open=AZrGLzcjEWXyDk6PXHGL&pullRequest=553

Check failure on line 5 in docker/php-apache-dev/8.5-alpine/conf/provision/bootstrap.d/20-php-module-xdebug.sh

See this annotation in the file changed.

@sonarqubecloud 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 warning on line 58 in docker/php-official/8.5-alpine/conf/bin/config.sh

See this annotation in the file changed.

@sonarqubecloud 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=AZrGLzR7EWXyDk6PXHEq&open=AZrGLzR7EWXyDk6PXHEq&pullRequest=553

Check failure on line 34 in docker/php-apache-dev/8.5/conf/provision/entrypoint.d/10-php-debugger.sh

See this annotation in the file changed.

@sonarqubecloud 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=AZrGLzjkEWXyDk6PXHHE&open=AZrGLzjkEWXyDk6PXHHE&pullRequest=553

Check warning on line 174 in docker/php-official/8.5-alpine/conf/bin/provision.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace print statement by built-in function.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzRmEWXyDk6PXHEQ&open=AZrGLzRmEWXyDk6PXHEQ&pullRequest=553

Check warning on line 77 in docker/php-dev/8.5-alpine/conf/provision/entrypoint.d/10-php-debugger.sh

See this annotation in the file changed.

@sonarqubecloud 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=AZrGLzdsEWXyDk6PXHGa&open=AZrGLzdsEWXyDk6PXHGa&pullRequest=553

Check failure on line 5 in docker/php-apache-dev/8.5/conf/provision/bootstrap.d/20-php-module-xdebug.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a default case (*) to handle unexpected values.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzjTEWXyDk6PXHHB&open=AZrGLzjTEWXyDk6PXHHB&pullRequest=553

Check failure on line 1 in docker/php-nginx/8.5/conf/etc/nginx/ssl/server.key

See this annotation in the file changed.

@sonarqubecloud 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=AZrGLzf0EWXyDk6PXHGt&open=AZrGLzf0EWXyDk6PXHGt&pullRequest=553

Check failure on line 4 in docker/php-official/8.5-alpine/conf/bin/service.d/syslog-ng.d/10-init.sh

See this annotation in the file changed.

@sonarqubecloud 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=AZrGLzQiEWXyDk6PXHD1&open=AZrGLzQiEWXyDk6PXHD1&pullRequest=553

Check warning on line 33 in docker/php-nginx-dev/8.5-alpine/conf/provision/entrypoint.d/10-php-debugger.sh

See this annotation in the file changed.

@sonarqubecloud 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=AZrGLzfSEWXyDk6PXHGq&open=AZrGLzfSEWXyDk6PXHGq&pullRequest=553

Check failure on line 47 in docker/php-apache-dev/8.5/conf/provision/entrypoint.d/10-php-debugger.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a default case (*) to handle unexpected values.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzjkEWXyDk6PXHHF&open=AZrGLzjkEWXyDk6PXHHF&pullRequest=553

Check warning on line 201 in docker/php-official/8.5/conf/bin/provision.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "maxLength" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzU_EWXyDk6PXHFT&open=AZrGLzU_EWXyDk6PXHFT&pullRequest=553

Check warning on line 95 in docker/php-official/8.5-alpine/conf/bin/config.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Function 'runProvisionEntrypoint' should be named in snake case.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzR7EWXyDk6PXHEd&open=AZrGLzR7EWXyDk6PXHEd&pullRequest=553

Check warning on line 75 in docker/php-official/8.5-alpine/conf/bin/provision.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "buildSortedRoleList" to match the regular expression ^[a-z_][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzRmEWXyDk6PXHEE&open=AZrGLzRmEWXyDk6PXHEE&pullRequest=553

Check warning on line 174 in docker/php-official/8.5/conf/bin/provision.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace print statement by built-in function.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzU_EWXyDk6PXHFR&open=AZrGLzU_EWXyDk6PXHFR&pullRequest=553

Check failure on line 7 in docker/php-official/8.5-alpine/conf/bin/entrypoint.d/root.sh

See this annotation in the file changed.

@sonarqubecloud 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=AZrGLzQREWXyDk6PXHD0&open=AZrGLzQREWXyDk6PXHD0&pullRequest=553

Check warning on line 36 in docker/php-official/8.5/Dockerfile

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this RUN instruction with the consecutive ones.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzYtEWXyDk6PXHGF&open=AZrGLzYtEWXyDk6PXHGF&pullRequest=553

Check warning on line 141 in docker/php-official/8.5-alpine/Dockerfile

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove cache after installing packages or store it in a cache mount.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzNtEWXyDk6PXHDl&open=AZrGLzNtEWXyDk6PXHDl&pullRequest=553

Check warning on line 77 in docker/php-nginx-dev/8.5/conf/provision/entrypoint.d/10-php-debugger.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Function 'phpEnvironmentVariable' should be named in snake case.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzeeEWXyDk6PXHGe&open=AZrGLzeeEWXyDk6PXHGe&pullRequest=553

Check failure on line 5 in docker/php-nginx-dev/8.5/conf/provision/bootstrap.d/20-php-module-xdebug.sh

See this annotation in the file changed.

@sonarqubecloud 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 60 in docker/php-official/8.5-alpine/conf/bin/provision.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "roleRow" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzRmEWXyDk6PXHEB&open=AZrGLzRmEWXyDk6PXHEB&pullRequest=553

Check warning on line 58 in docker/php-official/8.5-alpine/conf/bin/config.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Function 'deprecationNotice' should be named in snake case.

See more on https://sonarcloud.io/project/issues?id=webdevops_Dockerfile&issues=AZrGLzR7EWXyDk6PXHEb&open=AZrGLzR7EWXyDk6PXHEb&pullRequest=553