Skip to content

Commit

Permalink
Merge pull request #132 from chialab/upgrade-dependencies
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
le0m authored Jul 19, 2024
2 parents d3d9ea9 + 67d5c8e commit 28b72d6
Show file tree
Hide file tree
Showing 24 changed files with 674 additions and 857 deletions.
14 changes: 12 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@
version: 2
updates:

# Maintain dependencies for Composer
# Maintain production dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
allow:
- dependency-type: "production"

# Maintain development dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "monthly"
allow:
- dependency-type: "development"

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.1'
php-version: '8.2'
tools: 'composer'
coverage: 'none'

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.1'
php-version: '8.2'
tools: 'composer'
coverage: 'none'

Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
run: 'composer dump-autoload --classmap-authoritative --no-cache'

- name: 'Run PHPUnit'
run: 'phpdbg -qrr vendor/bin/phpunit --coverage-clover=clover.xml'
run: 'composer run unit -- --coverage-clover=clover.xml'

- name: 'Export coverage results'
uses: 'codecov/codecov-action@v3'
Expand All @@ -151,7 +151,7 @@ jobs:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.1'
php-version: '8.2'
tools: 'composer'

- name: 'Discover Composer cache directory'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/tests/tmp/*
!/tests/tmp/.gitkeep
/vendor/
/.idea
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"aws/aws-sdk-php": "^3.222"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.7",
"cakephp/cakephp-codesniffer": "^4.5",
"phpunit/phpunit": "^11.2",
"phpstan/phpstan": "^1.11",
"cakephp/cakephp-codesniffer": "^5.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpstan/phpstan-phpunit": "^1.1"
"phpstan/phpstan-phpunit": "^1.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 28b72d6

Please sign in to comment.