Skip to content

Commit bc370a8

Browse files
authored
Update dependencies. (#25)
1 parent 087f0c7 commit bc370a8

File tree

14 files changed

+1075
-396
lines changed

14 files changed

+1075
-396
lines changed

.php_cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
return PhpCsFixer\Config::create()
4+
->setRules(
5+
[
6+
'@PSR2' => true,
7+
'array_syntax' => ['syntax' => 'short'],
8+
]
9+
)
10+
->setUsingCache(false);

bin/phpqa

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
* http://carlosbuenosvinos.com/write-your-git-hooks-in-php-and-keep-them-under-git-control/
77
*/
88

9+
use JMOlivas\Phpqa\Application;
10+
use JMOlivas\Phpqa\Command\AnalyzeCommand;
11+
use JMOlivas\Phpqa\Command\InitCommand;
12+
913
if (file_exists(__DIR__.'/../vendor/autoload.php')) {
1014
require_once __DIR__.'/../vendor/autoload.php';
1115
} elseif (file_exists(__DIR__.'/../../../autoload.php')) {
@@ -16,11 +20,7 @@ if (file_exists(__DIR__.'/../vendor/autoload.php')) {
1620
exit(1);
1721
}
1822

19-
use JMOlivas\Phpqa\Console\Application;
20-
use JMOlivas\Phpqa\Command\AnalyzeCommand;
21-
use JMOlivas\Phpqa\Command\InitCommand;
22-
23-
$application = new Application('PHP QA Analyzer', '0.0.1');
23+
$application = new Application();
2424
$application->add(new AnalyzeCommand());
2525
$application->add(new InitCommand());
2626
$application->run();

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
],
1414
"require": {
1515
"php": ">=5.4.5",
16-
"symfony/console": "2.7.*",
17-
"symfony/config":"2.7.*",
18-
"symfony/process": "2.7.*",
16+
"symfony/console": "2.8.*",
17+
"symfony/config":"2.8.*",
18+
"symfony/process": "2.8.*",
1919
"jakub-onderka/php-parallel-lint": "0.*",
2020
"jakub-onderka/php-console-highlighter": "0.*",
2121
"fabpot/php-cs-fixer": "@stable",
2222
"squizlabs/php_codesniffer": "2.5.1",
23-
"drupal/coder": "8.2.7",
23+
"drupal/coder": "8.*",
2424
"phpmd/phpmd" : "@stable",
2525
"phploc/phploc": "@stable",
2626
"sebastian/phpcpd": "@stable",
@@ -29,7 +29,8 @@
2929
},
3030
"bin": ["bin/phpqa"],
3131
"config": {
32-
"bin-dir": "bin/"
32+
"bin-dir": "bin/",
33+
"secure-http" : false
3334
},
3435
"autoload": {
3536
"psr-4": {"JMOlivas\\Phpqa\\": "src"}

0 commit comments

Comments
 (0)