This commit is contained in:
Dmitry Khomutov 2016-04-18 00:16:58 +06:00
parent 548a49a3de
commit 5371b8fc75
4 changed files with 10 additions and 10 deletions

View file

@ -10,7 +10,7 @@
define('PHPCI_IS_CONSOLE', true);
require('../bootstrap.php');
require_once(dirname(__DIR__) . '/bootstrap.php');
use PHPCI\Command\RunCommand;
use PHPCI\Command\RebuildCommand;

View file

@ -10,7 +10,7 @@
define('PHPCI_IS_CONSOLE', true);
require('../bootstrap.php');
require_once(dirname(__DIR__) . '/bootstrap.php');
use PHPCI\Command\DaemoniseCommand;
use Symfony\Component\Console\Application;

14
composer.lock generated
View file

@ -1850,24 +1850,24 @@
},
{
"name": "sebastian/phpcpd",
"version": "2.0.2",
"version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpcpd.git",
"reference": "d3ad100fdf15805495f6ff19f473f4314c99390c"
"reference": "6f868833a18de143d5733eafb5078b9801f8052b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpcpd/zipball/d3ad100fdf15805495f6ff19f473f4314c99390c",
"reference": "d3ad100fdf15805495f6ff19f473f4314c99390c",
"url": "https://api.github.com/repos/sebastianbergmann/phpcpd/zipball/6f868833a18de143d5733eafb5078b9801f8052b",
"reference": "6f868833a18de143d5733eafb5078b9801f8052b",
"shasum": ""
},
"require": {
"php": ">=5.3.3",
"phpunit/php-timer": "~1.0",
"phpunit/php-timer": ">=1.0.6",
"sebastian/finder-facade": "~1.1",
"sebastian/version": "~1.0",
"symfony/console": "~2.2",
"symfony/console": "~2.7|^3.0",
"theseer/fdomdocument": "~1.4"
},
"bin": [
@ -1897,7 +1897,7 @@
],
"description": "Copy/Paste Detector (CPD) for PHP code.",
"homepage": "https://github.com/sebastianbergmann/phpcpd",
"time": "2015-03-26 14:47:38"
"time": "2016-04-17 13:55:09"
},
{
"name": "sebastian/recursion-context",

View file

@ -10,7 +10,7 @@
session_set_cookie_params(43200); // Set session cookie to last 12 hours.
session_start();
require_once('../bootstrap.php');
require_once(dirname(__DIR__) . '/bootstrap.php');
$fc = new PHPCI\Application($config, new b8\Http\Request());
print $fc->handleRequest();