Skip to content

Commit

Permalink
Php 8.2, symfony 6.2, updated RabbitMQ, updated composer dependencies…
Browse files Browse the repository at this point in the history
…, refactoring.
  • Loading branch information
DKravtsov committed Dec 15, 2022
1 parent 85a8c8a commit d7c702d
Show file tree
Hide file tree
Showing 82 changed files with 2,498 additions and 1,816 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.1-fpm
FROM php:8.2-fpm

# set main params
ARG BUILD_ARGUMENT_ENV=dev
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -356,15 +356,15 @@ ifeq ($(INSIDE_DOCKER_CONTAINER), 1)
@echo "\033[32mRunning PHPStan - PHP Static Analysis Tool\033[39m"
@bin/console cache:clear --env=test
@./vendor/bin/phpstan --version
@./vendor/bin/phpstan analyze src tests
@./vendor/bin/phpstan analyze src tests --xdebug
else
@make exec cmd="make phpstan"
endif

phpinsights: ## Runs Php Insights analysis tool
ifeq ($(INSIDE_DOCKER_CONTAINER), 1)
@echo "\033[32mRunning PHP Insights\033[39m"
@php -d error_reporting=0 ./vendor/bin/phpinsights analyse --no-interaction --min-quality=100 --min-complexity=84 --min-architecture=100 --min-style=100
@php -d error_reporting=0 ./vendor/bin/phpinsights analyse --no-interaction --min-quality=98 --min-complexity=85 --min-architecture=100 --min-style=100
else
@make exec cmd="make phpinsights"
endif
Expand Down
80 changes: 40 additions & 40 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"Elasticsearch"
],
"homepage": "https://github.com/systemsdk/docker-symfony-api",
"version": "v1.3.1",
"version": "v1.4.0",
"license": "MIT",
"authors": [
{
Expand All @@ -31,7 +31,7 @@
}
],
"require": {
"php": "^8.1.0",
"php": "^8.2.0",
"ext-amqp": "*",
"ext-ctype": "*",
"ext-iconv": "*",
Expand All @@ -46,7 +46,7 @@
"doctrine/orm": "^2.13",
"dukecity/command-scheduler-bundle": "^5.0",
"elasticsearch/elasticsearch": "^7.17",
"gedmo/doctrine-extensions": "^3.9",
"gedmo/doctrine-extensions": "^3.10",
"lexik/jwt-authentication-bundle": "^2.16",
"mark-gerarts/automapper-plus-bundle": "^1.4",
"matomo/device-detector": "^6.0",
Expand All @@ -56,37 +56,37 @@
"phpdocumentor/reflection-docblock": "^5.3",
"ramsey/uuid-doctrine": "^1.8",
"sensio/framework-extra-bundle": "^6.2",
"symfony/amqp-messenger": "6.1.*",
"symfony/asset": "6.1.*",
"symfony/config": "6.1.*",
"symfony/console": "6.1.*",
"symfony/doctrine-messenger": "6.1.*",
"symfony/dotenv": "6.1.*",
"symfony/expression-language": "6.1.*",
"symfony/amqp-messenger": "6.2.*",
"symfony/asset": "6.2.*",
"symfony/config": "6.2.*",
"symfony/console": "6.2.*",
"symfony/doctrine-messenger": "6.2.*",
"symfony/dotenv": "6.2.*",
"symfony/expression-language": "6.2.*",
"symfony/flex": "^2.2",
"symfony/form": "6.1.*",
"symfony/framework-bundle": "6.1.*",
"symfony/http-client": "6.1.*",
"symfony/intl": "6.1.*",
"symfony/mailer": "6.1.*",
"symfony/messenger": "6.1.*",
"symfony/mime": "6.1.*",
"symfony/form": "6.2.*",
"symfony/framework-bundle": "6.2.*",
"symfony/http-client": "6.2.*",
"symfony/intl": "6.2.*",
"symfony/mailer": "6.2.*",
"symfony/messenger": "6.2.*",
"symfony/mime": "6.2.*",
"symfony/monolog-bundle": "^3.8",
"symfony/notifier": "6.1.*",
"symfony/process": "6.1.*",
"symfony/property-access": "6.1.*",
"symfony/property-info": "6.1.*",
"symfony/proxy-manager-bridge": "6.1.*",
"symfony/runtime": "6.1.*",
"symfony/routing": "6.1.*",
"symfony/security-bundle": "6.1.*",
"symfony/serializer": "6.1.*",
"symfony/string": "6.1.*",
"symfony/translation": "6.1.*",
"symfony/twig-bundle": "6.1.*",
"symfony/validator": "6.1.*",
"symfony/web-link": "6.1.*",
"symfony/yaml": "6.1.*",
"symfony/notifier": "6.2.*",
"symfony/process": "6.2.*",
"symfony/property-access": "6.2.*",
"symfony/property-info": "6.2.*",
"symfony/proxy-manager-bridge": "6.2.*",
"symfony/runtime": "6.2.*",
"symfony/routing": "6.2.*",
"symfony/security-bundle": "6.2.*",
"symfony/serializer": "6.2.*",
"symfony/string": "6.2.*",
"symfony/translation": "6.2.*",
"symfony/twig-bundle": "6.2.*",
"symfony/validator": "6.2.*",
"symfony/web-link": "6.2.*",
"symfony/yaml": "6.2.*",
"twig/extra-bundle": "^2.12|^3.0"
},
"conflict": {
Expand All @@ -99,13 +99,13 @@
"doctrine/doctrine-fixtures-bundle": "^3.4",
"systemsdk/easy-log-bundle": "2.0.*",
"roave/security-advisories": "dev-latest",
"symfony/browser-kit": "6.1.*",
"symfony/debug-bundle": "6.1.*",
"symfony/maker-bundle": "^1.47",
"symfony/browser-kit": "6.2.*",
"symfony/debug-bundle": "6.2.*",
"symfony/maker-bundle": "^1.48",
"symfony/requirements-checker": "^2.0",
"symfony/stopwatch": "6.1.*",
"symfony/var-dumper": "6.1.*",
"symfony/web-profiler-bundle": "6.1.*"
"symfony/stopwatch": "6.2.*",
"symfony/var-dumper": "6.2.*",
"symfony/web-profiler-bundle": "6.2.*"
},
"replace": {
"symfony/polyfill-ctype": "*",
Expand All @@ -117,7 +117,7 @@
"config": {
"allow-plugins": true,
"platform": {
"php": "8.1.0"
"php": "8.2.0"
},
"preferred-install": {
"*": "dist"
Expand All @@ -134,7 +134,7 @@
"projectTitle": "Docker Symfony API",
"symfony": {
"allow-contrib": true,
"require": "6.1.*"
"require": "6.2.*"
}
},
"autoload": {
Expand Down
Loading

0 comments on commit d7c702d

Please sign in to comment.