PHPStan was released with first stable public version 1.x.
The version is updated together with extensions.
The new version finds new issues which are solved right away to not
break CI.
Set COMPOSER_TOKEN in each step, as this broke some when.
Also disable "coverage", to improve speed, inspired from EXT:tea.
Use "include" to remove duplicate jobs with different versions, inspired
from EXT:tea.
Remove caches as they were not properly configured. Maybe add them later
inspired from EXT:tea?!
Merge multiple composer steps into one to circumvent mixed up state.
Otherwise some versions might be locked, preventing downgrades.
Also should save bandwidth and time by only installing dependencies once.
- Extend CI to test everything against PHP 7.3
- Update composer to allow installation with PHP 7.3
- Remove dependency checker, install loosely within CI to get compatible
version with actual PHP version.
- Adjust CI to use PHP compatible MySQL versions.
Relates: #69
Provide database index for widgets which is used by widget queries to
fetch data way faster, e.g. 0.1 instead of > 5 seconds in one concrete
project.
Relates: #63
Pages can not be copied by administrators as DataHandler will copy all
pages, including tx_tracking_* tables.
Those are not allowed on tables which will result in error messages.
A test is added to simulate the action and ensure it doesn't fail with
errors.
Results: #52
This allows configuration via PHP.
It also combines code sniffer and php cs fixer.
Used commands:
composer remove --dev squizlabs/php_codesniffer
composer req --dev symplify/easy-coding-standard
./vendor/bin/ecs --fix
This is required by list module, As we define a languageField.
Might be a bug, but BackendUtility::translationCount() will fail if 2nd
field is missing.
Fixed in current TYPO3 master and therefore with v11.3,
see: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69180
It will report old TYPO3 versions which we support, but don't require.
Therefore it does not provide a benefit but breaks builds.
The package is intended for projects, not libraries.
Not all dev dependencies are v2 ready.
maglnet/composer-require-checker has a dependency to
ocramius/package-versions version which requires v1 composer API.
Once a newer version is required, we can use v2.
The existing query was not fully working as intended.
Also it did not work with proper MySQL sql_mode settings.
This is fixed by building a proper query which delivers expected and
deterministic results.
We now always have latest records first.
Also there is no need to fetch the sys_language_uid, as we only fetch
localized record if only one language is allowed. That way we can just
check configuration and use the configuration to do language overlay.
Also there was no need for an join, therefore query was reduced to
necessary stuff.
Relates: #35
The existing query was not fully working as intended.
Also it did not work with proper MySQL sql_mode settings.
This is fixed by building a proper query which delivers expected and
deterministic results.
We now always have latest records first.
Also there is no need to fetch the sys_language_uid, as we only fetch
localized record if only one language is allowed. That way we can just
check configuration and use the configuration to do language overlay.
Relates: #35
9.3.x renamed some options from offensive white and blacklist to include
and exclude.
As we don't want to wait until they get removed in v10, we adjust the
configuration now.
BackendUtility::getRecordTitle might contain HTML tags like "span".
Those might result in broken rendering. As we don't need this markup
anyway, we remove it.