Skip to content

Commit 60074fc

Browse files
authored
add support of php8.0 (#76)
* update xparse libs * fix roave/security-advisories main branch name * up to php7.3 * update php versions in actions config * code grooming * code grooming * code grooming * change xparse libraries constraints * remove composer.lock * up phpunit version * remove exception from phpDoc * return minimum-stability definition * remove exception annotations from tests * announce changes Co-authored-by: Andrei Semianovych <andrei.semianovych@linemedia.com>
1 parent d32b75d commit 60074fc

12 files changed

Lines changed: 28 additions & 2652 deletions

.github/workflows/test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ jobs:
88
strategy:
99
matrix:
1010
php-versions: ['7.3', '7.4', '8.0']
11-
package-stability: ['stable', 'alpha']
1211
name: PHP ${{ matrix.php-versions }}
1312
steps:
1413
- name: Checkout
@@ -30,8 +29,6 @@ jobs:
3029
restore-keys: |
3130
${{ runner.os }}-composer-
3231
33-
- name: Configure stability
34-
run: composer config minimum-stability ${{ matrix.package-stability }}
3532
- name: Install dependencies
3633
run: composer install --prefer-dist --dev
3734

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea
22
build
3-
vendor
3+
vendor
4+
composer.lock

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All Notable changes to `Parser` will be documented in this file
33

4+
## Planned changes
5+
- Upgrade to php 7.3
6+
- Add php 8.0 support
7+
48
## 0.4.1 [2019-05-14]
59
- #41 accept LinkConverter now accept ElementFinderInterface
610
- Update xparse/element-finder library

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@
1515
"role": "Developer"
1616
}
1717
],
18+
"minimum-stability": "alpha",
1819
"require": {
19-
"php": ">=7.2",
20+
"php": "^7.3 || ^8.0",
2021
"ext-dom": "*",
2122
"ext-mbstring": "*",
2223
"guzzlehttp/guzzle": "^6.3",
2324
"guzzlehttp/psr7": "^1.5",
2425
"psr/http-message": "^1.0",
25-
"xparse/element-finder": "^0.4 || ^0.5",
26+
"xparse/element-finder": "0.*",
2627
"xparse/expression-translator": "0.0.*"
2728
},
28-
"minimum-stability": "alpha",
2929
"require-dev": {
30-
"phpunit/phpunit": "^8.5",
31-
"roave/security-advisories": "dev-master",
32-
"ext-iconv": "*"
30+
"ext-iconv": "*",
31+
"phpunit/phpunit": "^9.3",
32+
"roave/security-advisories": "dev-latest"
3333
},
3434
"autoload": {
3535
"psr-4": {

0 commit comments

Comments
 (0)