mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Merge pull request #237 from phpDocumentor/php-8
Add php 8 to build matrix
This commit is contained in:
@@ -64,6 +64,7 @@ jobs:
|
|||||||
phpunit:
|
phpunit:
|
||||||
name: Unit tests for PHP version ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
|
name: Unit tests for PHP version ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
|
||||||
runs-on: ${{ matrix.operating-system }}
|
runs-on: ${{ matrix.operating-system }}
|
||||||
|
continue-on-error: ${{ matrix.php-versions == '8.0' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
operating-system:
|
operating-system:
|
||||||
@@ -71,6 +72,9 @@ jobs:
|
|||||||
- windows-latest
|
- windows-latest
|
||||||
- macOS-latest
|
- macOS-latest
|
||||||
php-versions: ['7.2', '7.3', '7.4']
|
php-versions: ['7.2', '7.3', '7.4']
|
||||||
|
include:
|
||||||
|
- operating-system: ubuntu-latest
|
||||||
|
php-versions: '8.0'
|
||||||
env:
|
env:
|
||||||
extensions: mbstring
|
extensions: mbstring
|
||||||
key: cache-v1 # can be any string, change to clear the extension cache.
|
key: cache-v1 # can be any string, change to clear the extension cache.
|
||||||
@@ -100,7 +104,7 @@ jobs:
|
|||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extension: ${{ env.extensions }}
|
extensions: ${{ env.extensions }}
|
||||||
ini-values: memory_limit=2G, display_errors=On, error_reporting=-1
|
ini-values: memory_limit=2G, display_errors=On, error_reporting=-1
|
||||||
|
|
||||||
- name: Restore/cache tools folder
|
- name: Restore/cache tools folder
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.2",
|
"php": "^7.2 || ^8.0",
|
||||||
"phpdocumentor/type-resolver": "^1.0",
|
"phpdocumentor/type-resolver": "^1.0",
|
||||||
"webmozart/assert": "^1",
|
"webmozart/assert": "^1",
|
||||||
"phpdocumentor/reflection-common": "^2.0",
|
"phpdocumentor/reflection-common": "^2.0",
|
||||||
|
|||||||
Generated
+3
-18
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "d3993465262ab8d351dd8e034da50e7a",
|
"content-hash": "78aabc4704aa0d46758076fa18d49076",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/reflection-common",
|
"name": "phpdocumentor/reflection-common",
|
||||||
@@ -262,20 +262,6 @@
|
|||||||
"constructor",
|
"constructor",
|
||||||
"instantiate"
|
"instantiate"
|
||||||
],
|
],
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://www.doctrine-project.org/sponsorship.html",
|
|
||||||
"type": "custom"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://www.patreon.com/phpdoctrine",
|
|
||||||
"type": "patreon"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2020-05-29T17:27:14+00:00"
|
"time": "2020-05-29T17:27:14+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -398,9 +384,8 @@
|
|||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "^7.2",
|
"php": "^7.2 || ^8.0",
|
||||||
"ext-filter": "*"
|
"ext-filter": "*"
|
||||||
},
|
},
|
||||||
"platform-dev": [],
|
"platform-dev": []
|
||||||
"plugin-api-version": "1.1.0"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user