Skip to content
New issue

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

[TASK] Do not hard require typo3/cms-install #543

Merged
merged 1 commit into from
Feb 26, 2024
Merged

[TASK] Do not hard require typo3/cms-install #543

merged 1 commit into from
Feb 26, 2024

Conversation

lolli42
Copy link
Member

@lolli42 lolli42 commented Feb 26, 2024

TF itself has no hard dependency to typo3/cms-install.

composer rem typo3/cms-install

TF itself has no hard dependency to typo3/cms-install.

> composer rem typo3/cms-install
@lolli42 lolli42 merged commit 589c2a4 into main Feb 26, 2024
6 checks passed
@lolli42 lolli42 deleted the lolli-2 branch February 26, 2024 10:47
@mbrodala
Copy link
Contributor

Actually there currently is a hard dependency, at least on TYPO3v12:

https://github.com/TYPO3/testing-framework/blob/8.1.0/Classes/Core/Testbase.php#L250

This currently lets functional tests fail:

https://github.com/pagemachine/typo3-formlog/actions/runs/9609757403/job/26504856080

UnexpectedValueException: Source file (/.../typo3temp/var/tests/functional-3b7c664/typo3/sysext/install/Resources/Private/Php/install.php) was not found.

Also the check for $coreExtensions does not work here since install is always loaded:

https://github.com/TYPO3/testing-framework/blob/8.1.0/Classes/Core/Functional/FunctionalTestCase.php#L298-L301

So this should be reverted or further adjustments are necessary to make install also optional on TYPO3v12.

Of course, the workaround for now would be adding typo3/cms-install to require-dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants