Passed
Pull Request — master (#123)
by
unknown
06:40
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.
Tests/Functional/Api/OaiPmhTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 
15 15
 class OaiPmhTest extends FunctionalTestCase
16 16
 {
17
-    protected $disableJsonWrappedResponse = true;
17
+    protected $disableJsonWrappedResponse = TRUE;
18 18
 
19 19
     protected $coreExtensionsToLoad = [
20 20
         'fluid',
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
     protected function setUpOaiSolr()
57 57
     {
58 58
         // Setup Solr only once for all tests in this suite
59
-        static $solr = null;
59
+        static $solr = NULL;
60 60
 
61
-        if ($solr === null) {
61
+        if ($solr === NULL) {
62 62
             $coreName = Solr::createCore();
63 63
             $solr = Solr::getInstance($coreName);
64 64
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         $this->expectExceptionMessage('empty list');
162 162
 
163 163
         $oai = Endpoint::build($this->oaiUrl);
164
-        $result = $oai->listRecords('mets', null, (new DateTime())->setDate(1900, 1, 1));
164
+        $result = $oai->listRecords('mets', NULL, (new DateTime())->setDate(1900, 1, 1));
165 165
 
166 166
         $result->current();
167 167
     }
Please login to merge, or discard this patch.