Oliver Hader
Oliver Hader
https://github.com/TYPO3/Fluid/blob/ae2d3d7ac201046275418c876fb82b63759678b1/src/Core/Variables/StandardVariableProvider.php#L261 `$this->getByPath` can be `null` leading to the following exception in TYPO3 v12 using PHP 8.1 > **#1476107295 TYPO3\CMS\Core\Error\Exception** PHP Runtime Deprecation Notice: str_replace(): Passing null to parameter #2 ($replace)...
For instance * TYPO3\CMS\Core\Session\Backend\SessionBackendInterface::get * find usages for that particular interface method * seeing unrelated results, e.g. `$extConf = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('backend');` Probably related to commit c649d1bbc9ef6fb1ad17db0ad4c98f66d0920623
# Bug Report ## Description ```php $dataHandler = GeneralUtility::makeInstance(DataHandler::class); $dataHandler->bypassAccessCheckForRecords = true; ``` Explicitly use `bypassAccessCheckForRecords` when generating data by an initialization step. ## Versions * 12.x * 11.5.x *...
* https://github.com/TYPO3/styleguide/blob/master/Classes/TcaDataGenerator/FieldGenerator/TypePassthrough.php * https://docs.typo3.org/typo3cms/TCAReference/ColumnsConfig/Type/Passthrough.html Using string values (currently) is just guessing something. The type of `default` property should be considered here. In case `default` is not defined, no value should...
Constant `ASSERT_INTERNAL_INVOCATION` is not used anymore since https://github.com/TYPO3/phar-stream-wrapper/commit/eb6607fb147f607e0e0cca1d7e3896814f7c5616#diff-0dd07cb25bec3476d9fc1d8a3db389b3L59 Asserting internal alias invocation just did not work out in a simple example like this ``` require('/path/bundle.phar'); // which internally does e.g....
https://psalm.dev/r/82728ccc0b ``` function whatever(string $optional = 'optional', bool $required): void { if ($required) { echo $optional; } } ``` It would be great if Psalm could report this issue (similar...
see https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554
Instead of just having a generic `TaintedCustom` for custom taint - this change allows plugins/extensions to register their own custom taint type classes. Examples ```php $registry = Config::getInstance()->taint_kind_registry; $registry->defineKinds([ 'mine'...