Skip to content

Commit

Permalink
Add 5.x branch
Browse files Browse the repository at this point in the history
  • Loading branch information
philipobenito committed Mar 13, 2024
1 parent 388e992 commit c2e19b4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: shivammathur/setup-php@v2
with:
php-version: 7.2
php-version: 8.1
extensions: curl, mbstring
coverage: none
tools: composer:v2, cs2pr
Expand All @@ -27,15 +27,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.2', '7.3', '7.4']
php: ['8.1', '8.2', '8.3']
coverage: [true]
composer-flags: ['']
include:
- php: '8.0'
coverage: false
- php: '7.2'
coverage: false
composer-flags: '--prefer-lowest'

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build
composer.lock
composer.phar
vendor
.sass-cache
.phpunit.result.cache
Expand Down
21 changes: 11 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
}
],
"require": {
"php": "^7.2 || ^8.0",
"psr/container": "^1.1 || ^2.0"
"php": "^8.1",
"psr/container": "^2.0.2"
},
"require-dev": {
"nette/php-generator": "^3.4",
"nikic/php-parser": "^4.10",
"phpstan/phpstan": "^0.12.47",
"phpunit/phpunit": "^8.5.17",
"nette/php-generator": "^4.1",
"nikic/php-parser": "^5.0",
"phpstan/phpstan": "^1.10.61",
"phpunit/phpunit": "^10.5.13",
"roave/security-advisories": "dev-latest",
"scrutinizer/ocular": "^1.8",
"squizlabs/php_codesniffer": "^3.6"
"scrutinizer/ocular": "^1.9",
"squizlabs/php_codesniffer": "^3.9"
},
"provide": {
"psr/container-implementation": "^1.0"
Expand All @@ -54,6 +54,7 @@
"extra": {
"branch-alias": {
"dev-master": "4.x-dev",
"dev-5.x": "5.x-dev",
"dev-4.x": "4.x-dev",
"dev-3.x": "3.x-dev",
"dev-2.x": "2.x-dev",
Expand All @@ -62,8 +63,8 @@
},
"scripts": {
"test": [
"phpunit",
"phpstan analyse"
"vendor/bin/phpunit",
"vendor/bin/phpstan analyse"
]
}
}

0 comments on commit c2e19b4

Please sign in to comment.