Skip to content

Commit d8c5676

Browse files
author
DKravtsov
committed
Refactored namespaces. Updated xdebug, MySQL, RabbitMQ, documentation. Updated phpmd with configuration, updated composer dependencies.
1 parent 9fe516a commit d8c5676

File tree

98 files changed

+3670
-2804
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+3670
-2804
lines changed

.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ WEB_PORT_SSL=443
2727
# XDEBUG_CONFIG possible values: main|osx. Use main value for Linux and Windows, osx value for MacOS.
2828
XDEBUG_CONFIG=main
2929
# Sometimes we need to use different xdebug versions, list of versions can be found here - https://pecl.php.net/package/xdebug
30-
XDEBUG_VERSION=3.4.5
30+
XDEBUG_VERSION=3.4.7
3131
###< XDebug docker configuration ###
3232

3333
###> MySQL docker configuration. Can be overridden in: .env.local, .env.staging, .env.prod. ###
34-
# MySQL version, recommend values: 9.4.0|8.4.6|8.0.43
35-
MYSQL_VERSION=8.4.6
34+
# MySQL version, recommend values: 9.4.0|8.4.7|8.0.43
35+
MYSQL_VERSION=8.4.7
3636
# MySQL INNODB_USE_NATIVE_AIO possible values: 1|0. Set to 0 when AIO interface is not supported on OSX. https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_use_native_aio
3737
INNODB_USE_NATIVE_AIO=1
3838
# Sometimes AWS MySQL RDS has SQL_MODE="NO_ENGINE_SUBSTITUTION" (https://github.com/awsdocs/amazon-rds-user-guide/issues/160) but MySQL default described here - https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_sql_mode

.idea/htdocs.iml

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 330 additions & 327 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ARG INSIDE_DOCKER_CONTAINER=1
1212
ENV INSIDE_DOCKER_CONTAINER=$INSIDE_DOCKER_CONTAINER
1313
ARG XDEBUG_CONFIG=main
1414
ENV XDEBUG_CONFIG=$XDEBUG_CONFIG
15-
ARG XDEBUG_VERSION=3.4.5
15+
ARG XDEBUG_VERSION=3.4.7
1616
ENV XDEBUG_VERSION=$XDEBUG_VERSION
1717
ENV PHP_CS_FIXER_IGNORE_ENV=1
1818

@@ -56,6 +56,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
5656
intl \
5757
opcache \
5858
zip \
59+
bcmath \
5960
&& docker-php-ext-enable amqp \
6061
&& apt-get install --no-install-recommends -y \
6162
$(debsecan --suite bookworm --format packages --only-fixed) \

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) Dmitriy Kravtsov
3+
Copyright (c) Dmitry Kravtsov
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ migrate-cron-jobs: ## Creates cron job tasks (cleanup logs, failed old messenger
351351
@make exec cmd="php bin/console scheduler:cleanup-messenger-messages"
352352

353353
fixtures: ## Runs all fixtures for test database without --append option (tables will be dropped and recreated)
354-
@make exec cmd="php bin/console doctrine:fixtures:load --env=test"
354+
@make exec cmd="php bin/console doctrine:fixtures:load --env=test --no-interaction"
355355

356356
create-roles-groups: ## Creates roles and groups
357357
@make exec cmd="php bin/console user:create-roles-groups"

