Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit e325fb9

Browse files
committed
Symfon 7.x compatibility
1 parent 6a78261 commit e325fb9

File tree

5 files changed

+352
-349
lines changed

5 files changed

+352
-349
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ WORKDIR /srv/php
5353

5454
# prevent the reinstallation of vendors at every changes in the source code
5555
COPY composer.json .
56-
# composer.lock symfony.lock ./
57-
58-
# copy only specifically what we need
59-
COPY config config/
56+
COPY composer.lock ./
6057
COPY src src/
6158

6259
RUN mkdir -p var/log

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
sh:
22
@echo "Start shell in php container"
3-
make up && docker-compose exec -it php sh
3+
make up && docker compose exec -it php sh
44

55
up:
66
@echo "Start docker"
7-
docker-compose up -d
7+
docker compose up -d
88

99
ps:
1010
@echo "Show running docker containers"
11-
docker-compose ps
11+
docker compose ps
1212

1313
build:
1414
@echo "Build docker container"
15-
docker-compose build -d
15+
docker compose build -d

composer.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
"description": "A Symfony bundle to integrate the lexoffice api.",
44
"license": "proprietary",
55
"type": "symfony-bundle",
6-
"version": "0.1.1",
6+
"version": "0.2.0",
77
"require": {
8-
"php": "^8.1",
8+
"php": ">=8.1",
99
"ext-ctype": "*",
1010
"ext-iconv": "*",
1111
"ext-posix": "*",
1212
"guzzlehttp/guzzle": "^7.8",
13-
"symfony/config": "^6.2",
14-
"symfony/dependency-injection": "^6.2",
15-
"symfony/filesystem": "^6.4",
16-
"symfony/http-client": "^6.4",
17-
"symfony/serializer": "^6.4",
18-
"symfony/validator": "^6.4",
13+
"symfony/config": ">=6.2",
14+
"symfony/dependency-injection": ">=6.2",
15+
"symfony/filesystem": ">=6.4",
16+
"symfony/http-client": ">=6.4",
17+
"symfony/serializer": ">=6.4",
18+
"symfony/validator": ">=6.4",
1919
"thecodingmachine/safe": "^2.1"
2020
},
2121
"require-dev": {
@@ -31,12 +31,12 @@
3131
"phpunit/phpunit": "9.5.16",
3232
"spatie/phpunit-snapshot-assertions": "^4.2",
3333
"squizlabs/php_codesniffer": "*",
34-
"symfony/browser-kit": "^6.2.0",
35-
"symfony/framework-bundle": "^6.4",
36-
"symfony/http-kernel": "^6.2",
37-
"symfony/phpunit-bridge": "^6.2.0",
38-
"symfony/stopwatch": "^6.2.0",
39-
"symfony/var-exporter": "^6.2",
34+
"symfony/browser-kit": ">=6.2.0",
35+
"symfony/framework-bundle": ">=6.4",
36+
"symfony/http-kernel": ">=6.2",
37+
"symfony/phpunit-bridge": ">=6.2.0",
38+
"symfony/stopwatch": ">=6.2.0",
39+
"symfony/var-exporter": ">=6.2",
4040
"thecodingmachine/phpstan-safe-rule": "^1.2",
4141
"var-lab/coding-standard": "^1.0"
4242
},

0 commit comments

Comments
 (0)