Skip to content

Commit

Permalink
Merge pull request #169 from pepabo/fix-dev-error
Browse files Browse the repository at this point in the history
開発環境がPHP7.4で動くように、pecl/xdebugがPHP7系で対応しているバージョンを指定する
  • Loading branch information
ikaruga777 authored Nov 6, 2023
2 parents 81434e0 + 0d3d803 commit 25307a5
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ RUN apt-get update \
&& apt-get -y install subversion \
&& apt-get -y install mariadb-client; \
rm -rf /var/lib/apt/lists/*; \
pecl install xdebug \
pecl install xdebug-2.9.0 \
&& echo 'zend_extension=xdebug.so' > /usr/local/etc/php/conf.d/xdebug.ini
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
Expand All @@ -24,7 +27,8 @@
"squizlabs/php_codesniffer": "*",
"wp-coding-standards/wpcs": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*"
"dealerdirect/phpcodesniffer-composer-installer": "*",
"yoast/phpunit-polyfills": "^2.0"
},
"autoload": {
"classmap": ["src/"]
Expand Down
64 changes: 62 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 25307a5

Please sign in to comment.