Skip to content

Commit

Permalink
Removed not used composer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Dec 21, 2019
1 parent 192ac5b commit 8ec1160
Show file tree
Hide file tree
Showing 12 changed files with 280 additions and 866 deletions.
8 changes: 5 additions & 3 deletions app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
Expand All @@ -21,11 +21,13 @@ public function registerBundles()
new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new Packagist\WebBundle\PackagistWebBundle(),
);
];

if (in_array($this->getEnvironment(), array('dev', 'test'))) {
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
if (class_exists('Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle')) {
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
}
}

return $bundles;
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"exclude-from-classmap": [ "src/Packagist/WebBundle/Tests/" ]
},
"require": {
"php": ">=7.1",
"php": ">=7.2",
"symfony/symfony": "^3.4",
"doctrine/orm": "^2.6",
"doctrine/doctrine-bundle": "^1.2",
Expand All @@ -41,26 +41,23 @@
"symfony/monolog-bundle": "^3.1",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0",
"sensio/generator-bundle": "^3.0",
"jms/security-extra-bundle": "^1.5",
"jms/di-extra-bundle": "^1.4",
"oro/doctrine-extensions": "^1.2",
"composer/composer": "^1.9",
"friendsofsymfony/user-bundle": "^2.1",
"predis/predis": "^1.0",
"snc/redis-bundle": "^2.0",
"white-october/pagerfanta-bundle": "^1.0",
"zendframework/zend-feed": "^2.0",
"zendframework/zend-servicemanager": "^2.0",
"zendframework/zend-uri": "^2.0",
"pagerfanta/pagerfanta": "^1.0",
"knplabs/knp-menu-bundle": "^2.1",
"ezyang/htmlpurifier": "^4.6",
"cebe/markdown": "^1.1",
"seld/signal-handler": "^1.1"
"seld/signal-handler": "^1.1",
"incenteev/composer-parameter-handler": "^2.0"
},
"require-dev": {
"symfony/phpunit-bridge": "^2.7 || ^3.0",
"sensio/generator-bundle": "^3.0",
"phpunit/phpunit": "^6.5"
},
"scripts": {
Expand All @@ -78,6 +75,9 @@
"@symfony-scripts"
]
},
"config": {
"sort-packages": true
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
Expand Down
Loading

0 comments on commit 8ec1160

Please sign in to comment.