Skip to content

Commit e15feaa

Browse files
authored
Upgrade vendors (#419)
1 parent 9d691e7 commit e15feaa

Some content is hidden

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

53 files changed

+3802
-2984
lines changed

Makefile

+9-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ configure:
1515
ifeq ($(shell uname -s), Darwin)
1616
sed -i '' 's/#\(.*\)# Uncomment for MacOS/\1/g' docker-compose.override.yml
1717
endif
18-
mkdir -p .cache/ssl
18+
mkdir -p .cache/ssl .cache/node
1919
test -f .cache/ssl/local.crt || (docker run --rm -v $$(pwd):/src alpine:3.9 sh -c "apk add openssl && openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /src/.cache/ssl/local.key -out /src/.cache/ssl/local.crt -subj \"/C=FR/ST=Paris/L=Paris/O=Resop/CN=*.resop.docker\" && cat /src/.cache/ssl/local.crt /src/.cache/ssl/local.key > /src/.cache/ssl/local.pem && chown -R $$(id -u):$$(id -g) /src/.cache")
2020

2121
unconfigure:
@@ -38,8 +38,15 @@ start-db:
3838
$(DOCKER_COMPOSE_UP) traefik postgres adminer
3939
docker-compose run --rm wait -c postgres:5432
4040

41-
start: init-db
41+
start-php:
4242
$(DOCKER_COMPOSE_UP_RECREATE) traefik nginx fpm
43+
docker-compose run --rm wait -c fpm:9000,nginx:80
44+
@echo -n "\nStack started with success:\nhttp://resop.vcap.me:7500/login => [email protected] : 01/01/1990"
45+
@echo -n "\nhttp://resop.vcap.me:7500/organizations/login => DT75 : covid19\n"
46+
47+
start: init-db start-php
48+
49+
start-preserve-db: start-db start-php
4350

4451
stop:
4552
docker-compose stop

bin/tools

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if echo ${DOCKER_HOST} | grep unix:///run/user/ > /dev/null 2>&1; then
1515
# Docker rootless
1616
${DOCKER_COMPOSE} run --rm tools "$@"
1717
elif [ -t 1 -a 1 -ne "${DISABLE_TTY}" ]; then
18+
# Common run
1819
${DOCKER_COMPOSE} run --rm -u $(id -u):$(id -g) tools "$@"
1920
else
2021
# CI and other runners

bin/update-db.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ set -ex
33

44
bin/console doctrine:mapping:info || true
55

6-
bin/console doctrine:migrations:migrate -n || true
6+
bin/console doctrine:migrations:migrate -n --allow-no-migration || true
77

composer.json

+11-8
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,28 @@
99
"ext-iconv": "*",
1010
"ext-json": "*",
1111
"beberlei/assert": "^3.2",
12+
"composer/package-versions-deprecated": "^1.11",
1213
"doctrine/annotations": "^1.8",
14+
"doctrine/doctrine-bundle": "^2.1",
1315
"doctrine/doctrine-fixtures-bundle": "^3.3",
16+
"doctrine/doctrine-migrations-bundle": "^3.0",
17+
"doctrine/orm": "^2.7",
1418
"friendsofsymfony/jsrouting-bundle": "^2.5",
1519
"martin-georgiev/postgresql-for-doctrine": "^1.3",
1620
"odolbeau/phone-number-bundle": "^3.0",
1721
"sensio/framework-extra-bundle": "5.*",
1822
"symfony/console": "5.*",
1923
"symfony/dotenv": "5.*",
20-
"symfony/expression-language": "5.0.*",
24+
"symfony/expression-language": "5.*",
2125
"symfony/flex": "1.*",
2226
"symfony/form": "5.*",
2327
"symfony/framework-bundle": "5.*",
2428
"symfony/intl": "5.*",
2529
"symfony/monolog-bundle": "^3.5",
26-
"symfony/orm-pack": "^1.0",
27-
"symfony/security-bundle": "5.0.*",
30+
"symfony/security-bundle": "5.*",
2831
"symfony/serializer-pack": "^1.0",
29-
"symfony/string": "5.0.*",
30-
"symfony/translation": "5.0.*",
32+
"symfony/string": "5.*",
33+
"symfony/translation": "5.*",
3134
"symfony/twig-pack": "^1.0",
3235
"symfony/validator": "5.*",
3336
"symfony/webpack-encore-bundle": "^1.7",
@@ -44,12 +47,12 @@
4447
"friends-of-behat/mink-extension": "^2.4",
4548
"friends-of-behat/symfony-extension": "^2.1",
4649
"friendsofphp/php-cs-fixer": "^2.16",
47-
"guikingone/panther-extension": "^0.4.0",
50+
"guikingone/panther-extension": "^0.4.1",
4851
"hautelook/alice-bundle": "^2.7",
4952
"mheap/phpunit-github-actions-printer": "^1.2",
5053
"phpstan/phpstan-doctrine": "^0.12.8",
5154
"phpstan/phpstan-symfony": "^0.12.2",
52-
"phpunit/phpunit": "^8.5",
55+
"phpunit/phpunit": "^9.4",
5356
"roave/security-advisories": "dev-master",
5457
"squizlabs/php_codesniffer": "^3.5",
5558
"symfony/debug-pack": "^1.0",
@@ -100,7 +103,7 @@
100103
"extra": {
101104
"symfony": {
102105
"allow-contrib": true,
103-
"require": "5.0.*"
106+
"require": "5.1.*"
104107
}
105108
}
106109
}

0 commit comments

Comments
 (0)