We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the ext_tables.php
ext_tables.php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_table_one, tx_table_two');
the rule will create
Configuration/TCA/tx_table_one.php
<?php $GLOBALS['TCA']['tx_table_one']['ctrl']['security']['ignorePageTypeRestriction'] = true;
which is valid, but also
Configuration/TCA/ tx_table_two.php
<?php $GLOBALS['TCA'][' tx_table_two']['ctrl']['security']['ignorePageTypeRestriction'] = true;
which has a leading space in the configuration and filename
MoveAllowTableOnStandardPagesToTCAConfigurationRector
The table name should be trimmed.
3.0.1
8.3.16
13.4.5
No response
The text was updated successfully, but these errors were encountered:
[BUGFIX] Trim table name in MoveAllowTableOnStandardPagesToTCAConfigu…
c531041
…rationRector Fixes: sabbelasichon#4477
Successfully merging a pull request may close this issue.
Minimal PHP Code Causing Issue
Given the
ext_tables.php
the rule will create
Configuration/TCA/tx_table_one.php
which is valid, but also
Configuration/TCA/ tx_table_two.php
which has a leading space in the configuration and filename
Applied rules
MoveAllowTableOnStandardPagesToTCAConfigurationRector
Expected Behaviour
The table name should be trimmed.
Package Version
3.0.1
PHP Version
8.3.16
TYPO3 Version
13.4.5
Notes
No response
The text was updated successfully, but these errors were encountered: