mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 23:36:21 +07:00 
			
		
		
		
	Remove pcov patch
This commit is contained in:
		| @ -318,10 +318,6 @@ if($installed.MajorMinorVersion -ne $version) { | |||||||
|   exit 1 |   exit 1 | ||||||
| } | } | ||||||
| ('date.timezone=UTC', 'memory_limit=-1', 'xdebug.mode=coverage') | ForEach-Object { $p=$_.split('='); Set-PhpIniKey -Key $p[0] -Value $p[1] -Path $php_dir } | ('date.timezone=UTC', 'memory_limit=-1', 'xdebug.mode=coverage') | ForEach-Object { $p=$_.split('='); Set-PhpIniKey -Key $p[0] -Value $p[1] -Path $php_dir } | ||||||
| # Patch till there is a pcov DLL for PHP 8.0 on pecl |  | ||||||
| if ($version -eq '8.0') { |  | ||||||
|   Invoke-WebRequest -Uri "https://github.com/shivammathur/php-extensions-windows/releases/latest/download/php$version`_$env:PHPTS`_$arch`_pcov.dll" -OutFile $php_dir"\ext\php`_pcov.dll" |  | ||||||
| } |  | ||||||
| Enable-PhpExtension -Extension openssl, curl, opcache, mbstring -Path $php_dir | Enable-PhpExtension -Extension openssl, curl, opcache, mbstring -Path $php_dir | ||||||
| Update-PhpCAInfo -Path $php_dir -Source CurrentUser | Update-PhpCAInfo -Path $php_dir -Source CurrentUser | ||||||
| Copy-Item -Path $dist\..\src\configs\*.json -Destination $env:RUNNER_TOOL_CACHE | Copy-Item -Path $dist\..\src\configs\*.json -Destination $env:RUNNER_TOOL_CACHE | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur