File tree 7 files changed +40
-36
lines changed
7 files changed +40
-36
lines changed Original file line number Diff line number Diff line change 19
19
"ext-iconv" : " *" ,
20
20
"ext-intl" : " *" ,
21
21
"ext-mbstring" : " *" ,
22
- "symfony/flex" : " ^2.4 "
22
+ "symfony/flex" : " ^2.5 "
23
23
},
24
24
"flex-require" : {
25
- "doctrine/doctrine-bundle" : " ^2.12 " ,
25
+ "doctrine/doctrine-bundle" : " ^2.13 " ,
26
26
"doctrine/orm" : " ^3.3" ,
27
27
"ramsey/uuid-doctrine" : " ^2.1" ,
28
28
"symfony/asset" : " ^6.4" ,
57
57
"beelab/test-bundle" : " ^7.0" ,
58
58
"dama/doctrine-test-bundle" : " ^8.2" ,
59
59
"deployer/deployer" : " ^7.5" ,
60
- "doctrine/doctrine-fixtures-bundle" : " ^3.6 " ,
61
- "phpunit/phpunit" : " ^11.4 " ,
60
+ "doctrine/doctrine-fixtures-bundle" : " ^4.0 " ,
61
+ "phpunit/phpunit" : " ^12.0 " ,
62
62
"symfony/debug-bundle" : " ^6.4" ,
63
+ "symfony/phpunit-bridge" : " ^7.2" ,
63
64
"symfony/profiler-pack" : " ^1.0" ,
64
- "vincentlanglet/twig-cs-fixer" : " ^3.0 "
65
+ "vincentlanglet/twig-cs-fixer" : " ^3.5 "
65
66
},
66
67
"config" : {
67
68
"allow-plugins" : {
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ RUN apt update && apt install -y --no-install-recommends curl
4
4
5
5
# Install phpmyadmin
6
6
RUN set -ex; \
7
- curl -k --output phpMyAdmin.tar.gz --location https://files.phpmyadmin.net/phpMyAdmin/5.2.1 /phpMyAdmin-5.2.1 -all-languages.tar.gz; \
7
+ curl -k --output phpMyAdmin.tar.gz --location https://files.phpmyadmin.net/phpMyAdmin/5.2.2 /phpMyAdmin-5.2.2 -all-languages.tar.gz; \
8
8
tar -xf phpMyAdmin.tar.gz -C /usr/src; \
9
9
rm -r phpMyAdmin.tar.gz; \
10
- mv /usr/src/phpMyAdmin-5.2.1 -all-languages /usr/src/phpmyadmin; \
11
- rm -rf /usr/src/phpmyadmin/setup/ /usr/src/phpmyadmin/examples/ /usr/src/phpmyadmin/test/ /usr/src/phpmyadmin/po/ /usr/src/phpmyadmin/composer.json /usr/src/phpmyadmin/RELEASE-DATE-5.2.1 ; \
10
+ mv /usr/src/phpMyAdmin-5.2.2 -all-languages /usr/src/phpmyadmin; \
11
+ rm -rf /usr/src/phpmyadmin/setup/ /usr/src/phpmyadmin/examples/ /usr/src/phpmyadmin/test/ /usr/src/phpmyadmin/po/ /usr/src/phpmyadmin/composer.json /usr/src/phpmyadmin/RELEASE-DATE-5.2.2 ; \
12
12
sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/usr/src/phpmyadmin/');@" /usr/src/phpmyadmin/libraries/vendor_config.php; \
13
13
cp /usr/src/phpmyadmin/config.sample.inc.php /usr/src/phpmyadmin/config.inc.php; \
14
14
sed -i "s/'localhost'/'database'/" /usr/src/phpmyadmin/config.inc.php; \
Original file line number Diff line number Diff line change @@ -6,20 +6,21 @@ server {
6
6
7
7
# https://gist.github.com/tsolar/6429503
8
8
location /phpmyadmin {
9
- root /usr/src/;
10
- index index.php index.html index.htm;
11
- location ~ ^/phpmyadmin/(.+\.php)$ {
12
- try_files $uri =404 ;
13
- root /usr/src/;
14
- fastcgi_pass php:9000;
15
- fastcgi_index index.php;
16
- fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name ;
17
- fastcgi_read_timeout 180 ;
18
- include fastcgi_params;
19
- }
20
- location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
21
- root /usr/src/;
22
- }
9
+ root /usr/src/;
10
+ index index.php index.html index.htm;
11
+ location ~ ^/phpmyadmin/(.+\.php)$ {
12
+ try_files $uri =404 ;
13
+ root /usr/src/;
14
+ fastcgi_pass php:9000;
15
+ fastcgi_index index.php;
16
+ fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name ;
17
+ fastcgi_param PHP_VALUE "error_reporting=E_ALL & ~E_DEPRECATED" ;
18
+ fastcgi_read_timeout 180 ;
19
+ include fastcgi_params;
20
+ }
21
+ location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
22
+ root /usr/src/;
23
+ }
23
24
}
24
25
25
26
location / {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN apt update && apt install -y --no-install-recommends zlib1g-dev libicu-dev g
14
14
RUN docker-php-ext-install pdo pdo_mysql intl mysqli iconv xsl
15
15
16
16
# Install xdebug
17
- RUN pecl install xdebug-3.4.0 && docker-php-ext-enable xdebug
17
+ RUN pecl install xdebug-3.4.2 && docker-php-ext-enable xdebug
18
18
RUN { \
19
19
echo 'error_reporting = E_ALL' ; \
20
20
echo 'display_startup_errors = On' ; \
@@ -41,11 +41,11 @@ COPY --from=composer /usr/bin/composer /usr/local/bin/composer
41
41
42
42
# Install phpmyadmin
43
43
RUN set -ex; \
44
- curl -k --output phpMyAdmin.tar.xz --location https://files.phpmyadmin.net/phpMyAdmin/5.2.1 /phpMyAdmin-5.2.1 -all-languages.tar.xz; \
44
+ curl -k --output phpMyAdmin.tar.xz --location https://files.phpmyadmin.net/phpMyAdmin/5.2.2 /phpMyAdmin-5.2.2 -all-languages.tar.xz; \
45
45
tar -xf phpMyAdmin.tar.xz -C /usr/src; \
46
46
rm -r phpMyAdmin.tar.xz; \
47
- mv /usr/src/phpMyAdmin-5.2.1 -all-languages /usr/src/phpmyadmin; \
48
- rm -rf /usr/src/phpmyadmin/setup/ /usr/src/phpmyadmin/examples/ /usr/src/phpmyadmin/test/ /usr/src/phpmyadmin/po/ /usr/src/phpmyadmin/composer.json /usr/src/phpmyadmin/RELEASE-DATE-5.2.1 ; \
47
+ mv /usr/src/phpMyAdmin-5.2.2 -all-languages /usr/src/phpmyadmin; \
48
+ rm -rf /usr/src/phpmyadmin/setup/ /usr/src/phpmyadmin/examples/ /usr/src/phpmyadmin/test/ /usr/src/phpmyadmin/po/ /usr/src/phpmyadmin/composer.json /usr/src/phpmyadmin/RELEASE-DATE-5.2.2 ; \
49
49
sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/usr/src/phpmyadmin/');@" /usr/src/phpmyadmin/libraries/vendor_config.php; \
50
50
cp /usr/src/phpmyadmin/config.sample.inc.php /usr/src/phpmyadmin/config.inc.php; \
51
51
sed -i "s/'localhost'/'database'/" /usr/src/phpmyadmin/config.inc.php; \
Original file line number Diff line number Diff line change 14
14
"bootstrap" : " ^5.3.3"
15
15
},
16
16
"devDependencies" : {
17
- "@babel/core" : " ^7.26.0 " ,
18
- "@babel/preset-env" : " ^7.26.0 " ,
19
- "@symfony/webpack-encore" : " ^5.0.1 " ,
20
- "eslint" : " ^9.17 .0" ,
21
- "sass" : " ^1.83.0 " ,
22
- "sass-loader" : " ^16.0.4 " ,
23
- "stylelint" : " ^16.12 .0" ,
24
- "stylelint-config-standard" : " ^36 .0.1 " ,
17
+ "@babel/core" : " ^7.26.10 " ,
18
+ "@babel/preset-env" : " ^7.26.9 " ,
19
+ "@symfony/webpack-encore" : " ^5.1.0 " ,
20
+ "eslint" : " ^9.21 .0" ,
21
+ "sass" : " ^1.85.1 " ,
22
+ "sass-loader" : " ^16.0.5 " ,
23
+ "stylelint" : " ^16.15 .0" ,
24
+ "stylelint-config-standard" : " ^37 .0.0 " ,
25
25
"stylelint-config-standard-scss" : " ^14.0.0"
26
26
},
27
27
"author" : " Massimiliano Arione" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
- <!-- https://docs.phpunit.de/en/11.2 /configuration.html -->
3
+ <!-- https://docs.phpunit.de/en/12.0 /configuration.html -->
4
4
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
5
xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
6
6
bootstrap =" tests/bootstrap.php"
16
16
<php >
17
17
<ini name =" error_reporting" value =" -1" />
18
18
<server name =" APP_ENV" value =" test" force =" true" />
19
+ <server name =" APP_DEBUG" value =" 0" force =" true" />
19
20
<server name =" SHELL_VERBOSITY" value =" -1" />
20
21
<env name =" KERNEL_CLASS" value =" Infrastructure\Kernel" />
21
22
<env name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0" />
29
30
30
31
<extensions >
31
32
<bootstrap class =" DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
33
+ <bootstrap class =" Symfony\Bridge\PhpUnit\SymfonyExtension" />
32
34
</extensions >
33
35
</phpunit >
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
<html lang =" {{ app .request .locale }}" class =" h-100" >
3
3
<head >
4
- <meta charset =" utf -8" >
4
+ <meta charset =" UTF -8" >
5
5
<meta name =" viewport" content =" width=device-width, initial-scale=1.0, shrink-to-fit=no" >
6
6
<title >{% block title " Beelab" %}</title >
7
7
<link rel =" icon" type =" image/x-icon" href =" {{ asset(' favicon.ico' ) }}" >
You can’t perform that action at this time.
0 commit comments