forked from trikoder/oauth2-bundle
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support of php 8 and symfony 5.2 (#5)
* Remove timecop and replace DateTimeImmutable by Chronos (same interface) * fix tests errors * Add delta to integration/acceptance test for token expiration * fix chronos in require dependencies * Change Chronos by Carbon * add php 8 and symfony 5.2 * drop support of php 7.2 and add some fixes in Dockerfile * add xdebug mode coverage * bump php cs fixer version * fix doctrine common doctrine/DoctrineBundle#1197 * fix php cs fixer, disable no_trailing_whitespace_in_string new rule * fix doctrine mapping exception https://github.com/doctrine/orm/releases/tag/2.8.1 * fix oauth2-server enforcement with client without redirect_uri https://github.com/thephpleague/oauth2-server/releases/tag/8.2.4 * drop support of doctrine bundle 1.8 * revert drop of php 7.2
- Loading branch information
Showing
7 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
ARG PHP_VERSION=7.2 | ||
|
||
FROM php:${PHP_VERSION}-cli-alpine3.10 | ||
FROM php:${PHP_VERSION}-cli-alpine3.12 | ||
LABEL maintainer="Petar Obradović <[email protected]>" | ||
|
||
ARG COMPOSER_VERSION=1.9.3 | ||
ARG FLEX_VERSION=1.6.2 | ||
ARG PHP_CS_FIXER_VERSION=2.16.2 | ||
ARG XDEBUG_VERSION=2.9.2 | ||
ARG COMPOSER_VERSION=2.0.2 | ||
ARG FLEX_VERSION=1.12.2 | ||
ARG PHP_CS_FIXER_VERSION=2.18.4 | ||
ARG XDEBUG_VERSION=3.0.3 | ||
|
||
ENV XDEBUG_REMOTE_AUTOSTART 0 | ||
ENV XDEBUG_START_WITH_REQUEST 0 | ||
|
||
# This is where we're going to store all of our non-project specific binaries | ||
RUN mkdir -p /app/bin | ||
|
@@ -32,10 +32,10 @@ RUN apk add --update --no-cache --virtual .build-deps \ | |
RUN mv ${PHP_INI_DIR}/php.ini-development ${PHP_INI_DIR}/php.ini | ||
|
||
RUN echo '[xdebug]' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini \ | ||
&& echo 'xdebug.remote_autostart = ${XDEBUG_REMOTE_AUTOSTART}' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini \ | ||
&& echo 'xdebug.remote_enable = 1' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini \ | ||
&& echo 'xdebug.remote_connect_back = 0' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini \ | ||
&& echo 'xdebug.remote_host = %XDEBUG_REMOTE_HOST%' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini | ||
&& echo 'xdebug.mode = debug' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini \ | ||
&& echo 'xdebug.start_with_request = ${XDEBUG_START_WITH_REQUEST}' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini \ | ||
&& echo 'xdebug.discover_client_host = 0' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini \ | ||
&& echo 'xdebug.client_host = %XDEBUG_CLIENT_HOST%' >> ${PHP_INI_DIR}/conf.d/docker-php-ext-xdebug.ini | ||
|
||
# Utilities needed to run this image | ||
RUN apk add --update --no-cache \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters