Skip to content

Commit 94ea46c

Browse files
committed
Merge branch 'cleanup-dep' into 'master'
Cleanup dep Removed GeneratorBundle ======================= Hardly used, probably not best practice to use for generating bundles. Added PHPUnit + PHP_CodeSniffer =============================== Should be used by default for all projects. See merge request !3
2 parents 1ec731d + 2d7b204 commit 94ea46c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/AppKernel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ public function registerBundles()
1919
new AppBundle\AppBundle(),
2020
);
2121

22-
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
22+
if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {
2323
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
2424
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
2525
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
26-
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
2726
}
2827

2928
return $bundles;

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"incenteev/composer-parameter-handler": "~2.0"
2222
},
2323
"require-dev": {
24-
"sensio/generator-bundle": "~2.3"
24+
"phpunit/phpunit": "~4.5",
25+
"squizlabs/php_codesniffer": "~2.2"
2526
},
2627
"scripts": {
2728
"post-install-cmd": [

0 commit comments

Comments
 (0)