Skip to content

Commit

Permalink
Merge pull request #9 from Mad-Collective/compatibility-psr-log-2
Browse files Browse the repository at this point in the history
Add compatibility with psr/log 2
  • Loading branch information
AaronBernabeu authored Jun 12, 2024
2 parents 5c457f4 + 313d03d commit ad7b155
Show file tree
Hide file tree
Showing 6 changed files with 212 additions and 99 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
COMPONENT := pluggitmonitoring
CONTAINER := phpfarm
CONTAINER := php80
IMAGES ?= false
APP_ROOT := /app/monitoring

all: dev nodev

dev:
@docker-compose -p ${COMPONENT} -f ops/docker/docker-compose.yml up
@docker-compose -p ${COMPONENT} -f ops/docker/docker-compose.yml up -d --build

enter:
@docker exec -ti ${COMPONENT}_${CONTAINER}_1 /bin/sh

nodev:
@docker-compose -p ${COMPONENT} -f ops/docker/docker-compose.yml rm -fa > /dev/null
Expand All @@ -32,4 +35,4 @@ logs:
tag: # List last tag for this repo
@git tag -l | sort -r |head -1

restart: nodev dev
restart: nodev dev
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

"require": {
"php": "^8.0",
"psr/log": "^3.0"
"psr/log": "^2.0 || ^3.0"
},
"require-dev": {
"phpspec/phpspec": "^7.1.0",
Expand Down
Loading

0 comments on commit ad7b155

Please sign in to comment.