This file contains 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 | |
namespace foo { | |
interface client | |
{ | |
public function execute($query, array $params); | |
} |
This file contains 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 | |
namespace Acme\DemoBundle\Tests\Controller; | |
require_once __DIR__ . '/../../../../vendor/autoload.php'; | |
require_once __DIR__ . '/../../../../vendor/atoum/atoum/scripts/runner.php'; | |
use atoum\AtoumBundle\Test\Controller; | |
class DemoController extends Controller\ControllerTest | |
{ |
This file contains 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 | |
use \mageekguy\atoum; | |
function colorized() { | |
$color = -1; | |
if(false !== ($term = getenv('TERM'))) { | |
if(preg_match('/\d+/', $term, $matches) > 0) { | |
$color = $matches[0]; | |
} | |
} |