Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apporder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2016-09-04 20:47:40 +0300
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2016-09-04 20:47:40 +0300
commit2630385cf290d2f2f5345cceb740e688933a0434 (patch)
treec7718603562fc46612ab5e19c70e8e893fdb8e89
parent7af779c6722b75fb51669e8dae288c0d8d6fe60e (diff)
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
-rw-r--r--lib/AppInfo/Application.php2
-rw-r--r--tests/bootstrap.php6
-rw-r--r--tests/unit/controller/SettingsControllerTest.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 67ec3fc..9496092 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -31,7 +31,7 @@ class Application extends App {
public function __construct(array $urlParams = array()) {
parent::__construct('apporder', $urlParams);
$container = $this->getContainer();
- $container->registerService('ConfigService', function ($c) {
+ $container->registerService('ConfigService', function($c) {
return new ConfigService(
$c->query('Config'),
$c->query('AppName')
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index d90b738..aeebd69 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -21,11 +21,11 @@
*
*/
-require_once __DIR__ . '/../../../tests/bootstrap.php';
-require_once __DIR__ . '/../appinfo/autoload.php';
+require_once __DIR__.'/../../../tests/bootstrap.php';
+require_once __DIR__.'/../appinfo/autoload.php';
-require_once __DIR__ . '/../../../lib/base.php';
+require_once __DIR__.'/../../../lib/base.php';
if (!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
diff --git a/tests/unit/controller/SettingsControllerTest.php b/tests/unit/controller/SettingsControllerTest.php
index cb3879c..93ba6c0 100644
--- a/tests/unit/controller/SettingsControllerTest.php
+++ b/tests/unit/controller/SettingsControllerTest.php
@@ -30,7 +30,7 @@ use OCP\IConfig;
use OCP\INavigationManager;
use OCP\IRequest;
-class SettingsControllerTest extends \PHPUnit_Framework_TestCase {
+class SettingsControllerTest extends \PHPUnit_Framework_TestCase {
/** @var IRequest */
private $request;