Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,32 @@ on: [push]
jobs:
code-style:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1']
steps:
- uses: actions/checkout@v2
- uses: "shivammathur/setup-php@v2"
with:
php-version: "8.0"
php-version: ${{ matrix.php-versions }}
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Install dependencies"
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"
- name: "Run PHP CS Fixer"
run: |
./vendor/bin/php-cs-fixer --allow-risky=yes --dry-run fix

static-analysis:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1']
steps:
- uses: actions/checkout@v2
- uses: "shivammathur/setup-php@v2"
with:
php-version: "8.0"
php-version: ${{ matrix.php-versions }}
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Install dependencies"
Expand All @@ -35,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0']
php-versions: ['8.0', '8.1']
dependency-versions: ['highest', 'lowest']
steps:
- uses: actions/checkout@v2
Expand All @@ -49,7 +55,7 @@ jobs:
- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: "Install dependencies"
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: ${{ matrix.dependency-versions }}
- name: "Prepare for tests"
Expand Down
15 changes: 10 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,27 @@
"symfony/browser-kit": "^5.3",
"symfony/console": "^5.3",
"symfony/css-selector": "^5.3",
"symfony/dom-crawler": "^5.4",
"symfony/event-dispatcher": "^5.3",
"symfony/filesystem": "^5.3",
"symfony/finder": "^5.3",
"symfony/process": "^5.3"
"symfony/finder": "^5.4",
"symfony/process": "^5.4",
"symfony/options-resolver": "^5.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"jangregor/phpstan-prophecy": "^1",
"mikey179/vfsstream": "^1.6.7",
"mikey179/vfsstream": "^1.6.10",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "1.5.4",
"phpstan/phpstan-symfony": "^1",
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.5.20"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"authors": [
{
Expand Down