-
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.
[php82] fix more tests, update local dev env
- Loading branch information
Showing
10 changed files
with
41 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM php:8.2-apache-bullseye | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
&& apt-get install -y libzip-dev unzip openssl libmcrypt-dev libmemcached-dev locales \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN docker-php-ext-install pdo_mysql zip \ | ||
&& pecl install apcu redis memcached mcrypt \ | ||
&& docker-php-ext-enable redis memcached mcrypt \ | ||
&& echo "extension=apcu.so" >> /usr/local/etc/php/php.ini \ | ||
&& echo "apc.enable_cli = 1" >> /usr/local/etc/php/php.ini | ||
|
||
COPY --from=composer /usr/bin/composer /usr/local/bin/composer | ||
|
||
RUN sed -i '/de_DE /s/^# //g' /etc/locale.gen \ | ||
&& sed -i '/es_ES /s/^# //g' /etc/locale.gen \ | ||
&& locale-gen | ||
|
||
ENV APACHE_DOCUMENT_ROOT /var/www/html/app/webroot | ||
|
||
RUN a2enmod rewrite | ||
|
||
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf | ||
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf | ||
|
||
RUN pecl install xdebug && pecl install pcov | ||
RUN docker-php-ext-enable xdebug |
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
* | ||
* @package Cake.Event | ||
*/ | ||
#[AllowDynamicProperties] | ||
class CakeEvent { | ||
|
||
/** | ||
|
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