mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 07:16:22 +07:00 
			
		
		
		
	Remove old PHPUnit on linux
This commit is contained in:
		| @ -288,5 +288,6 @@ ini_file=$(php --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s | |||||||
| ext_dir=$(php -i | grep "extension_dir => /" | sed -e "s|.*=> s*||") | ext_dir=$(php -i | grep "extension_dir => /" | sed -e "s|.*=> s*||") | ||||||
| pecl_file="$scan_dir"/99-pecl.ini | pecl_file="$scan_dir"/99-pecl.ini | ||||||
| echo '' | sudo tee "$pecl_file" >/dev/null 2>&1 | echo '' | sudo tee "$pecl_file" >/dev/null 2>&1 | ||||||
|  | sudo rm -rf /usr/local/bin/phpunit >/dev/null 2>&1 | ||||||
| sudo chmod 777 "$ini_file" "$pecl_file" "$tool_path_dir" | sudo chmod 777 "$ini_file" "$pecl_file" "$tool_path_dir" | ||||||
| add_log "$tick" "PHP" "$status PHP $semver" | add_log "$tick" "PHP" "$status PHP $semver" | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur