-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
several extensions enabled by default on php7.2, but non 7.0 #143
Comments
my github action worfklow is: name: PHP Checks
on: [push]
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: 7.2
coverage: none
- run: |
composer install --prefer-dist --no-progress # install the apps dependencies
composer bin phpstan install --no-progress
- run: composer phpstan -- --no-progress
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: 7.0
coverage: none
- run: |
composer install --prefer-dist --no-progress # install the apps dependencies
composer bin php-cs-fixer install --no-progress
- run: composer csfix -- --dry-run --diff --verbose |
ext-dom usually is a builtin-extension.. it seems it was explicitly disabled on the php7.0 builds? |
its seems the same issue exists for |
@clxmstaab For I will update the script to install |
hmm and |
In addition to I will update the script to add |
Thanks for the fast feedback. Great job! |
Describe the bug
using a action which installs via composer sabre/xml I am gettin an error when using php7.0 because of a missing ext-dom extension but on php 7.2 build it works fine
in the php 7.0 build the ext-dom extension needs to be explicitly activated via github-action workflow config, but on php 7.2 it works out of the box.
is this difference intentional?
The text was updated successfully, but these errors were encountered: