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
# colored prompt with git branch | |
PS1='[\[\033[1;32m\]\u@\h\[\033[0m\]][\[\033[1;33m\]\w\[\033[0m\]]$(__git_ps1 "[\[\033[1;31m\]%s\[\033[0m\]]")\$ ' |
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 | |
// src/Acme/ExportBundle/Services/Message/MessageConsumer.php | |
namespace Acme\ExportBundle\Services\Message; | |
use Monolog\Logger; | |
use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface; | |
use PhpAmqpLib\Message\AMQPMessage; | |
use Symfony\Component\EventDispatcher\EventDispatcherInterface; | |
use Symfony\Component\EventDispatcher\GenericEvent; |
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 | |
// test/phpunit/ExampleTest.php | |
include(__DIR__ . "/../../lib/test/sfWebTestCase.class.php"); | |
use Symfony\Component\DomCrawler\Crawler; | |
class ExampleTest extends sfWebTestCase | |
{ |