mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 23:36:21 +07:00 
			
		
		
		
	Add required extensions for box
This commit is contained in:
		| @ -85,7 +85,9 @@ Function Add-ToolsHelper() { | ||||
|     $tool | ||||
|   ) | ||||
|   $extensions = @(); | ||||
|   if($tool -eq "codeception") { | ||||
|   if($tool -eq "box") { | ||||
|     $extensions += @('iconv', 'mbstring', 'phar', 'sodium') | ||||
|   } elseif($tool -eq "codeception") { | ||||
|     $extensions += @('json', 'mbstring') | ||||
|     Copy-Item $env:codeception_bin\codecept.bat -Destination $env:codeception_bin\codeception.bat | ||||
|   } elseif($tool -eq "composer") { | ||||
|  | ||||
| @ -74,6 +74,8 @@ add_tools_helper() { | ||||
|   extensions=() | ||||
|   if [ "$tool" = "blackfire-player" ]; then | ||||
|     extensions+=(uuid) | ||||
|   elif [ "$tool" = "box" ]; then | ||||
|     extensions+=(iconv mbstring phar sodium) | ||||
|   elif [ "$tool" = "codeception" ]; then | ||||
|     extensions+=(json mbstring) | ||||
|     sudo ln -s "$scoped_dir"/vendor/bin/codecept "$scoped_dir"/vendor/bin/codeception | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur