Skip to content

Commit 6dcc17e

Browse files
committed
Disable PHP8 for now, and add ProphecyTrait
1 parent 2adc0df commit 6dcc17e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
- php-version: "7.2"
2525
drupal: "~8.9"
2626
experimental: false
27-
- php-version: "8.0"
28-
drupal: "^9.0"
29-
experimental: true
27+
# @todo add when upgrading mglaman/phpstan-drupal.
28+
# - php-version: "8.0"
29+
# drupal: "^9.0"
30+
# experimental: true
3031
steps:
3132
- name: "Checkout"
3233
uses: "actions/checkout@v2"
@@ -55,6 +56,11 @@ jobs:
5556
composer config repositories.0 path $GITHUB_WORKSPACE
5657
composer config repositories.1 composer https://packages.drupal.org/8
5758
COMPOSER_MEMORY_LIMIT=-1 composer require drupal/core-dev:${{ matrix.drupal }} --with-all-dependencies
59+
- name: "Add phpspec/prophecy-phpunit"
60+
run: |
61+
cd ~/drupal
62+
COMPOSER_MEMORY_LIMIT=-1 composer require --dev phpspec/prophecy-phpunit:^2
63+
if: ${{ matrix.drupal == '^9.0' }}
5864
- name: "require drupal-check"
5965
run: |
6066
cd ~/drupal

0 commit comments

Comments
 (0)