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
commands: | |
01updateComposer: | |
command: export COMPOSER_HOME=/root && /usr/bin/composer.phar self-update | |
option_settings: | |
- namespace: aws:elasticbeanstalk:application:environment | |
option_name: COMPOSER_HOME | |
value: /root |
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
Cookbook Trace: | |
--------------- | |
/var/lib/aws/opsworks/cache/cookbooks/opsworks_commons/libraries/shellout.rb:8:in `shellout' | |
/var/lib/aws/opsworks/cache/cookbooks/opsworks_berkshelf/providers/runner.rb:13:in `block (3 levels) in class_from_file' | |
Resource Declaration: | |
--------------------- | |
# In /var/lib/aws/opsworks/cache/cookbooks/opsworks_berkshelf/providers/runner.rb | |
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\OAuthServerBundle\EventListener; | |
use FOS\UserBundle\Model\UserManagerInterface; | |
use FR3D\LdapBundle\Ldap\LdapManagerInterface; | |
use Symfony\Component\Security\Core\User\UserProviderInterface; | |
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent; | |
class UpdateUserWithLdapListener |
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
cp ../Common/composer.json . | |
mkdir -p Tests/ | |
cp ../Common/Tests/bootstrap.php Tests/ | |
cp ../Common/.gitignore . | |
cp ../Common/phpunit.xml.dist . | |
cp ../Common/.travis.yml . |
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
# github is the name of my remote | |
git branch --merged | grep -v "\*" | xargs -n 1 git push --delete github | |
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
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 | |
$elements->filter( | |
function($elem) use ($target) { | |
return $elem->getId() == $target; | |
} | |
); |
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
> Running command "phpunit --coverage-clover '/tmp/php-code-coverageMkj99j'"... | |
> | |
> | |
> | |
> [Symfony\Component\Process\Exception\ProcessFailedException] | |
> The command "phpunit --coverage-clover '/tmp/php-code-coverageMkj99j'" failed. | |
> | |
> Output: | |
> ================ | |
> PHPUnit 3.7.22 by Sebastian Bergmann. |
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
$router = $this->get('router'); | |
$route = $router->match("/api/search/test"); | |
print_r($route); |
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 BR\PHPUnitTestListeners; | |
use PHPUnit_Framework_TestListener; | |
use PHPUnit_Framework_Test; | |
use PHPUnit_Framework_TestSuite; | |
use PHPUnit_Framework_AssertionFailedError; | |
use Exception; |
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 Ibms\AppBundle\Form\EventListener; | |
use Doctrine\ORM\QueryBuilder; | |
use Ibms\SupplierBundle\Entity\Supplier; | |
use Ibms\SupplierBundle\Entity\SupplierManager; | |
use Symfony\Component\Form\FormEvent; | |
use Symfony\Component\Form\FormEvents; | |
use Symfony\Component\Form\FormFactoryInterface; |
NewerOlder