#109408Minor code cleanups in EXT:form
Description
Several small code quality improvements across the form extension:
- Avoid redundant calls to count(), formatSize() and DateTime::format() in validators by storing results in local variables
- Replace isset() && is_array() with the simpler is_array($x ?? null) pattern throughout
- Replace ?? false with ?? null as fallback in is_array() checks
- Remove unnecessary global-namespace backslashes (\is_array) on built-in functions
- Use new FinisherVariableProvider() instead of GeneralUtility::makeInstance() since the class is final and has no constructor arguments
- In AbstractFinisher::setFinisherIdentifier(), use the method parameter directly in preg_replace() instead of reading back $this->finisherIdentifier
- Simplify the @var docblock for $finisherContext by removing the unnecessary fully-qualified class name