Skip to content

Commit c472e08

Browse files
authored
Merge pull request #28 from magento-trigger/CE-32872-PHP8-Compatibility
Has been added compatibility with PHP 8 to `magento/semver`
2 parents 9921012 + 7c399ea commit c472e08

File tree

8 files changed

+817
-422
lines changed

8 files changed

+817
-422
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
php-version:
1717
- "7.3"
1818
- "7.4"
19+
- "8.0"
1920
dependencies:
2021
- "lowest"
2122
- "highest"

composer.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,29 @@
88
],
99
"bin": ["bin/svc"],
1010
"require": {
11-
"php": "~7.3.0||~7.4.0",
11+
"php": "~7.3.0||~7.4.0||~8.0.0",
1212
"ext-json": "*",
13-
"phpstan/phpdoc-parser": "^0.3.5",
13+
"laminas/laminas-dependency-plugin": "^2.1.0",
14+
"laminas/laminas-stdlib": "~3.5.0",
15+
"nikic/php-parser": "~4.12.0",
16+
"phpstan/phpdoc-parser": "^0.5.5",
17+
"sabre/xml": "~2.2.3",
1418
"symfony/console": "~4.1.0||~4.4.0",
1519
"tomzx/php-semver-checker": "^0.14.0",
16-
"wikimedia/less.php": "~1.8.0",
17-
"zendframework/zend-stdlib": "^3.2.1",
18-
"nikic/php-parser": "~4.4.0||~4.5.0||~4.6.0",
19-
"sabre/xml": "^2.1"
20+
"wikimedia/less.php": "~3.1.0"
2021
},
2122
"require-dev": {
22-
"phpunit/phpunit": "^6.5.0",
2323
"ext-dom": "*",
24-
"squizlabs/php_codesniffer": "^3.5.1"
24+
"phpunit/phpunit": "~9.5.8",
25+
"squizlabs/php_codesniffer": "~3.6.0"
2526
},
2627
"autoload": {
2728
"psr-4": {
2829
"Magento\\SemanticVersionChecker\\": "src/",
2930
"Magento\\SemanticVersionChecker\\Test\\": "tests/"
3031
}
32+
},
33+
"config": {
34+
"sort-packages": true
3135
}
3236
}

0 commit comments

Comments
 (0)