[BUGFIX] checkstyle/CGL errors in indexed search
authorBjoern Pedersen <bjoern.pedersen@frm2.tum.de>
Fri, 18 Nov 2011 08:27:55 +0000 (09:27 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 18 Nov 2011 13:40:26 +0000 (14:40 +0100)
Jenkins reports 2 checkstyle errors in indexed search,
probably introduced by http://review.typo3.org/6657.

Change-Id: I8ac5046152357111e614a3555c7a6f4236e15137
Resolves: #31904
Releases: 4.7
Reviewed-on: http://review.typo3.org/6730
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefano Kowalke
Tested-by: Stefano Kowalke
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/indexed_search/class.indexer.php
typo3/sysext/indexed_search/class.tx_indexedsearch_util.php

index 34e0a17..c460756 100755 (executable)
@@ -1157,7 +1157,7 @@ class tx_indexedsearch_indexer {
         * @return      array           Standard content array (title, description, keywords, body keys)
         */
        function readFileContent($fileExtension, $absoluteFileName, $sectionPointer) {
-               $contentArray = null;
+               $contentArray = NULL;
 
                        // Consult relevant external document parser:
                if (is_object($this->external_parsers[$fileExtension])) {
@@ -2217,4 +2217,4 @@ class tx_indexedsearch_indexer {
 if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/indexed_search/class.indexer.php'])) {
        include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/indexed_search/class.indexer.php']);
 }
-?>
\ No newline at end of file
+?>