Bug description
The PHPStan CI job fails on the latest PrestaShop Docker image tag with the following error:
```
Error response from daemon: No such container: temp-ps
```
Root cause
The tests/phpstan.sh script starts a PrestaShop container in the background to hold the PS volume:
```bash
docker run -tid --rm -v ps-volume:/var/www/html --name temp-ps prestashop/prestashop:$PS_VERSION
```
The `--rm` flag removes the container as soon as it exits. The `prestashop/prestashop:latest` Docker image has changed its entrypoint behavior and now exits almost immediately, so by the time `docker exec temp-ps` runs, the container no longer exists.
Suggested fix
Migrate the PHPStan setup to use the shared `PrestaShop/.github` action (as done in other modules such as `ps_googleanalytics`, `ps_emailsubscription`), which checks out PS sources directly without relying on a Docker container.
Affected CI run
Bug description
The PHPStan CI job fails on the
latestPrestaShop Docker image tag with the following error:```
Error response from daemon: No such container: temp-ps
```
Root cause
The
tests/phpstan.shscript starts a PrestaShop container in the background to hold the PS volume:```bash
docker run -tid --rm -v ps-volume:/var/www/html --name temp-ps prestashop/prestashop:$PS_VERSION
```
The `--rm` flag removes the container as soon as it exits. The `prestashop/prestashop:latest` Docker image has changed its entrypoint behavior and now exits almost immediately, so by the time `docker exec temp-ps` runs, the container no longer exists.
Suggested fix
Migrate the PHPStan setup to use the shared `PrestaShop/.github` action (as done in other modules such as `ps_googleanalytics`, `ps_emailsubscription`), which checks out PS sources directly without relying on a Docker container.
Affected CI run
latest)