Skip to content

Commit

Permalink
fix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jmleroux committed Sep 27, 2016
1 parent bd34e94 commit fb52d23
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/app/config/parameters.yml
/app/config/*_local.yml
/var/*

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ set_time_limit(0);
/**
* @var Composer\Autoload\ClassLoader $loader
*/
$loader = require_once __DIR__.'/../var/bootstrap.php.cache';
$loader = require __DIR__.'/../app/autoload.php';

$input = new ArgvInput();
Expand Down
17 changes: 5 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,14 @@
"doctrine/doctrine-bundle": "@stable",
"symfony/monolog-bundle": "@stable",
"sensio/distribution-bundle": "@stable",
"j7mbo/twitter-api-php": "dev-master"
"j7mbo/twitter-api-php": "dev-master",
"incenteev/composer-parameter-handler": "@stable"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache"
]
},
"config": {
Expand All @@ -41,7 +34,7 @@
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
"file": "app/config/parameters_local.yml"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
- '@jmleroux.twitter_extractor.repository'

jmleroux.twitter_extractor.repository:
private: true
class: Jmleroux\TwitterExtractor\AppBundle\Repository\TwitterRepository
arguments:
- '@doctrine.dbal.default_connection'
Expand Down

0 comments on commit fb52d23

Please sign in to comment.