File tree Expand file tree Collapse file tree 3 files changed +22
-19
lines changed
Expand file tree Collapse file tree 3 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 1- FROM php:8.2 -cli
1+ FROM php:8.4 -cli
22
33# Install system dependencies
44RUN apt-get update && apt-get install -y \
Original file line number Diff line number Diff line change @@ -596,13 +596,16 @@ To run the test suite you can use the following commands:
596596
597597``` bash
598598# To run both style and unit tests.
599- docker compose exec -it php composer test
599+ docker compose exec -it app composer install
600+
601+ # To run both style and unit tests.
602+ docker compose exec -it app composer test
600603
601604# To run only style tests.
602- docker compose exec -it php composer test:style
605+ docker compose exec -it app composer test:style
603606
604607# To run only unit tests.
605- docker compose exec -it php composer test:unit
608+ docker compose exec -it app composer test:unit
606609```
607610
608611If you receive any errors from the style tests, you can automatically fix most,
Original file line number Diff line number Diff line change 11services :
22
3+ app :
4+ build :
5+ context : .
6+ dockerfile : .docker/app/Dockerfile
7+ environment :
8+ HOST : rabbitmq
9+ PORT : 5672
10+ volumes :
11+ - .:/app
12+ working_dir : /app
13+ tty : true
14+ stdin_open : true
15+ depends_on :
16+ - rabbitmq
17+
318 rabbitmq :
419 image : rabbitmq:3.8
520 environment :
@@ -35,18 +50,3 @@ services:
3550 ports :
3651 - 15671:15671
3752 - 15672:15672
38-
39- php :
40- build :
41- context : .
42- dockerfile : .docker/Dockerfile
43- environment :
44- HOST : rabbitmq
45- PORT : 5672
46- volumes :
47- - .:/app
48- working_dir : /app
49- tty : true
50- stdin_open : true
51- depends_on :
52- - rabbitmq
You can’t perform that action at this time.
0 commit comments