Skip to content

Commit

Permalink
Symfon 7.x compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
4d4ch4u32 committed Oct 5, 2024
1 parent 6a78261 commit 92f010a
Show file tree
Hide file tree
Showing 5 changed files with 352 additions and 349 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ WORKDIR /srv/php

# prevent the reinstallation of vendors at every changes in the source code
COPY composer.json .
# composer.lock symfony.lock ./

# copy only specifically what we need
COPY config config/
COPY composer.lock ./
COPY src src/

RUN mkdir -p var/log
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
sh:
@echo "Start shell in php container"
make up && docker-compose exec -it php sh
make up && docker compose exec -it php sh

up:
@echo "Start docker"
docker-compose up -d
docker compose up -d

ps:
@echo "Show running docker containers"
docker-compose ps
docker compose ps

build:
@echo "Build docker container"
docker-compose build -d
docker compose build -d
28 changes: 14 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"description": "A Symfony bundle to integrate the lexoffice api.",
"license": "proprietary",
"type": "symfony-bundle",
"version": "0.1.1",
"version": "0.2.0",
"require": {
"php": "^8.1",
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-posix": "*",
"guzzlehttp/guzzle": "^7.8",
"symfony/config": "^6.2",
"symfony/dependency-injection": "^6.2",
"symfony/filesystem": "^6.4",
"symfony/http-client": "^6.4",
"symfony/serializer": "^6.4",
"symfony/validator": "^6.4",
"symfony/config": ">=6.2",
"symfony/dependency-injection": ">=6.2",
"symfony/filesystem": ">=6.4",
"symfony/http-client": ">=6.4",
"symfony/serializer": ">=6.4",
"symfony/validator": ">=6.4",
"thecodingmachine/safe": "^2.1"
},
"require-dev": {
Expand All @@ -31,12 +31,12 @@
"phpunit/phpunit": "9.5.16",
"spatie/phpunit-snapshot-assertions": "^4.2",
"squizlabs/php_codesniffer": "*",
"symfony/browser-kit": "^6.2.0",
"symfony/framework-bundle": "^6.4",
"symfony/http-kernel": "^6.2",
"symfony/phpunit-bridge": "^6.2.0",
"symfony/stopwatch": "^6.2.0",
"symfony/var-exporter": "^6.2",
"symfony/browser-kit": ">=6.2.0",
"symfony/framework-bundle": ">=6.4",
"symfony/http-kernel": ">=6.2",
"symfony/phpunit-bridge": ">=6.2.0",
"symfony/stopwatch": ">=6.2.0",
"symfony/var-exporter": ">=6.2",
"thecodingmachine/phpstan-safe-rule": "^1.2",
"var-lab/coding-standard": "^1.0"
},
Expand Down
Loading

0 comments on commit 92f010a

Please sign in to comment.