File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM php:7.2-cli AS dev
2
2
3
3
COPY --from=composer /usr/bin/composer /usr/bin/
4
4
5
- RUN yes | pecl install xdebug \
5
+ RUN yes | pecl install xdebug-2.9.8 \
6
6
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
7
7
&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
8
8
&& echo "xdebug.remote_autostart=on" >> /usr/local/etc/php/conf.d/xdebug.ini
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ dshell: ## Start Docker Shell for Local Development
8
8
@docker-compose run --entrypoint=bash --rm php
9
9
10
10
deps : # # Installs the project dependencies
11
- @composer install
11
+ @docker-compose run php composer install
12
12
13
13
test : start-server # # Perform unit tests
14
14
@docker-compose run php composer run test
Original file line number Diff line number Diff line change @@ -631,8 +631,15 @@ For more info see Redirect Plugin docs - [allow_redirects](https://docs.php-http
631
631
632
632
## Local tests
633
633
634
+ Run once to install dependencies:
635
+
636
+ ``` shell script
637
+ make deps
638
+ ```
639
+
640
+ Run unit & intergration tests:
641
+
634
642
``` shell script
635
- # run unit & integration tests
636
643
make test
637
644
```
638
645
You can’t perform that action at this time.
0 commit comments