summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2020-09-03 12:02:17 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2020-09-17 10:23:43 +0200
commit3a62ffbe8860afeaef167ba8f1b455af8275faef (patch)
tree19c7e1c9a06b7f93b56061dba3cce66f8619ada5
parent7f714ba05dec8bc49fb3b7f95c74483df9224d24 (diff)
run phpcbf
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--composer.lock10
-rw-r--r--lib/Config/Config.php2
-rw-r--r--tests/Unit/Config/ConfigTest.php4
3 files changed, 9 insertions, 7 deletions
diff --git a/composer.lock b/composer.lock
index d615c90ab..6e091a9ca 100644
--- a/composer.lock
+++ b/composer.lock
@@ -823,16 +823,16 @@
},
{
"name": "phpstan/phpstan",
- "version": "0.12.40",
+ "version": "0.12.42",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
- "reference": "dce7293ad7b59fc09a9ab9b0b5b44902c092ca17"
+ "reference": "7c43b7c2d5ca6554f6231e82e342a710163ac5f4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dce7293ad7b59fc09a9ab9b0b5b44902c092ca17",
- "reference": "dce7293ad7b59fc09a9ab9b0b5b44902c092ca17",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/7c43b7c2d5ca6554f6231e82e342a710163ac5f4",
+ "reference": "7c43b7c2d5ca6554f6231e82e342a710163ac5f4",
"shasum": ""
},
"require": {
@@ -875,7 +875,7 @@
"type": "tidelift"
}
],
- "time": "2020-08-26T19:06:20+00:00"
+ "time": "2020-09-02T13:14:53+00:00"
},
{
"name": "phpunit/php-code-coverage",
diff --git a/lib/Config/Config.php b/lib/Config/Config.php
index 727cbdb7d..97099db48 100644
--- a/lib/Config/Config.php
+++ b/lib/Config/Config.php
@@ -199,7 +199,7 @@ class Config
'updateInterval = ' .
$this->updateInterval . "\n" .
'useCronUpdates = ' .
- var_export($this->useCronUpdates, true);
+ var_export($this->useCronUpdates, true);
;
$this->fileSystem->get($configPath)->putContent($ini);
diff --git a/tests/Unit/Config/ConfigTest.php b/tests/Unit/Config/ConfigTest.php
index 4cad07c2d..60a292afc 100644
--- a/tests/Unit/Config/ConfigTest.php
+++ b/tests/Unit/Config/ConfigTest.php
@@ -35,7 +35,9 @@ class ConfigTest extends TestCase
$this->fileSystem = $this->getMockBuilder(Folder::class)->getMock();
$this->loggerParams = ['hi'];
$this->config = new Config(
- $this->fileSystem, $this->logger, $this->loggerParams
+ $this->fileSystem,
+ $this->logger,
+ $this->loggerParams
);
$this->configPath = 'config.json';
}