Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfon 7.x compatibility #8

Merged
merged 1 commit into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading