You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hi, I'd like to test PHPStan with various PHP extensions enabled or disabled. So I'd like to know, are there some PHP extensions that are enabled by default? I suspect it might be the case for the SOAP extensions, which can be enabled during PHP compilation with --enable-soap.
I'd like to test PHPStan behaviour with SOAP extension disabled.
Describe the solution you'd like
Ship PHP without any extensions enabled by default.
Describe alternatives you've considered
Include extensions_disable argument to be able to disable some built-in extensions like SOAP.
Additional context
This is my favourite GitHub action! Really well thought-out, a great piece of engineering. Thank you.
The text was updated successfully, but these errors were encountered:
php-soap package is pre-installed on the GitHub actions runner on ubuntu and macos builds are compiled with --enable-soap.
Disabling extensions using the action is not supported currently.
You can disable soap for example by adding these steps as per the OS after the setup-php step
name: Disable soap on ubuntuif: matrix.operating-system == 'ubuntu-latest'run: sudo phpdismod -v ${{ matrix.php-version }} soapname: Disable soap on windowsif: matrix.operating-system == 'windows-latest'run: Disable-PhpExtension soap C:\tools\phpname: Disable soap on macosif: matrix.operating-system == 'macos-latest'run: sudo sed -i '' "/soap/d" "$(php --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")"
Is your feature request related to a problem? Please describe.
Hi, I'd like to test PHPStan with various PHP extensions enabled or disabled. So I'd like to know, are there some PHP extensions that are enabled by default? I suspect it might be the case for the
SOAP
extensions, which can be enabled during PHP compilation with--enable-soap
.I'd like to test PHPStan behaviour with SOAP extension disabled.
Describe the solution you'd like
Ship PHP without any extensions enabled by default.
Describe alternatives you've considered
Include
extensions_disable
argument to be able to disable some built-in extensions like SOAP.Additional context
This is my favourite GitHub action! Really well thought-out, a great piece of engineering. Thank you.
The text was updated successfully, but these errors were encountered: