minor changes
This commit is contained in:
		
							parent
							
								
									cd6df1ffbd
								
							
						
					
					
						commit
						06aaa82a09
					
				| @ -121,8 +121,7 @@ | |||||||
| 			} | 			} | ||||||
| 			 | 			 | ||||||
| 			$closure = create_function('', | 			$closure = create_function('', | ||||||
| 			' | 				'$args = func_get_args(); | ||||||
| 				$args = func_get_args(); |  | ||||||
| 				static $obj = null; | 				static $obj = null; | ||||||
| 				 | 				 | ||||||
| 				if ($obj === null && isset($args[0]) && is_object($args[0])) { | 				if ($obj === null && isset($args[0]) && is_object($args[0])) { | ||||||
|  | |||||||
| @ -21,7 +21,7 @@ | |||||||
| 	global $switches; | 	global $switches; | ||||||
| 	$switches = new CliSwitchCollection(); | 	$switches = new CliSwitchCollection(); | ||||||
| 	$switches->addSwitch(new CliSwitch(null, null, true, '<files>', 'Files and/or directories to parse for test cases')) | 	$switches->addSwitch(new CliSwitch(null, null, true, '<files>', 'Files and/or directories to parse for test cases')) | ||||||
| 	         ->addSwitch(new CliSwitch('help', 'h', false, null, 'Display this help message (--usage is an alias)')) | 	         ->addSwitch(new CliSwitch('help', 'h', false, null, 'Display this help message (also --usage)')) | ||||||
| 	         ->addSwitch(new CliSwitch('recursive', null, false, null, 'Recurse into subdirectories')) | 	         ->addSwitch(new CliSwitch('recursive', null, false, null, 'Recurse into subdirectories')) | ||||||
| 	         ->addSwitch(new CliSwitch('bootstrap', 'b', false, 'file', 'File to include before each test')); | 	         ->addSwitch(new CliSwitch('bootstrap', 'b', false, 'file', 'File to include before each test')); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user