Passed
Pull Request — develop (#323)
by Schlaefer
05:02
created
plugins/phile/setupCheck/Classes/Plugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     protected $needsSetup;
23 23
 
24 24
     /**
25
- * @var array event subscription
25
+     * @var array event subscription
26 26
 */
27 27
     protected $events = [
28 28
         'config_loaded' => 'onConfigLoaded',
Please login to merge, or discard this patch.
plugins/mycompany/demoPlugin/Classes/Plugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public function outputPluginSettings($data = null)
51 51
     {
52
-          // you can access this plugins' config in $this->settings
52
+            // you can access this plugins' config in $this->settings
53 53
         $settings = $this->settings;
54 54
 
55 55
         $content = $data['content'];
Please login to merge, or discard this patch.
config/container.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
  * @license http://opensource.org/licenses/MIT
11 11
  */
12 12
 
13
-use Psr\Http\Message\ServerRequestInterface;
14
-
15 13
 $config = [
16 14
     'types' => [
17 15
         'Phile_App'              => Phile\Phile::class,
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,14 +31,14 @@
 block discarded – undo
31 31
 $container = new Phile\Core\Container($config);
32 32
 Phile\Core\Container::setInstance($container);
33 33
 
34
-$container->set('Phile_EventBus', function () {
34
+$container->set('Phile_EventBus', function() {
35 35
     return new Phile\Core\Event;
36 36
 });
37 37
 
38
-$container->set('Phile_Config', function () {
38
+$container->set('Phile_Config', function() {
39 39
     return new Phile\Core\Config;
40 40
 });
41 41
 
42
-$container->set('Phile_App', function ($container) {
42
+$container->set('Phile_App', function($container) {
43 43
     return new Phile\Phile($container->get('Phile_EventBus'), $container->get('Phile_Config'));
44 44
 });
Please login to merge, or discard this patch.
lib/Phile/Test/TestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
         //# setup bootstrap
50 50
         $core = $container->get('Phile_App');
51
-        $core->addBootstrap(function ($eventBus, $config) use ($testConfig) {
51
+        $core->addBootstrap(function($eventBus, $config) use ($testConfig) {
52 52
             $configDir = $config->get('config_dir');
53 53
             Bootstrap::loadConfiguration($configDir . 'defaults.php', $config);
54 54
             $config->merge($testConfig);
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         });
65 65
 
66 66
         //# setup middleware
67
-        $core->addMiddleware(function ($middleware, $eventBus, $config) use ($core) {
67
+        $core->addMiddleware(function($middleware, $eventBus, $config) use ($core) {
68 68
             $eventBus->trigger('phile.core.middleware.add', ['middleware' => $middleware]);
69 69
             $middleware->add($core, 0);
70 70
         });
Please login to merge, or discard this patch.
plugins/phile/parserMeta/tests/MetaTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 ---
19 19
 
20 20
 Page Content
21
-EOF;
21
+eof;
22 22
 
23 23
         $parser = new Meta([
24 24
             'fences' => ['yaml' => ['open' => '---', 'close' => '---']],
Please login to merge, or discard this patch.