Skip to content

Commit

Permalink
Merge pull request #111 from TheDragonCode/3.x
Browse files Browse the repository at this point in the history
Move `ext-xdiff` from required to suggestion block
  • Loading branch information
andrey-helldar committed Jun 2, 2023
2 parents 2167dbe + 255a736 commit b23c59e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v3

- name: Checking PHP Syntax
uses: TheDragonCode/codestyler@v2
uses: TheDragonCode/codestyler@v3

fix:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand All @@ -42,7 +42,7 @@ jobs:
uses: actions/checkout@v3

- name: Checking PHP Syntax
uses: TheDragonCode/codestyler@v2
uses: TheDragonCode/codestyler@v3
with:
github_token: ${{ secrets.COMPOSER_TOKEN }}
fix: true
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
coverage: xdebug

- name: Install dependencies
run: composer update --prefer-stable --prefer-dist --no-progress --no-interaction --ignore-platform-req=ext-xdiff
run: composer update --prefer-stable --prefer-dist --no-progress --no-interaction

- name: Execute tests
run: sudo vendor/bin/phpunit --colors=always
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG INPUT_EDITORCONFIG
ARG INPUT_DEPENDABOT
ARG INPUT_NORMALIZE

RUN composer global require dragon-code/codestyler:^3.0 --ignore-platform-req=ext-xdiff
RUN composer global require dragon-code/codestyler:^3.0

COPY shell /shell
COPY entrypoint.sh /entrypoint.sh
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"require": {
"php": "^8.1",
"ext-json": "*",
"ext-xdiff": "*",
"dragon-code/pretty-array": "^4.1",
"dragon-code/support": "^6.11.2",
"laravel/pint": "^1.10",
Expand All @@ -42,6 +41,9 @@
"require-dev": {
"phpunit/phpunit": "^9.6.8"
},
"suggest": {
"ext-xdiff": "Install PHP extension to show diff in JSON files"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
Expand Down

0 comments on commit b23c59e

Please sign in to comment.