Skip to content

Commit

Permalink
Update dependencies. (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas authored Dec 31, 2016
1 parent 087f0c7 commit bc370a8
Show file tree
Hide file tree
Showing 14 changed files with 1,075 additions and 396 deletions.
10 changes: 10 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

return PhpCsFixer\Config::create()
->setRules(
[
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
]
)
->setUsingCache(false);
10 changes: 5 additions & 5 deletions bin/phpqa
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
* http://carlosbuenosvinos.com/write-your-git-hooks-in-php-and-keep-them-under-git-control/
*/

use JMOlivas\Phpqa\Application;
use JMOlivas\Phpqa\Command\AnalyzeCommand;
use JMOlivas\Phpqa\Command\InitCommand;

if (file_exists(__DIR__.'/../vendor/autoload.php')) {
require_once __DIR__.'/../vendor/autoload.php';
} elseif (file_exists(__DIR__.'/../../../autoload.php')) {
Expand All @@ -16,11 +20,7 @@ if (file_exists(__DIR__.'/../vendor/autoload.php')) {
exit(1);
}

use JMOlivas\Phpqa\Console\Application;
use JMOlivas\Phpqa\Command\AnalyzeCommand;
use JMOlivas\Phpqa\Command\InitCommand;

$application = new Application('PHP QA Analyzer', '0.0.1');
$application = new Application();
$application->add(new AnalyzeCommand());
$application->add(new InitCommand());
$application->run();
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
],
"require": {
"php": ">=5.4.5",
"symfony/console": "2.7.*",
"symfony/config":"2.7.*",
"symfony/process": "2.7.*",
"symfony/console": "2.8.*",
"symfony/config":"2.8.*",
"symfony/process": "2.8.*",
"jakub-onderka/php-parallel-lint": "0.*",
"jakub-onderka/php-console-highlighter": "0.*",
"fabpot/php-cs-fixer": "@stable",
"squizlabs/php_codesniffer": "2.5.1",
"drupal/coder": "8.2.7",
"drupal/coder": "8.*",
"phpmd/phpmd" : "@stable",
"phploc/phploc": "@stable",
"sebastian/phpcpd": "@stable",
Expand All @@ -29,7 +29,8 @@
},
"bin": ["bin/phpqa"],
"config": {
"bin-dir": "bin/"
"bin-dir": "bin/",
"secure-http" : false
},
"autoload": {
"psr-4": {"JMOlivas\\Phpqa\\": "src"}
Expand Down
Loading

0 comments on commit bc370a8

Please sign in to comment.