Skip to content

Commit

Permalink
Merge pull request #20 from zachleigh/analysis-q5PrOl
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
zachleigh committed Apr 17, 2017
2 parents 4f1f6bb + 3bbaff9 commit 6515606
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
$class = 'Phalcon\Db\Adapter\Pdo\\'.$config->database->adapter;

$params = [
'host' => $config->database->host,
'host' => $config->database->host,
'username' => $config->database->username,
'password' => $config->database->password,
'dbname' => $config->database->dbname,
'charset' => $config->database->charset,
'dbname' => $config->database->dbname,
'charset' => $config->database->charset,
];

if ($config->database->adapter == 'Postgresql') {
Expand Down
4 changes: 1 addition & 3 deletions src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Config
* @var array
*/
const DEFAULTS = [
'migratorType' => 'fileDate',
'migratorType' => 'fileDate',
'migrationRepository' => 'database',
];

Expand Down Expand Up @@ -179,8 +179,6 @@ public function getDefault($key)
if (array_key_exists($key, self::DEFAULTS)) {
return self::DEFAULTS[$key];
}

return;
}

/**
Expand Down
1 change: 0 additions & 1 deletion src/Yarak.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Phalcon\DI;
use Phalcon\DiInterface;
use Phalcon\Di\FactoryDefault;
use Yarak\Exceptions\FileNotFound;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\NullOutput;
use Symfony\Component\Console\Output\BufferedOutput;
Expand Down

0 comments on commit 6515606

Please sign in to comment.