Passed
Pull Request — master (#77)
by Daniel
02:33
created
lib/Pico.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
 		if ($this->htmlPurifier === null) {
179 179
 			$this->htmlPurifier = new HTMLPurifier(HTMLPurifier_Config::createDefault());
180 180
 
181
-			$this->triggerEvent('onHtmlPurifier', [ &$this->htmlPurifier ]);
181
+			$this->triggerEvent('onHtmlPurifier', [&$this->htmlPurifier]);
182 182
 		}
183 183
 
184 184
 		return $this->htmlPurifier;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
34 34
 use OCA\CMSPico\Model\Website;
35 35
 use Symfony\Component\Yaml\Exception\ParseException;
36 36
 
37
-class Pico extends \Pico
38
-{
37
+class Pico extends \Pico {
39 38
 	/** @var HTMLPurifier */
40 39
 	protected $htmlPurifier;
41 40
 
Please login to merge, or discard this patch.
lib/AppInfo/Application.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
 use OCP\AppFramework\App;
29 29
 use OCP\Util;
30 30
 
31
-class Application extends App
32
-{
31
+class Application extends App {
33 32
 	/** @var string */
34 33
 	const APP_NAME = 'cms_pico';
35 34
 
Please login to merge, or discard this patch.
lib/Service/PluginsService.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,7 @@
 block discarded – undo
27 27
 use OC\App\AppManager;
28 28
 use OCA\CMSPico\AppInfo\Application;
29 29
 
30
-class PluginsService
31
-{
30
+class PluginsService {
32 31
 	/** @var AppManager */
33 32
 	private $appManager;
34 33
 
Please login to merge, or discard this patch.
lib/Service/MiscService.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@
 block discarded – undo
25 25
 
26 26
 use OCP\Files\InvalidPathException;
27 27
 
28
-class MiscService
29
-{
28
+class MiscService {
30 29
 	/**
31 30
 	 * @param string $path
32 31
 	 *
Please login to merge, or discard this patch.
lib/Service/PicoService.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 				throw $e;
141 141
 			} catch (\Exception $e) {
142 142
 				$exception = new PicoRuntimeException($e);
143
-				$this->logger->logException($exception, [ 'app' => Application::APP_NAME ]);
143
+				$this->logger->logException($exception, ['app' => Application::APP_NAME]);
144 144
 				throw $exception;
145 145
 			}
146 146
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
 use OCP\Files\NotPermittedException;
42 42
 use OCP\ILogger;
43 43
 
44
-class PicoService
45
-{
44
+class PicoService {
46 45
 	/** @var string */
47 46
 	const DIR_TEMPLATES = 'templates';
48 47
 
Please login to merge, or discard this patch.
lib/Service/WebsitesService.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
45 45
 use OCA\CMSPico\Model\Website;
46 46
 use OCP\Files\File;
47 47
 
48
-class WebsitesService
49
-{
48
+class WebsitesService {
50 49
 	/** @var Manager */
51 50
 	private $encryptionManager;
52 51
 
Please login to merge, or discard this patch.
lib/Service/FileService.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
 use OCP\Files\NotFoundException;
38 38
 use OCP\Files\NotPermittedException;
39 39
 
40
-class FileService
41
-{
40
+class FileService {
42 41
 	/** @var string */
43 42
 	const APPDATA_PUBLIC = __DIR__ . '/../../appdata_public/';
44 43
 
Please login to merge, or discard this patch.
lib/Service/ConfigService.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
 use OCA\CMSPico\AppInfo\Application;
29 29
 use OCP\IConfig;
30 30
 
31
-class ConfigService
32
-{
31
+class ConfigService {
33 32
 	/** @var string */
34 33
 	const CUSTOM_TEMPLATES = 'custom_templates';
35 34
 
Please login to merge, or discard this patch.
lib/Service/AssetsService.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
  *       bei der Antwort cacheFor() mit sehr großen Zahlen verwendet. Damit man die in Pico aber überhaupt nutzen kann
43 43
  *       braucht's ein %asset_dir% und {{ asset_dir }}. Sollte auch zu Pico 2.0.5-6 backported werden...
44 44
  */
45
-class AssetsService
46
-{
45
+class AssetsService {
47 46
 	/** @var IRootFolder */
48 47
 	private $rootFolder;
49 48
 
Please login to merge, or discard this patch.