Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianKresse committed Nov 18, 2024
1 parent 0abc126 commit 63b28fb
Show file tree
Hide file tree
Showing 20 changed files with 2,144 additions and 2,122 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ on: [pull_request]
jobs:
tests:
name: Run PHP Unit tests
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.3', '7.4', '8.0', '8.1']
php: ['7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
29 changes: 23 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],

"require": {
"php": "^7.3 || ^8.0",
"php": "^7.4 || ^8.0",
"ext-pcre": "*",
"ext-mbstring": "*",

Expand All @@ -20,10 +20,7 @@
},

"require-dev": {
"phpunit/phpunit": "^9.0",
"php-defer/php-defer": "^4.0",
"squizlabs/php_codesniffer": "^3.5",
"phpstan/phpstan": "^0.12"
"bamarni/composer-bin-plugin": "^1.8"
},

"autoload": {
Expand All @@ -40,5 +37,25 @@

"bin": [
"./bin/php-stub-generator"
]
],

"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},

"extra": {
"bamarni-bin": {
"bin-links": true,
"target-directory": "vendor-bin",
"forward-command": true
}
},

"scripts": {
"tests": "@php vendor/bin/phpunit",
"cs": "@php vendor/bin/phpcs",
"phpstan": "@php vendor/bin/phpstan analyse"
}
}
Loading

0 comments on commit 63b28fb

Please sign in to comment.