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
| { | |
| "name": "jbi/project", | |
| "description": "", | |
| "autoload": { | |
| "psr-0": { "": "src/" } | |
| }, | |
| "require": { | |
| "php": ">=5.3.3", | |
| "symfony/symfony": "2.1.*", | |
| "doctrine/orm": "2.2.*", |
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
| default: | |
| extensions: | |
| Behat\Symfony2Extension\Extension: ~ | |
| Behat\MinkExtension\Extension: | |
| base_url: 'http://localadmin.example.com' | |
| selenium2: ~ | |
| sahi: ~ | |
| goutte: ~ | |
| default_session: goutte | |
| javascript_session: sahi |
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 | |
| use Behat\Behat\Context\ClosuredContextInterface; | |
| use Behat\Behat\Context\TranslatedContextInterface; | |
| use Behat\Behat\Context\BehatContext; | |
| use Behat\Behat\Context\Step; | |
| use Behat\Behat\Exception\PendingException; | |
| use Behat\Gherkin\Node\PyStringNode; |
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
| { | |
| "name": "myproject", | |
| "description": "", | |
| "autoload": { | |
| "psr-0": { "": "src/" } | |
| }, | |
| "repositories": [ | |
| { | |
| "type": "composer", | |
| "url": "http://packages.zendframework.com/" |
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
| { | |
| "autoload": { | |
| "psr-0": { | |
| "": [ | |
| "src/", | |
| "vendor/knplabs/knp-paginator-bundle/" | |
| ] | |
| } | |
| }, | |
| "repositories": [ |
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
| #!/bin/bash | |
| # Configure logrotate | |
| touch /etc/logrotate.d/example.com | |
| read -r -d '' LOGROTATE_EXAMPLE <<EOF | |
| ; Nothing to see here (yet) | |
| EOF |
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 | |
| $userData = str_replace(array("\r\n", "\r"), "\n", $userData); |
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 | |
| class OptionA | |
| { | |
| /** | |
| * @var \DateTime $date | |
| */ | |
| private $date; | |
| // the $date in the docblock seems redundant? | |
| } |
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
| Error 2: /var/www/beta.example.com/shared/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/Store.php line 92: unlink(/var/www/beta.example.com/releases/20120827020525/app/cache/beta/http_cache/md/c2/88/66a911b5266a57bdd55131a47895b8861dfd.lck): No such file or directory |
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 | |
| class Service | |
| { | |
| public function createUser(UserInterface $user) | |
| { | |
| $em = $this->getEntityManager(); | |
| $conn = $em->getConnection(); | |
| $conn->beginTransaction(); |