Passed
Pull Request — master (#123)
by
unknown
06:03 queued 21s
created
Configuration/TCA/tx_dlf_documents.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,10 +269,10 @@
 block discarded – undo
269 269
                 'readOnly' => 1,
270 270
                 'fieldControl' => [
271 271
                     'elementBrowser' => [
272
-                        'disabled' => true
272
+                        'disabled' => TRUE
273 273
                     ]
274 274
                 ],
275
-                'hideDeleteIcon' => true
275
+                'hideDeleteIcon' => TRUE
276 276
             ],
277 277
         ],
278 278
         'volume' => [
Please login to merge, or discard this patch.
Classes/Common/IiifUrlReader.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function getContent($url)
44 44
     {
45 45
         $fileContents = GeneralUtility::getUrl($url);
46
-        if ($fileContents !== false) {
46
+        if ($fileContents !== FALSE) {
47 47
             return $fileContents;
48 48
         } else {
49 49
             return '';
Please login to merge, or discard this patch.
ext_emconf.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
         'suggests' => []
25 25
     ],
26 26
     'state' => 'stable',
27
-    'uploadfolder' => false,
28
-    'clearCacheOnLoad' => false,
27
+    'uploadfolder' => FALSE,
28
+    'clearCacheOnLoad' => FALSE,
29 29
     'author' => 'Sebastian Meyer (Maintainer)',
30 30
     'author_email' => '[email protected]',
31 31
     'author_company' => 'Kitodo. Key to digital objects e. V.',
Please login to merge, or discard this patch.
Build/Documentation/dbdocs/RstSection.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
     public static function format(string $text, array $format = [])
35 35
     {
36 36
         if (!empty($text)) {
37
-            if ($format['bold'] ?? false) {
37
+            if ($format['bold'] ?? FALSE) {
38 38
                 $text = '**' . $text . '**';
39
-            } elseif ($format['italic'] ?? false) {
39
+            } elseif ($format['italic'] ?? FALSE) {
40 40
                 $text = '*' . $text . '*';
41 41
             }
42 42
         }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
    :header-rows: $numHeaderRows
82 82
 
83 83
 
84
-RST;
84
+rst;
85 85
 
86 86
         // Pattern for a row:
87 87
         //
Please login to merge, or discard this patch.
Build/Documentation/dbdocs/generate.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 $classLoader = require_once __DIR__ . '/../../../vendor/autoload.php';
15 15
 
16
-$outputPath = $argv[1] ?? null;
16
+$outputPath = $argv[1] ?? NULL;
17 17
 if (empty($outputPath) || !is_writable(($outputPath))) {
18 18
     echo 'Error: Output path not specified or not writable' . "\n";
19 19
     exit(1);
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
 // For request types other than "FE", the configuration manager would try to access the database.
29 29
 \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(1, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
30
-\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader, false);
30
+\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader, FALSE);
31 31
 
32 32
 $generator = new \Kitodo\DbDocs\Generator();
33 33
 $tables = $generator->collectTables();
Please login to merge, or discard this patch.
Tests/routeFunctionalInstance.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
 
17 17
 if (!empty($matches)) {
18 18
     $root = realpath($_SERVER['DOCUMENT_ROOT'] . $matches[0]);
19
-    if ($root !== false) {
19
+    if ($root !== FALSE) {
20 20
         putenv('TYPO3_PATH_ROOT=' . $root);
21 21
         putenv('TYPO3_PATH_APP=' . $root);
22 22
     }
23 23
 }
24 24
 
25
-return false;
25
+return FALSE;
Please login to merge, or discard this patch.
Tests/Functional/Api/PageViewProxyDisabledTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 class PageViewProxyDisabledTest extends FunctionalTestCase
9 9
 {
10
-    protected $disableJsonWrappedResponse = true;
10
+    protected $disableJsonWrappedResponse = TRUE;
11 11
 
12 12
     protected function queryProxy(array $query, string $method = 'GET')
13 13
     {
Please login to merge, or discard this patch.
Classes/Eid/PageViewProxy.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,11 +140,11 @@
 block discarded – undo
140 140
                 // For performance, don't download content up-front. Rather, we'll
141 141
                 // download and upload simultaneously.
142 142
                 // https://docs.guzzlephp.org/en/6.5/request-options.html#stream
143
-                'stream' => true,
143
+                'stream' => TRUE,
144 144
 
145 145
                 // Don't throw exceptions when a non-success status code is
146 146
                 // received. We handle these manually.
147
-                'http_errors' => false,
147
+                'http_errors' => FALSE,
148 148
             ]);
149 149
         } catch (\Exception $e) {
150 150
             return new JsonResponse(['message' => 'Could not fetch resource of given URL.'], 500);
Please login to merge, or discard this patch.
Classes/Updates/MigrateSettings.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -108,11 +108,11 @@  discard block
 block discarded – undo
108 108
 
109 109
             // exit if at least one update statement is not successful
110 110
             if (!((bool) $updateResult)) {
111
-                return false;
111
+                return FALSE;
112 112
             }
113 113
         }
114 114
 
115
-        return true;
115
+        return TRUE;
116 116
     }
117 117
 
118 118
     /**
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      */
127 127
     public function updateNecessary(): bool
128 128
     {
129
-        $oldSettingsFound = false;
129
+        $oldSettingsFound = FALSE;
130 130
 
131 131
         $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('tt_content');
132 132
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         // Update the found record sets
145 145
         while ($record = $statement->fetchAssociative()) {
146 146
             $oldSettingsFound = $this->checkForOldSettings($record['pi_flexform']);
147
-            if ($oldSettingsFound === true) {
147
+            if ($oldSettingsFound === TRUE) {
148 148
                 // We found at least one field to be updated --> break here
149 149
                 break;
150 150
             }
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 
188 188
         foreach ($fields as $field) {
189 189
             // change the index attribute if it doesn't start with 'settings.' yet
190
-            if (strpos($field['index'], 'settings.') === false) {
190
+            if (strpos($field['index'], 'settings.') === FALSE) {
191 191
                 $field['index'] = 'settings.' . $field['index'];
192 192
             }
193 193
         }
Please login to merge, or discard this patch.