Completed
Push — develop ( 3ea9f1...2886f7 )
by Mathias
19:20 queued 11:17
created
config/config.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@  discard block
 block discarded – undo
16 16
 
17 17
 // we will skip install mode when we are in bin/console mode
18 18
 $isCli = php_sapi_name() === 'cli';
19
-if (!$isCli && !file_exists(__DIR__ . '/autoload/yawik.config.global.php')) {
19
+if (!$isCli && !file_exists(__DIR__.'/autoload/yawik.config.global.php')) {
20 20
     $modules = [
21 21
         'Install',
22 22
     ];
23 23
 } else {
24
-    $modules =[
24
+    $modules = [
25 25
         'Core',
26 26
         'Auth',
27 27
         'Cv',
@@ -38,12 +38,12 @@  discard block
 block discarded – undo
38 38
         // kann und über Server-Variablen oder ähnlichen steuern kann
39 39
         $allModules = false;
40 40
     }
41
-    foreach (glob(__DIR__ . '/autoload/*.module.php') as $moduleFile) {
41
+    foreach (glob(__DIR__.'/autoload/*.module.php') as $moduleFile) {
42 42
         $addModules = require $moduleFile;
43 43
         foreach ($addModules as $addModule) {
44 44
             if (strpos($addModule, '-') === 0) {
45 45
                 $remove = substr($addModule, 1);
46
-                $modules = array_filter($modules, function ($elem) use ($remove) {
46
+                $modules = array_filter($modules, function($elem) use ($remove) {
47 47
                     return strcasecmp($elem, $remove);
48 48
                 });
49 49
             } else {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     ),
100 100
 );
101 101
 
102
-$envConfigFile = __DIR__ . '/config.' . $env . '.php';
102
+$envConfigFile = __DIR__.'/config.'.$env.'.php';
103 103
 if (file_exists($envConfigFile)) {
104 104
     if (is_readable($envConfigFile)) {
105 105
         $envConfig = include $envConfigFile;
Please login to merge, or discard this patch.
module/Install/config/module.config.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 	    'factories' => [
26 26
 		    'mvctranslator' => \Zend\Mvc\I18n\TranslatorFactory::class,
27 27
 		    'FilterManager' => \Zend\Filter\FilterPluginManagerFactory::class,
28
-            'Tracy' => [\Core\Service\Tracy::class,'factory'],
28
+            'Tracy' => [\Core\Service\Tracy::class, 'factory'],
29 29
             'Core/Options' => 'Core\Factory\ModuleOptionsFactory',
30 30
         ],
31 31
         'abstract_factories' => [
@@ -95,12 +95,12 @@  discard block
 block discarded – undo
95 95
         'exception_template' => 'error/index',
96 96
         // Map template to files. Speeds up the lookup through the template stack.
97 97
         'template_map' => [
98
-            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
99
-            'error/index' => __DIR__ . '/../view/error/index.phtml',
98
+            'layout/layout' => __DIR__.'/../view/layout/layout.phtml',
99
+            'error/index' => __DIR__.'/../view/error/index.phtml',
100 100
         ],
101 101
         // Where to look for view templates not mapped above
102 102
         'template_path_stack' => [
103
-            __DIR__ . '/../view',
103
+            __DIR__.'/../view',
104 104
         ],
105 105
     ],
106 106
 
@@ -114,13 +114,13 @@  discard block
 block discarded – undo
114 114
         'translation_file_patterns' => [
115 115
             [
116 116
                 'type' => 'gettext',
117
-                'base_dir' => __DIR__ . '/../language',
117
+                'base_dir' => __DIR__.'/../language',
118 118
                 'pattern' => '%s.mo',
119 119
                 'text_domain' => 'Install',
120 120
             ],
121 121
             [
122 122
                 'type'     => 'phparray',
123
-                'base_dir' => __DIR__ . '/../../Core/language',
123
+                'base_dir' => __DIR__.'/../../Core/language',
124 124
                 'pattern' => 'Zend_Validate.%s.php',
125 125
                 'text_domain' => 'default',
126 126
             ],
Please login to merge, or discard this patch.