File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 2222 - name : Process test reports
2323 run : make process-reports
2424
25- - name : SonarCloud
26- uses : sonarsource/sonarcloud-github -action@master
25+ - name : SonarQube Scan
26+ uses : SonarSource/sonarqube-scan -action@v5
2727 env :
28- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2928 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 11.PHONY : all clean docker-build docker-images help lint lint-fix repl shell test test-static test-unit bump bump-dev process-reports
22
3+ HOST_UID ?= ` id -u `
4+ HOST_GID ?= ` id -g `
35IMAGE ?= php_8_4
4- PHP = docker compose run --rm php
6+ PHP = docker compose run --rm -u $( HOST_UID ) : $( HOST_GID ) php
57
68all : test
79
810vendor :
911 $(PHP ) composer install
1012
1113clean :
12- $(PHP ) rm -rf vendor composer.lock
14+ $(PHP ) rm -rf build vendor .phpunit.result.cache composer.lock
1315
1416lint : vendor
1517 $(PHP ) composer lint
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ services:
33 build : ./docker/image/${IMAGE:-php_8_4}
44 volumes :
55 - .:/app
6- - ${COMPOSER_HOME:-$HOME/.composer}:/tmp
6+ - ${COMPOSER_HOME:-$HOME/.composer}:/composer
77 networks :
88 - app
99 environment :
@@ -12,6 +12,7 @@ services:
1212 - XDEBUG_TRIGGER
1313 - PHP_IDE_CONFIG
1414 - COMPOSER_ROOT_VERSION=dev-master
15+ - COMPOSER_HOME=/composer
1516
1617networks :
1718 app :
You can’t perform that action at this time.
0 commit comments