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 | |
class OptionA | |
{ | |
/** | |
* @var \DateTime $date | |
*/ | |
private $date; | |
// the $date in the docblock seems redundant? | |
} |
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 | |
$userData = str_replace(array("\r\n", "\r"), "\n", $userData); |
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
#!/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 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 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 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 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 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 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
Acme | |
Domain | |
Entity | |
CategoryInterface.php | |
ProductInterface.php | |
Factory | |
CategoryFactoryInterface.php | |
ProductFactoryInterface.php | |
Repository | |
CategoriesRepositoryInterface.php |
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
Acme | |
Domain | |
Entity | |
Factory | |
Repository | |
Service |