File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ .env
2+ bin /act
3+ .github /
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN apk add --no-cache zip libzip-dev \
88 && docker-php-ext-configure zip --with-libzip \
99 && docker-php-ext-install zip \
1010 && rm -rf /var/lib/apt/lists/* \
11- && composer global require symplify/easy-coding-standard phpunit/phpunit pdepend/pdepend:2.10.0 phpmd/phpmd \
11+ && composer global require symplify/easy-coding-standard:9.4.70 phpunit/phpunit:9.5.10 pdepend/pdepend:2.10.0 phpmd/phpmd:2.10.2 \
1212 && composer clear-cache \
1313 && rm -rf /var/cache/* /var/tmp/* /tmp/* /var/lib/apt/lists/* /usr/share/man /var/lib/dpkg/info \
1414 && ln -s /root/.composer/vendor/bin/ecs /usr/bin \
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ Currently there are 2 library that can be use:
99---
1010#### How to use
1111
12+ * Authenticate with github container.
13+ ``` bash
14+ export CR_PAT=YOUR_TOKEN_WITH_READ_ACCESS_TO_PACKAGES
15+ echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
16+ ```
17+
1218* Create ecs.php, if you wanna use ECS, see ecs.php.example.
1319* Create ruleset.xml, if you want use PHPMD.
1420* Ecs example:
You can’t perform that action at this time.
0 commit comments