Issue Bug Closed

#89713TCA check ignores PHP constants

Franz Holzinger 11/19/19, 19:20 updated 04/01/20, 21:14

Description

The TYPO3 9 module “TCA check” fails to check the TCA files in Configuration/TCA or ext_tables.php if PHP constants are used. The PHP constants have been defined in the file ext_localconf.php of the extension.

example:

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Use of undefined constant DIV2007_EXT – assumed ‘DIV2007_EXT’ (this will throw an Error in a future version of PHP) in /homepages/mypath/typo3conf/ext/div2007/ext_tables.php line 7

Reviews 3