Skip to content

Commit

Permalink
✨ add compat with grumphp 2 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored Jul 31, 2023
1 parent 9d5185c commit 7531bd1
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattribute
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker-compose.yml export-ignore
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
.idea
var
public/
packages/*
!packages/.gitkeep

17 changes: 14 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,32 @@
"ergebnis/composer-normalize": "^2.31",
"kcs/psr-phpstan-rules": "^1.1",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpro/grumphp": "^1.15",
"phpro/grumphp": "^2",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.9.0",
"pluswerk/grumphp-bom-task": "^7.0.0",
"pluswerk/grumphp-xliff-task": "^5.0.0",
"pluswerk/grumphp-bom-task": "^8.0.0",
"pluswerk/grumphp-xliff-task": "^6.0.0",
"rector/rector": "^0.15.10",
"squizlabs/php_codesniffer": "^3.7.1",
"symfony/yaml": "^5.4.0 || ^6.0"
},
"require-dev": {
"composer/composer": "^2.5.5",
"pluswerk/grumphp-bom-task": "dev-main as 8.99.99",
"pluswerk/grumphp-xliff-task": "dev-main as 6.99.99",
"roave/security-advisories": "dev-latest",
"saschaegerer/phpstan-typo3": "^1.8.5",
"ssch/typo3-rector": "^1.2.2"
},
"repositories": [
{
"type": "path",
"url": "packages/*",
"options": {
"reference": "none"
}
}
],
"autoload": {
"psr-4": {
"PLUS\\GrumPHPConfig\\": "src/"
Expand Down
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '3.5'

services:
web:
image: ghcr.io/pluswerk/php-dev:nginx-8.2-alpine

volumes:
- .:/app
- /var/run/docker.sock:/var/run/docker.sock:ro
- ~/.ssh:/home/application/.ssh
- ~/.composer/cache:/home/application/.composer/cache
- ~/.gitconfig:/home/application/.gitconfig

environment:
- XDEBUG_CLIENT_HOST=${XDEBUG_CLIENT_HOST:-}
- XDEBUG_CLIENT_PORT=${XDEBUG_CLIENT_PORT:-9000}
- php.xdebug.idekey=${XDEBUG_IDEKEY:-PHPSTORM}
- APPLICATION_UID=${APPLICATION_UID:-1000}
- APPLICATION_GID=${APPLICATION_GID:-1000}
Empty file added packages/.gitkeep
Empty file.

0 comments on commit 7531bd1

Please sign in to comment.