Skip to content

Commit 300da04

Browse files
authored
Merge pull request #1 from anjar/dev/php-7.x
feat: update package to spesific version for php7.x
2 parents 34d85f4 + 9994781 commit 300da04

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.env
2+
bin/act
3+
.github/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 \

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)