-
Fork Fabiens repository: http://github.com/fabpot/symfony.git
-
Clone your fork and install/update vendors (I use my personal fork for now):
git clone git@github.com:pminnieur/symfony.git symfony
cd symfony && sh install_vendors.sh && sh update_vendors.sh
phpunit
-
Integrate Fabiens repository into your local clone:
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
assetic: | |
assets: | |
bootstrap: # translates to the asset path 'assetic/bootstrap.js' | |
filters: ?uglifyjs2 | |
inputs: | |
- '@AcmeDemoBundle/Resources/bower/bootstrap/js/bootstrap-transition.js' | |
- '@AcmeDemoBundle/Resources/bower/bootstrap/js/bootstrap-alert.js' | |
- '@AcmeDemoBundle/Resources/bower/bootstrap/js/bootstrap-button.js' | |
- '@AcmeDemoBundle/Resources/bower/bootstrap/js/bootstrap-carousel.js' | |
- '@AcmeDemoBundle/Resources/bower/bootstrap/js/bootstrap-collapse.js' |
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 | |
/* | |
* Example usage of streamed response and post response code execution. | |
* | |
* @author Pierre Minnieur <pierre.minnieur@sensiolabs.de> | |
* | |
* @see https://github.com/symfony/symfony/pull/2791 | |
* @see https://github.com/symfony/symfony/pull/2935 | |
* @see https://github.com/sensio/SensioFrameworkExtraBundle/pull/86 |
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 | |
abstract class AbstractService | |
{ | |
public function __construct(SomeService $someService) | |
{ | |
// ... | |
} | |
} |
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/Application/UserBundle/Controller/SecurityController.php | |
namespace Application\UserBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller, | |
Symfony\Component\Security\SecurityContext; | |
class SecurityController extends Controller | |
{ | |
public function loginAction() |
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 Turtle\ApiBundle\Serializer\Normalizer; | |
use Symfony\Component\Serializer\Normalizer\AbstractNormalizer, | |
Symfony\Component\Serializer\SerializerInterface; | |
class DateTimeNormalizer extends AbstractNormalizer | |
{ | |
/** |
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
listen-address=127.0.0.1 | |
# interface=lo | |
address=/dev/127.0.0.1 | |
address=/local/127.0.0.1 | |
no-dhcp-interface=no |
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
SYMFONY__DATABASE_DRIVER="pdo_mysql" | |
SYMFONY__DATABASE_HOST="127.0.0.1" | |
SYMFONY__DATABASE_PORT=3306 | |
SYMFONY__DATABASE_NAME="symfony" | |
SYMFONY__DATABASE_USER="root" | |
SYMFONY__DATABASE_PASSWORD="" |
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": "acid/acid", | |
"type": "library", | |
"description": "Acid Testing Framework", | |
"keywords": ["acid", "testing", "framework", "tdd", "xunit", "unit", "dsl", "assert"], | |
"homepage": "http://acid.ferm.io/", | |
"license": "MIT", | |
"authors": [{ | |
"name": "Pierre Minnieur", | |
"email": "pierre@ferm.io", |
NewerOlder