composer.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"Elasticsearch"
1515
],
1616
"homepage": "https://github.com/systemsdk/docker-symfony-api",
17-
"version": "v3.6.1",
17+
"version": "v3.7.0",
1818
"license": "MIT",
1919
"authors": [
2020
{
21-
"name": "Dmitriy Kravtsov",
21+
"name": "Dmitry Kravtsov",
2222
"email": "dmytro.kravtsov@systemsdk.com",
2323
"homepage": "https://github.com/systemsdk",
2424
"role": "Developer"
@@ -42,19 +42,19 @@
4242
"ext-pdo": "*",
4343
"ext-pdo_mysql": "*",
4444
"beberlei/doctrineextensions": "1.5.*",
45-
"doctrine/doctrine-bundle": "2.15.*",
46-
"doctrine/doctrine-migrations-bundle": "3.4.*",
45+
"doctrine/doctrine-bundle": "3.0.*",
46+
"doctrine/doctrine-migrations-bundle": "3.5.*",
4747
"doctrine/orm": "3.5.*",
48-
"friendsofphp/proxy-manager-lts": "^1.0.18",
48+
"friendsofphp/proxy-manager-lts": "^1.0.19",
4949
"dukecity/command-scheduler-bundle": "6.0.*",
5050
"elasticsearch/elasticsearch": "^7.17.3",
51-
"gedmo/doctrine-extensions": "3.20.*",
51+
"gedmo/doctrine-extensions": "3.21.*",
5252
"lexik/jwt-authentication-bundle": "3.1.*",
5353
"mark-gerarts/automapper-plus-bundle": "1.5.*",
5454
"matomo/device-detector": "6.4.*",
5555
"matthiasnoback/symfony-console-form": "6.0.*",
56-
"nelmio/api-doc-bundle": "5.4.*",
57-
"nelmio/cors-bundle": "2.5.*",
56+
"nelmio/api-doc-bundle": "5.6.*",
57+
"nelmio/cors-bundle": "2.6.*",
5858
"phpdocumentor/reflection-docblock": "^5.6.3",
5959
"ramsey/uuid-doctrine": "2.1.*",
6060
"symfony/amqp-messenger": "7.3.*",
@@ -66,7 +66,7 @@
6666
"symfony/doctrine-messenger": "7.3.*",
6767
"symfony/dotenv": "7.3.*",
6868
"symfony/expression-language": "7.3.*",
69-
"symfony/flex": "^2.8.1",
69+
"symfony/flex": "^2.9.0",
7070
"symfony/form": "7.3.*",
7171
"symfony/framework-bundle": "7.3.*",
7272
"symfony/http-client": "7.3.*",
@@ -83,16 +83,16 @@
8383
"symfony/routing": "7.3.*",
8484
"symfony/security-bundle": "7.3.*",
8585
"symfony/serializer": "7.3.*",
86-
"symfony/stimulus-bundle": "^2.29.1",
86+
"symfony/stimulus-bundle": "^2.31.0",
8787
"symfony/string": "7.3.*",
8888
"symfony/translation": "7.3.*",
8989
"symfony/twig-bundle": "7.3.*",
90-
"symfony/ux-turbo": "^2.29.1",
90+
"symfony/ux-turbo": "^2.31.0",
9191
"symfony/validator": "7.3.*",
9292
"symfony/web-link": "7.3.*",
9393
"symfony/yaml": "7.3.*",
94-
"twig/extra-bundle": "^2.12|^3.21",
95-
"twig/twig": "^2.12|^3.21.1"
94+
"twig/extra-bundle": "^2.12|^3.22",
95+
"twig/twig": "^2.12|^3.22.0"
9696
},
9797
"conflict": {
9898
"symfony/debug": "<3.3",
@@ -101,7 +101,7 @@
101101
},
102102
"require-dev": {
103103
"bamarni/composer-bin-plugin": "^1.8.2",
104-
"doctrine/doctrine-fixtures-bundle": "^4.1",
104+
"doctrine/doctrine-fixtures-bundle": "^4.3",
105105
"systemsdk/easy-log-bundle": "^2.0.1",
106106
"roave/security-advisories": "dev-latest",
107107
"symfony/debug-bundle": "7.3.*",
@@ -160,7 +160,7 @@
160160
"Symfony\\Component\\BrowserKit\\": "tools/01_phpunit/vendor/symfony/browser-kit",
161161
"DAMA\\DoctrineTestBundle\\": "tools/01_phpunit/vendor/dama/doctrine-test-bundle/src",
162162
"Symfony\\Bridge\\PhpUnit\\": "tools/01_phpunit/vendor/symfony/phpunit-bridge",
163-
"PHPMD\\": "tools/06_phpmd/vendor/phpmd/phpmd/src/bin",
163+
"PHPMD\\": "tools/06_phpmd/vendor/phpmd/phpmd/bin",
164164
"Systemsdk\\PhpCPD\\": "tools/10_phpcpd/vendor/systemsdk/phpcpd/src",
165165
"PhpCsFixer\\": "tools/03_ecs/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src",
166166
"PHP_CodeSniffer\\": "tools/03_ecs/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/src",

0 commit comments

Comments
 (0)