Skip to content

Conversation

@moritz-ngo
Copy link
Contributor

This PR should add support for PHP 8.4 and prevent any deprecation notices.

The changes were primarily made with Rector.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ ddev typo3 cache:flush -v
PHP Warning:  file_get_contents(/composer.json): Failed to open stream: No such file or directory in /var/www/html/vendor/helhum/typo3-config-handling/src/SettingsFiles.php on line 47
PHP Fatal error:  Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, false given in /var/www/html/vendor/helhum/typo3-config-handling/src/SettingsFiles.php:47
Stack trace:
#0 /var/www/html/vendor/helhum/typo3-config-handling/src/SettingsFiles.php(47): json_decode()
#1 /var/www/html/vendor/helhum/typo3-config-handling/src/SettingsFiles.php(11): Helhum\TYPO3\ConfigHandling\SettingsFiles::getComposerConfig()
#2 /var/www/html/vendor/helhum/typo3-config-handling/src/ConfigLoader.php(43): Helhum\TYPO3\ConfigHandling\SettingsFiles::getSettingsFile()
#3 /var/www/html/vendor/helhum/typo3-config-handling/src/Xclass/ConfigurationManager.php(136): Helhum\TYPO3\ConfigHandling\ConfigLoader->__construct()
#4 /var/www/html/vendor/typo3/cms-core/Classes/Core/Bootstrap.php(312): Helhum\TYPO3\ConfigHandling\Xclass\ConfigurationManager->__construct()
#5 /var/www/html/vendor/typo3/cms-core/Classes/Core/Bootstrap.php(85): TYPO3\CMS\Core\Core\Bootstrap::createConfigurationManager()
#6 /var/www/html/vendor/typo3/cms-cli/typo3(23): TYPO3\CMS\Core\Core\Bootstrap::init()
#7 /var/www/html/vendor/typo3/cms-cli/typo3(24): {closure:/var/www/html/vendor/typo3/cms-cli/typo3:20}()
#8 /var/www/html/vendor/bin/typo3(119): include('...')
#9 {main}
  thrown in /var/www/html/vendor/helhum/typo3-config-handling/src/SettingsFiles.php on line 47

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should be updated to be in line with the current version

@moritz-ngo moritz-ngo force-pushed the main branch 3 times, most recently from 64f6813 to 779c9b7 Compare May 30, 2025 14:54
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.

1 participant