This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $phpunit_phar =__DIR__.'\\phpunit.phar'; // @edit path to Your phpunit | |
| $php_exe_path='C:\Users\[username]\AppData\Local\PHP\v5.6\php.exe'; // @edit path to Your win php | |
| array_splice($argv,-1,0,array("--")); // inject argument terminator | |
| $argv[0] = $phpunit_phar; // inject phpuit path | |
| array_unshift($argv,$php_exe_path); // inject php executable | |
| //print_r($argv); | |
| $cmd = ''; | |
| // build command line to execute | |
| foreach($argv as $arg){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| toto je demo gist | |
| prostý textový dokument |