Merge pull request #9737 from creative-commoners/pulls/4/php-8-support

MNT Expand Composer requirements to support PHP 8, Update Behat config to support Symfony 4
This commit is contained in:
Garion Herman 2020-10-16 22:20:18 +13:00 committed by GitHub
commit 45d0f1d384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ default:
suites: suites:
framework: framework:
paths: paths:
- %paths.modules.admin%/tests/behat/features - '%paths.modules.admin%/tests/behat/features'
contexts: contexts:
- SilverStripe\Framework\Tests\Behaviour\FeatureContext - SilverStripe\Framework\Tests\Behaviour\FeatureContext
- SilverStripe\Framework\Tests\Behaviour\CmsFormsContext - SilverStripe\Framework\Tests\Behaviour\CmsFormsContext
@ -19,7 +19,7 @@ default:
- SilverStripe\BehatExtension\Context\LoginContext - SilverStripe\BehatExtension\Context\LoginContext
- -
SilverStripe\BehatExtension\Context\FixtureContext: SilverStripe\BehatExtension\Context\FixtureContext:
- %paths.modules.admin%/tests/behat/features/files/ - '%paths.modules.admin%/tests/behat/features/files/'
extensions: extensions:
SilverStripe\BehatExtension\MinkExtension: SilverStripe\BehatExtension\MinkExtension:
@ -30,5 +30,5 @@ default:
wd_host: "http://127.0.0.1:9515" #chromedriver port wd_host: "http://127.0.0.1:9515" #chromedriver port
SilverStripe\BehatExtension\Extension: SilverStripe\BehatExtension\Extension:
screenshot_path: %paths.base%/artifacts/screenshots screenshot_path: '%paths.base%/artifacts/screenshots'
bootstrap_file: "tests/behat/serve-bootstrap.php" bootstrap_file: "tests/behat/serve-bootstrap.php"

View File

@ -41,7 +41,7 @@
"symfony/config": "^3.2 || ^4", "symfony/config": "^3.2 || ^4",
"symfony/translation": "^2.8 || ^3 || ^4", "symfony/translation": "^2.8 || ^3 || ^4",
"symfony/yaml": "^3.2 || ^4", "symfony/yaml": "^3.2 || ^4",
"php": ">=7.1.0", "php": "^7.1 || ^8",
"ext-ctype": "*", "ext-ctype": "*",
"ext-dom": "*", "ext-dom": "*",
"ext-hash": "*", "ext-hash": "*",