From 7760963b5c2678b33c47493429ddc9c827ea2a5b Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns <karsten@dambekalns.de> Date: Fri, 15 Nov 2024 16:08:47 +0100 Subject: [PATCH 01/15] TASK: Handle non-int error codes in throwabe FileStorage --- Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php b/Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php index c20b65b99c..9091dc7bf3 100644 --- a/Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php +++ b/Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php @@ -219,11 +219,16 @@ protected function renderErrorInfo(\Throwable $error, array $additionalData = [] */ protected function getErrorLogMessage(\Throwable $error) { - $errorCodeNumber = ($error->getCode() > 0) ? ' #' . $error->getCode() : ''; + // getCode() does not always return an integer, e.g. in PDOException it can be a string + if (is_int($error->getCode()) && $error->getCode() > 0) { + $errorCodeString = ' #' . $error->getCode(); + } else { + $errorCodeString = ' [' . $error->getCode() . ']'; + } $backTrace = $error->getTrace(); $line = isset($backTrace[0]['line']) ? ' in line ' . $backTrace[0]['line'] . ' of ' . $backTrace[0]['file'] : ''; - return 'Exception' . $errorCodeNumber . $line . ': ' . $error->getMessage(); + return 'Exception' . $errorCodeString . $line . ': ' . $error->getMessage(); } /** From 784417596a5d836af6b28defced9f61e9ab7a9fa Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns <karsten@dambekalns.de> Date: Mon, 9 Dec 2024 14:41:08 +0100 Subject: [PATCH 02/15] TASK: Fix override of runBare() in functional test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As of PHPUnit 11 `runBare()` is a `final` method. This was written ages ago by Sebastian Kurfürst, who recently said: > IMHO we wanted to run each test twice to run it without cache and > then with cache. But it seems this was broken anyways since a long > time – so we can drop it --- .../View/Fixtures/View/StandaloneView.php | 40 ------------- .../Functional/View/StandaloneViewTest.php | 60 +++++++------------ 2 files changed, 20 insertions(+), 80 deletions(-) delete mode 100644 Neos.FluidAdaptor/Tests/Functional/View/Fixtures/View/StandaloneView.php diff --git a/Neos.FluidAdaptor/Tests/Functional/View/Fixtures/View/StandaloneView.php b/Neos.FluidAdaptor/Tests/Functional/View/Fixtures/View/StandaloneView.php deleted file mode 100644 index 21a3ddefd9..0000000000 --- a/Neos.FluidAdaptor/Tests/Functional/View/Fixtures/View/StandaloneView.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -namespace Neos\FluidAdaptor\Tests\Functional\View\Fixtures\View; - -/* - * This file is part of the Neos.FluidAdaptor package. - * - * (c) Contributors of the Neos Project - www.neos.io - * - * This package is Open Source Software. For the full copyright and license - * information, please view the LICENSE file which was distributed with this - * source code. - */ - -/** - * Extended StandaloneView for testing purposes - */ -class StandaloneView extends \Neos\FluidAdaptor\View\StandaloneView -{ - protected $fileIdentifierPrefix = ''; - - /** - * Constructor - * - * @param \Neos\Flow\Mvc\ActionRequest $request The current action request. If none is specified it will be created from the environment. - * @param string $fileIdentifierPrefix - * @param array $options - */ - public function __construct(\Neos\Flow\Mvc\ActionRequest $request = null, $fileIdentifierPrefix = '', array $options = []) - { - $this->fileIdentifierPrefix = $fileIdentifierPrefix; - parent::__construct($request, $options); - } - - - protected function createIdentifierForFile($pathAndFilename, $prefix) - { - $prefix = $this->fileIdentifierPrefix . $prefix; - return parent::createIdentifierForFile($pathAndFilename, $prefix); - } -} diff --git a/Neos.FluidAdaptor/Tests/Functional/View/StandaloneViewTest.php b/Neos.FluidAdaptor/Tests/Functional/View/StandaloneViewTest.php index 7f3a7fb781..923b78f9d3 100644 --- a/Neos.FluidAdaptor/Tests/Functional/View/StandaloneViewTest.php +++ b/Neos.FluidAdaptor/Tests/Functional/View/StandaloneViewTest.php @@ -15,8 +15,8 @@ use Neos\Flow\Mvc\ActionRequest; use Neos\Flow\Tests\FunctionalTestCase; use Neos\FluidAdaptor\Core\ViewHelper\Exception\WrongEnctypeException; -use Neos\FluidAdaptor\Tests\Functional\View\Fixtures\View\StandaloneView; use Neos\FluidAdaptor\View\Exception\InvalidTemplateResourceException; +use Neos\FluidAdaptor\View\StandaloneView; use Psr\Http\Message\ServerRequestFactoryInterface; use TYPO3Fluid\Fluid\Core\Parser\UnknownNamespaceException; @@ -25,26 +25,6 @@ */ class StandaloneViewTest extends FunctionalTestCase { - /** - * @var string - */ - protected $standaloneViewNonce = '42'; - - /** - * Every testcase should run *twice*. First, it is run in *uncached* way, second, - * it is run *cached*. To make sure that the first run is always uncached, the - * $standaloneViewNonce is initialized to some random value which is used inside - * an overridden version of StandaloneView::createIdentifierForFile. - */ - public function runBare(): void - { - $this->standaloneViewNonce = uniqid('', true); - parent::runBare(); - $numberOfAssertions = $this->getNumAssertions(); - parent::runBare(); - $this->addToAssertionCount($numberOfAssertions); - } - /** * @test */ @@ -53,7 +33,7 @@ public function inlineTemplateIsEvaluatedCorrectly(): void $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->assign('foo', 'bar'); $standaloneView->setTemplateSource('This is my cool {foo} template!'); @@ -70,7 +50,7 @@ public function renderSectionIsEvaluatedCorrectly(): void $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->assign('foo', 'bar'); $standaloneView->setTemplateSource('Around stuff... <f:section name="innerSection">test {foo}</f:section> after it'); @@ -88,7 +68,7 @@ public function renderThrowsExceptionIfNeitherTemplateSourceNorTemplatePathAndFi $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->render(); } @@ -101,7 +81,7 @@ public function renderThrowsExceptionSpecifiedTemplatePathAndFilenameDoesNotExis $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/NonExistingTemplate.txt'); $standaloneView->render(); } @@ -115,7 +95,7 @@ public function renderThrowsExceptionIfWrongEnctypeIsSetForFormUpload(): void $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithFormUpload.txt'); $standaloneView->render(); } @@ -129,7 +109,7 @@ public function renderThrowsExceptionIfSpecifiedTemplatePathAndFilenamePointsToA $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures'); $standaloneView->render(); } @@ -142,7 +122,7 @@ public function templatePathAndFilenameIsLoaded(): void $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->assign('name', 'Karsten'); $standaloneView->assign('name', 'Robert'); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplate.txt'); @@ -157,7 +137,7 @@ public function templatePathAndFilenameIsLoaded(): void */ public function variablesAreEscapedByDefault(): void { - $standaloneView = new StandaloneView(null, $this->standaloneViewNonce); + $standaloneView = new StandaloneView(null); $standaloneView->assign('name', 'Sebastian <script>alert("dangerous");</script>'); $standaloneView->setTemplateSource('Hello {name}.'); @@ -171,7 +151,7 @@ public function variablesAreEscapedByDefault(): void */ public function variablesAreNotEscapedIfEscapingIsDisabled(): void { - $standaloneView = new StandaloneView(null, $this->standaloneViewNonce); + $standaloneView = new StandaloneView(null); $standaloneView->assign('name', 'Sebastian <script>alert("dangerous");</script>'); $standaloneView->setTemplateSource('{escapingEnabled=false}Hello {name}.'); @@ -185,7 +165,7 @@ public function variablesAreNotEscapedIfEscapingIsDisabled(): void */ public function variablesCanBeNested() { - $standaloneView = new StandaloneView(null, $this->standaloneViewNonce); + $standaloneView = new StandaloneView(null); $standaloneView->assign('type', 'thing'); $standaloneView->assign('flavor', 'yellow'); $standaloneView->assign('config', ['thing' => ['value' => ['yellow' => 'Okayish']]]); @@ -205,7 +185,7 @@ public function partialWithDefaultLocationIsUsedIfNoPartialPathIsSetExplicitly() $actionRequest = ActionRequest::fromHttpRequest($httpRequest); $actionRequest->setFormat('txt'); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithPartial.txt'); $expected = 'This is a test template. Hello Robert.'; @@ -222,7 +202,7 @@ public function explicitPartialPathIsUsed(): void $actionRequest = ActionRequest::fromHttpRequest($httpRequest); $actionRequest->setFormat('txt'); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithPartial.txt'); $standaloneView->setPartialRootPath(__DIR__ . '/Fixtures/SpecialPartialsDirectory'); @@ -240,7 +220,7 @@ public function layoutWithDefaultLocationIsUsedIfNoLayoutPathIsSetExplicitly(): $actionRequest = ActionRequest::fromHttpRequest($httpRequest); $actionRequest->setFormat('txt'); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithLayout.txt'); $expected = 'Hey HEY HO'; @@ -256,7 +236,7 @@ public function explicitLayoutPathIsUsed(): void $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); $actionRequest->setFormat('txt'); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithLayout.txt'); $standaloneView->setLayoutRootPath(__DIR__ . '/Fixtures/SpecialLayouts'); @@ -274,7 +254,7 @@ public function viewThrowsExceptionWhenUnknownViewHelperIsCalled(): void $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); $actionRequest->setFormat('txt'); - $standaloneView = new Fixtures\View\StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithUnknownViewHelper.txt'); $standaloneView->setLayoutRootPath(__DIR__ . '/Fixtures/SpecialLayouts'); @@ -289,7 +269,7 @@ public function xmlNamespacesCanBeIgnored(): void $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); $actionRequest->setFormat('txt'); - $standaloneView = new Fixtures\View\StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithCustomNamespaces.txt'); $standaloneView->setLayoutRootPath(__DIR__ . '/Fixtures/SpecialLayouts'); @@ -312,7 +292,7 @@ public function interceptorsWorkInPartialRenderedInStandaloneSection(): void $actionRequest = ActionRequest::fromHttpRequest($httpRequest); $actionRequest->setFormat('html'); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->assign('hack', '<h1>HACK</h1>'); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/NestedRenderingConfiguration/TemplateWithSection.txt'); @@ -324,7 +304,7 @@ public function interceptorsWorkInPartialRenderedInStandaloneSection(): void $templateCache = $this->objectManager->get(CacheManager::class)->getCache('Fluid_TemplateCache'); $templateCache->remove($partialCacheIdentifier); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->assign('hack', '<h1>HACK</h1>'); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/NestedRenderingConfiguration/TemplateWithSection.txt'); @@ -366,7 +346,7 @@ public function formViewHelpersOutsideOfFormWork(): void $httpRequest = $this->objectManager->get(ServerRequestFactoryInterface::class)->createServerRequest('GET', 'http://localhost'); $actionRequest = ActionRequest::fromHttpRequest($httpRequest); - $standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce); + $standaloneView = new StandaloneView($actionRequest); $standaloneView->assign('name', 'Karsten'); $standaloneView->assign('name', 'Robert'); $standaloneView->setTemplatePathAndFilename(__DIR__ . '/Fixtures/TestTemplateWithFormField.txt'); From da84e76970aedf4c49d568598d287f6ed6d38ca9 Mon Sep 17 00:00:00 2001 From: Christian Harrington <ch@famly.co> Date: Thu, 16 Jan 2025 09:45:00 +0100 Subject: [PATCH 03/15] Avoid race-condition when reading localeCollection The previous implementation was an example of a check-then-act race-condition: There is no guarantee that the cached value still exists when it is subsequently read out. This would cause errors later when `$this->localCollection` could suddenly have the value `false`. --- Neos.Flow/Classes/I18n/Service.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Neos.Flow/Classes/I18n/Service.php b/Neos.Flow/Classes/I18n/Service.php index 43d366c038..ec90be1c68 100644 --- a/Neos.Flow/Classes/I18n/Service.php +++ b/Neos.Flow/Classes/I18n/Service.php @@ -83,8 +83,10 @@ public function initializeObject() $this->configuration = new Configuration($this->settings['defaultLocale']); $this->configuration->setFallbackRule($this->settings['fallbackRule']); - if ($this->cache->has('availableLocales')) { - $this->localeCollection = $this->cache->get('availableLocales'); + $cachedCollection = $this->cache->get('availableLocales'); + + if ($cachedCollection !== false) { + $this->localeCollection = $cachedCollection; } elseif (isset($this->settings['availableLocales']) && !empty($this->settings['availableLocales'])) { $this->generateAvailableLocalesCollectionFromSettings(); $this->cache->set('availableLocales', $this->localeCollection); From d9fdc38c43b8df9794efb6725406f7c150601caa Mon Sep 17 00:00:00 2001 From: Christian Harrington <ch@famly.co> Date: Thu, 16 Jan 2025 13:28:02 +0100 Subject: [PATCH 04/15] Fix tests for `I18n/Service` --- Neos.Flow/Tests/Unit/I18n/ServiceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Neos.Flow/Tests/Unit/I18n/ServiceTest.php b/Neos.Flow/Tests/Unit/I18n/ServiceTest.php index 0058a72d5a..934c1a266f 100644 --- a/Neos.Flow/Tests/Unit/I18n/ServiceTest.php +++ b/Neos.Flow/Tests/Unit/I18n/ServiceTest.php @@ -174,7 +174,7 @@ public function initializeCorrectlyGeneratesAvailableLocales() ]]; $mockCache = $this->createMock(VariableFrontend::class); - $mockCache->expects(self::once())->method('has')->with('availableLocales')->will(self::returnValue(false)); + $mockCache->expects(self::once())->method('get')->with('availableLocales')->will(self::returnValue(false)); $service = $this->getAccessibleMock(I18n\Service::class, ['dummy']); $service->_set('localeBasePath', 'vfs://Foo/'); @@ -221,7 +221,7 @@ public function initializeCorrectlySkipsExcludedPathsFromScanningLocales() ]]; $mockCache = $this->getMockBuilder(VariableFrontend::class)->disableOriginalConstructor()->getMock(); - $mockCache->expects(self::once())->method('has')->with('availableLocales')->will(self::returnValue(false)); + $mockCache->expects(self::once())->method('get')->with('availableLocales')->will(self::returnValue(false)); $service = $this->getAccessibleMock(I18n\Service::class, ['dummy']); $service->_set('localeBasePath', 'vfs://Foo/'); From 35e4a47fc6b5f05f57e2c07215bf1a82692de2c3 Mon Sep 17 00:00:00 2001 From: Jenkins <jenkins@neos.io> Date: Thu, 16 Jan 2025 13:04:26 +0000 Subject: [PATCH 05/15] TASK: Update references [skip ci] --- .../TheDefinitiveGuide/PartV/AnnotationReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/CommandReference.rst | 2 +- .../PartV/FluidAdaptorViewHelperReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TypeConverterReference.rst | 2 +- .../TheDefinitiveGuide/PartV/ValidatorReference.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst index 6bc7dd196b..2587984718 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst @@ -3,7 +3,7 @@ Flow Annotation Reference ========================= -This reference was automatically generated from code on 2025-01-15 +This reference was automatically generated from code on 2025-01-16 .. _`Flow Annotation Reference: After`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst index 8339e942f2..10eb19da6c 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst @@ -19,7 +19,7 @@ commands that may be available, use:: ./flow help -The following reference was automatically generated from code on 2025-01-15 +The following reference was automatically generated from code on 2025-01-16 .. _`Flow Command Reference: NEOS.FLOW`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst index c2a00903ac..e3573a0e02 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst @@ -3,7 +3,7 @@ FluidAdaptor ViewHelper Reference ================================= -This reference was automatically generated from code on 2025-01-15 +This reference was automatically generated from code on 2025-01-16 .. _`FluidAdaptor ViewHelper Reference: f:debug`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst index 0ed7703a50..ea138c1593 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst @@ -3,7 +3,7 @@ Flow Signals Reference ====================== -This reference was automatically generated from code on 2025-01-15 +This reference was automatically generated from code on 2025-01-16 .. _`Flow Signals Reference: AbstractAdvice (``Neos\Flow\Aop\Advice\AbstractAdvice``)`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst index 9817bc9efd..e39c049334 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst @@ -3,7 +3,7 @@ TYPO3 Fluid ViewHelper Reference ================================ -This reference was automatically generated from code on 2025-01-15 +This reference was automatically generated from code on 2025-01-16 .. _`TYPO3 Fluid ViewHelper Reference: f:alias`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst index 88126881b0..298403b73f 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst @@ -3,7 +3,7 @@ Flow TypeConverter Reference ============================ -This reference was automatically generated from code on 2025-01-15 +This reference was automatically generated from code on 2025-01-16 .. _`Flow TypeConverter Reference: ArrayConverter`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst index 9a3eb97624..25a96dfa1e 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst @@ -3,7 +3,7 @@ Flow Validator Reference ======================== -This reference was automatically generated from code on 2025-01-15 +This reference was automatically generated from code on 2025-01-16 .. _`Flow Validator Reference: AggregateBoundaryValidator`: From 5c5ab307b8bb5b382d113808d7f53cdbdd8b6b5b Mon Sep 17 00:00:00 2001 From: Denny Lubitz <lubitz@vivomedia.de> Date: Fri, 17 Jan 2025 21:38:01 +0100 Subject: [PATCH 06/15] TASK: Run pipeline also in PHP 8.4 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d41abbc0f..bde7ba3310 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.0', '8.1', '8.2', '8.3'] + php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4'] # see https://mariadb.com/kb/en/mariadb-server-release-dates/ # this should be a current release, e.g. the LTS version mariadb-versions: ['10.6'] From d940523b92494a2d79aed56923ef430914b54b84 Mon Sep 17 00:00:00 2001 From: Jenkins <jenkins@neos.io> Date: Fri, 17 Jan 2025 20:53:41 +0000 Subject: [PATCH 07/15] TASK: Update references [skip ci] --- .../TheDefinitiveGuide/PartV/AnnotationReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/CommandReference.rst | 2 +- .../PartV/FluidAdaptorViewHelperReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TypeConverterReference.rst | 2 +- .../TheDefinitiveGuide/PartV/ValidatorReference.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst index 2587984718..00475f31ce 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst @@ -3,7 +3,7 @@ Flow Annotation Reference ========================= -This reference was automatically generated from code on 2025-01-16 +This reference was automatically generated from code on 2025-01-17 .. _`Flow Annotation Reference: After`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst index 10eb19da6c..b3fd6e9292 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst @@ -19,7 +19,7 @@ commands that may be available, use:: ./flow help -The following reference was automatically generated from code on 2025-01-16 +The following reference was automatically generated from code on 2025-01-17 .. _`Flow Command Reference: NEOS.FLOW`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst index e3573a0e02..f3f341cd01 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst @@ -3,7 +3,7 @@ FluidAdaptor ViewHelper Reference ================================= -This reference was automatically generated from code on 2025-01-16 +This reference was automatically generated from code on 2025-01-17 .. _`FluidAdaptor ViewHelper Reference: f:debug`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst index ea138c1593..7dcee954f2 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst @@ -3,7 +3,7 @@ Flow Signals Reference ====================== -This reference was automatically generated from code on 2025-01-16 +This reference was automatically generated from code on 2025-01-17 .. _`Flow Signals Reference: AbstractAdvice (``Neos\Flow\Aop\Advice\AbstractAdvice``)`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst index e39c049334..fc32dcdced 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst @@ -3,7 +3,7 @@ TYPO3 Fluid ViewHelper Reference ================================ -This reference was automatically generated from code on 2025-01-16 +This reference was automatically generated from code on 2025-01-17 .. _`TYPO3 Fluid ViewHelper Reference: f:alias`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst index 298403b73f..1cbbf52bc5 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst @@ -3,7 +3,7 @@ Flow TypeConverter Reference ============================ -This reference was automatically generated from code on 2025-01-16 +This reference was automatically generated from code on 2025-01-17 .. _`Flow TypeConverter Reference: ArrayConverter`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst index 25a96dfa1e..303ad7e72c 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst @@ -3,7 +3,7 @@ Flow Validator Reference ======================== -This reference was automatically generated from code on 2025-01-16 +This reference was automatically generated from code on 2025-01-17 .. _`Flow Validator Reference: AggregateBoundaryValidator`: From 541a10fc2190c7d22d13080fecad4b6630f4a7e4 Mon Sep 17 00:00:00 2001 From: Neophyte <electraocareca@gmail.com> Date: Mon, 20 Jan 2025 06:50:17 +0000 Subject: [PATCH 08/15] TASK: Translated using Weblate (Portuguese) Currently translated at 100.0% (55 of 55 strings) Translation: Neos/Neos.Flow - ValidationErrors - 8.3 Translate-URL: https://hosted.weblate.org/projects/neos/neosflow-validationerrors-83/pt/ --- .../Resources/Private/Translations/pt/ValidationErrors.xlf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Neos.Flow/Resources/Private/Translations/pt/ValidationErrors.xlf b/Neos.Flow/Resources/Private/Translations/pt/ValidationErrors.xlf index f7080975c5..1dabb63c1d 100644 --- a/Neos.Flow/Resources/Private/Translations/pt/ValidationErrors.xlf +++ b/Neos.Flow/Resources/Private/Translations/pt/ValidationErrors.xlf @@ -248,6 +248,10 @@ <source>The image orientation "{0}" is not allowed</source> <target state="translated">Não é permitida a orientação "{0}" da imagem</target> </trans-unit> + <trans-unit id="1327865764" xml:space="preserve"> + <source>The file extension "{0}" is not allowed.</source> + <target state="translated">A extensão de ficheiro "{0}" não é permitida.</target> + </trans-unit> </body> </file> </xliff> From c8fe09c5a569802d19bf3ca94fc104d8ae9f7d23 Mon Sep 17 00:00:00 2001 From: Jenkins <jenkins@neos.io> Date: Mon, 20 Jan 2025 17:50:09 +0000 Subject: [PATCH 09/15] TASK: Update references [skip ci] --- .../TheDefinitiveGuide/PartV/AnnotationReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/CommandReference.rst | 2 +- .../PartV/FluidAdaptorViewHelperReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TypeConverterReference.rst | 2 +- .../TheDefinitiveGuide/PartV/ValidatorReference.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst index 00475f31ce..11b24e6d0f 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst @@ -3,7 +3,7 @@ Flow Annotation Reference ========================= -This reference was automatically generated from code on 2025-01-17 +This reference was automatically generated from code on 2025-01-20 .. _`Flow Annotation Reference: After`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst index b3fd6e9292..613cefca74 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst @@ -19,7 +19,7 @@ commands that may be available, use:: ./flow help -The following reference was automatically generated from code on 2025-01-17 +The following reference was automatically generated from code on 2025-01-20 .. _`Flow Command Reference: NEOS.FLOW`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst index f3f341cd01..6cd6e76e6d 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst @@ -3,7 +3,7 @@ FluidAdaptor ViewHelper Reference ================================= -This reference was automatically generated from code on 2025-01-17 +This reference was automatically generated from code on 2025-01-20 .. _`FluidAdaptor ViewHelper Reference: f:debug`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst index 7dcee954f2..1b7ffe9540 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst @@ -3,7 +3,7 @@ Flow Signals Reference ====================== -This reference was automatically generated from code on 2025-01-17 +This reference was automatically generated from code on 2025-01-20 .. _`Flow Signals Reference: AbstractAdvice (``Neos\Flow\Aop\Advice\AbstractAdvice``)`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst index fc32dcdced..7a166704a6 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst @@ -3,7 +3,7 @@ TYPO3 Fluid ViewHelper Reference ================================ -This reference was automatically generated from code on 2025-01-17 +This reference was automatically generated from code on 2025-01-20 .. _`TYPO3 Fluid ViewHelper Reference: f:alias`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst index 1cbbf52bc5..4ff1ba8eab 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst @@ -3,7 +3,7 @@ Flow TypeConverter Reference ============================ -This reference was automatically generated from code on 2025-01-17 +This reference was automatically generated from code on 2025-01-20 .. _`Flow TypeConverter Reference: ArrayConverter`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst index 303ad7e72c..6f47f647a2 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst @@ -3,7 +3,7 @@ Flow Validator Reference ======================== -This reference was automatically generated from code on 2025-01-17 +This reference was automatically generated from code on 2025-01-20 .. _`Flow Validator Reference: AggregateBoundaryValidator`: From 3dc6ff7e0528f0dc9c16d83e1b00f06fe5c0dce6 Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns <karsten@dambekalns.de> Date: Wed, 22 Jan 2025 16:20:31 +0100 Subject: [PATCH 10/15] BUGFIX: Drop use of `E_STRICT` to fix PHP 8.4 deprecation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The use of `E_STRICT` is deprecated as of PHP 8.4, so this fixes deprecation warnings. Furthermore, the constant is no longer useful… In PHP 5.4, the functionality of `E_STRICT` was incorporated into `E_ALL`, meaning strict standards notices are included in the `E_ALL` error level. As a result, there is no need to use `E_STRICT` separately starting with PHP 5.4. This change is documented in the PHP manual under the migration guide for PHP 7.0, which states: > All of the E_STRICT notices have been reclassified to other levels. > The E_STRICT constant is retained, so calls like > `error_reporting(E_ALL|E_STRICT)` will not cause an error. (see https://www.php.net/manual/en/migration70.incompatible) --- Neos.Flow/Classes/Error/ErrorHandler.php | 1 - Neos.Flow/Configuration/Development/Settings.yaml | 2 +- Neos.Flow/Configuration/Testing/Settings.yaml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Neos.Flow/Classes/Error/ErrorHandler.php b/Neos.Flow/Classes/Error/ErrorHandler.php index 6d2049e714..1bb8b32eb1 100644 --- a/Neos.Flow/Classes/Error/ErrorHandler.php +++ b/Neos.Flow/Classes/Error/ErrorHandler.php @@ -72,7 +72,6 @@ public function handleError(int $errorLevel, string $errorMessage, string $error E_USER_ERROR => 'User Error', E_USER_WARNING => 'User Warning', E_USER_NOTICE => 'User Notice', - E_STRICT => 'Runtime Notice', E_RECOVERABLE_ERROR => 'Catchable Fatal Error' ]; diff --git a/Neos.Flow/Configuration/Development/Settings.yaml b/Neos.Flow/Configuration/Development/Settings.yaml index 47095b5141..3c432d643e 100644 --- a/Neos.Flow/Configuration/Development/Settings.yaml +++ b/Neos.Flow/Configuration/Development/Settings.yaml @@ -29,7 +29,7 @@ Neos: logException: true errorHandler: - exceptionalErrors: ['%E_USER_ERROR%', '%E_RECOVERABLE_ERROR%', '%E_WARNING%', '%E_NOTICE%', '%E_USER_WARNING%', '%E_USER_NOTICE%', '%E_STRICT%'] + exceptionalErrors: ['%E_USER_ERROR%', '%E_RECOVERABLE_ERROR%', '%E_WARNING%', '%E_NOTICE%', '%E_USER_WARNING%', '%E_USER_NOTICE%'] log: psr3: diff --git a/Neos.Flow/Configuration/Testing/Settings.yaml b/Neos.Flow/Configuration/Testing/Settings.yaml index 8fed57e18e..96576563d2 100644 --- a/Neos.Flow/Configuration/Testing/Settings.yaml +++ b/Neos.Flow/Configuration/Testing/Settings.yaml @@ -20,7 +20,7 @@ Neos: exceptionHandler: className: 'Neos\Flow\Error\DebugExceptionHandler' errorHandler: - exceptionalErrors: ['%E_USER_ERROR%', '%E_RECOVERABLE_ERROR%', '%E_WARNING%', '%E_NOTICE%', '%E_USER_WARNING%', '%E_USER_NOTICE%', '%E_STRICT%'] + exceptionalErrors: ['%E_USER_ERROR%', '%E_RECOVERABLE_ERROR%', '%E_WARNING%', '%E_NOTICE%', '%E_USER_WARNING%', '%E_USER_NOTICE%'] log: psr3: From c7b119b50af14fc372e473f07ec22b03a46556b9 Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns <karsten@dambekalns.de> Date: Thu, 23 Jan 2025 07:58:58 +0100 Subject: [PATCH 11/15] BUGFIX: Silence warning in `readCacheFile()` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit readCacheFile() in SimpleFileBackend does fopen(). It wraps it into a try-catch clause and checks the result, but it still produces a warning if the file does not exist: `Warning: fopen(/application/Data/Temporary/…): Failed to open stream: No such file or directory` The only way to suppress that warning is to use the shut-up operator (`@`) in this place. Given that everything that can go wrong here is taken care of, I think this is fine. --- Neos.Cache/Classes/Backend/SimpleFileBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.Cache/Classes/Backend/SimpleFileBackend.php b/Neos.Cache/Classes/Backend/SimpleFileBackend.php index 7fcef5e67c..6f3e346b0b 100644 --- a/Neos.Cache/Classes/Backend/SimpleFileBackend.php +++ b/Neos.Cache/Classes/Backend/SimpleFileBackend.php @@ -498,7 +498,7 @@ protected function readCacheFile(string $cacheEntryPathAndFilename, int $offset for ($i = 0; $i < 3; $i++) { $data = false; try { - $file = fopen($cacheEntryPathAndFilename, 'rb'); + $file = @fopen($cacheEntryPathAndFilename, 'rb'); if ($file === false) { continue; } From e7c80d709df7f7767a4407b1b7b9cfda5aa1f4e1 Mon Sep 17 00:00:00 2001 From: Jenkins <jenkins@neos.io> Date: Thu, 23 Jan 2025 19:02:30 +0000 Subject: [PATCH 12/15] TASK: Update references [skip ci] --- .../TheDefinitiveGuide/PartV/AnnotationReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/CommandReference.rst | 2 +- .../PartV/FluidAdaptorViewHelperReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TypeConverterReference.rst | 2 +- .../TheDefinitiveGuide/PartV/ValidatorReference.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst index 11b24e6d0f..1cf75f338b 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst @@ -3,7 +3,7 @@ Flow Annotation Reference ========================= -This reference was automatically generated from code on 2025-01-20 +This reference was automatically generated from code on 2025-01-23 .. _`Flow Annotation Reference: After`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst index 613cefca74..de7dcf575c 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst @@ -19,7 +19,7 @@ commands that may be available, use:: ./flow help -The following reference was automatically generated from code on 2025-01-20 +The following reference was automatically generated from code on 2025-01-23 .. _`Flow Command Reference: NEOS.FLOW`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst index 6cd6e76e6d..4397b6fbb7 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst @@ -3,7 +3,7 @@ FluidAdaptor ViewHelper Reference ================================= -This reference was automatically generated from code on 2025-01-20 +This reference was automatically generated from code on 2025-01-23 .. _`FluidAdaptor ViewHelper Reference: f:debug`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst index 1b7ffe9540..6b16c642ac 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst @@ -3,7 +3,7 @@ Flow Signals Reference ====================== -This reference was automatically generated from code on 2025-01-20 +This reference was automatically generated from code on 2025-01-23 .. _`Flow Signals Reference: AbstractAdvice (``Neos\Flow\Aop\Advice\AbstractAdvice``)`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst index 7a166704a6..57dee7d442 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst @@ -3,7 +3,7 @@ TYPO3 Fluid ViewHelper Reference ================================ -This reference was automatically generated from code on 2025-01-20 +This reference was automatically generated from code on 2025-01-23 .. _`TYPO3 Fluid ViewHelper Reference: f:alias`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst index 4ff1ba8eab..3829f1ed10 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst @@ -3,7 +3,7 @@ Flow TypeConverter Reference ============================ -This reference was automatically generated from code on 2025-01-20 +This reference was automatically generated from code on 2025-01-23 .. _`Flow TypeConverter Reference: ArrayConverter`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst index 6f47f647a2..d2edc7a92e 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst @@ -3,7 +3,7 @@ Flow Validator Reference ======================== -This reference was automatically generated from code on 2025-01-20 +This reference was automatically generated from code on 2025-01-23 .. _`Flow Validator Reference: AggregateBoundaryValidator`: From c52cf6f60f81c0ec41ae8451219634c772d6130a Mon Sep 17 00:00:00 2001 From: Jenkins <jenkins@neos.io> Date: Fri, 24 Jan 2025 11:26:58 +0000 Subject: [PATCH 13/15] TASK: Update references [skip ci] --- .../TheDefinitiveGuide/PartV/AnnotationReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/CommandReference.rst | 2 +- .../PartV/FluidAdaptorViewHelperReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TypeConverterReference.rst | 2 +- .../TheDefinitiveGuide/PartV/ValidatorReference.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst index 1cf75f338b..b5546afd86 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst @@ -3,7 +3,7 @@ Flow Annotation Reference ========================= -This reference was automatically generated from code on 2025-01-23 +This reference was automatically generated from code on 2025-01-24 .. _`Flow Annotation Reference: After`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst index de7dcf575c..ac9d05b848 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst @@ -19,7 +19,7 @@ commands that may be available, use:: ./flow help -The following reference was automatically generated from code on 2025-01-23 +The following reference was automatically generated from code on 2025-01-24 .. _`Flow Command Reference: NEOS.FLOW`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst index 4397b6fbb7..eb3175522e 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst @@ -3,7 +3,7 @@ FluidAdaptor ViewHelper Reference ================================= -This reference was automatically generated from code on 2025-01-23 +This reference was automatically generated from code on 2025-01-24 .. _`FluidAdaptor ViewHelper Reference: f:debug`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst index 6b16c642ac..f35ea7b16e 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst @@ -3,7 +3,7 @@ Flow Signals Reference ====================== -This reference was automatically generated from code on 2025-01-23 +This reference was automatically generated from code on 2025-01-24 .. _`Flow Signals Reference: AbstractAdvice (``Neos\Flow\Aop\Advice\AbstractAdvice``)`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst index 57dee7d442..10048e10e2 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst @@ -3,7 +3,7 @@ TYPO3 Fluid ViewHelper Reference ================================ -This reference was automatically generated from code on 2025-01-23 +This reference was automatically generated from code on 2025-01-24 .. _`TYPO3 Fluid ViewHelper Reference: f:alias`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst index 3829f1ed10..0ec11cf70e 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst @@ -3,7 +3,7 @@ Flow TypeConverter Reference ============================ -This reference was automatically generated from code on 2025-01-23 +This reference was automatically generated from code on 2025-01-24 .. _`Flow TypeConverter Reference: ArrayConverter`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst index d2edc7a92e..c2bb4ea4c4 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst @@ -3,7 +3,7 @@ Flow Validator Reference ======================== -This reference was automatically generated from code on 2025-01-23 +This reference was automatically generated from code on 2025-01-24 .. _`Flow Validator Reference: AggregateBoundaryValidator`: From 4542affcd22486a85b37009a5d5a7a80f83b4738 Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns <karsten@dambekalns.de> Date: Mon, 27 Jan 2025 09:07:02 +0100 Subject: [PATCH 14/15] TASK: Fix StyleCI complaint --- Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php b/Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php index 9091dc7bf3..2b6295e917 100644 --- a/Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php +++ b/Neos.Flow/Classes/Log/ThrowableStorage/FileStorage.php @@ -219,7 +219,7 @@ protected function renderErrorInfo(\Throwable $error, array $additionalData = [] */ protected function getErrorLogMessage(\Throwable $error) { - // getCode() does not always return an integer, e.g. in PDOException it can be a string + // getCode() does not always return an integer, e.g. in PDOException it can be a string if (is_int($error->getCode()) && $error->getCode() > 0) { $errorCodeString = ' #' . $error->getCode(); } else { From 57bc20b2bc49cee030910338c93fd20d5a86fd38 Mon Sep 17 00:00:00 2001 From: Jenkins <jenkins@neos.io> Date: Mon, 27 Jan 2025 08:36:46 +0000 Subject: [PATCH 15/15] TASK: Update references [skip ci] --- .../TheDefinitiveGuide/PartV/AnnotationReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/CommandReference.rst | 2 +- .../PartV/FluidAdaptorViewHelperReference.rst | 2 +- .../Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst | 2 +- .../TheDefinitiveGuide/PartV/TypeConverterReference.rst | 2 +- .../TheDefinitiveGuide/PartV/ValidatorReference.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst index b5546afd86..54056efdc6 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/AnnotationReference.rst @@ -3,7 +3,7 @@ Flow Annotation Reference ========================= -This reference was automatically generated from code on 2025-01-24 +This reference was automatically generated from code on 2025-01-27 .. _`Flow Annotation Reference: After`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst index ac9d05b848..841cc56ff9 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst @@ -19,7 +19,7 @@ commands that may be available, use:: ./flow help -The following reference was automatically generated from code on 2025-01-24 +The following reference was automatically generated from code on 2025-01-27 .. _`Flow Command Reference: NEOS.FLOW`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst index eb3175522e..66ea3f656a 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst @@ -3,7 +3,7 @@ FluidAdaptor ViewHelper Reference ================================= -This reference was automatically generated from code on 2025-01-24 +This reference was automatically generated from code on 2025-01-27 .. _`FluidAdaptor ViewHelper Reference: f:debug`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst index f35ea7b16e..7ae7ed91a6 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/SignalsReference.rst @@ -3,7 +3,7 @@ Flow Signals Reference ====================== -This reference was automatically generated from code on 2025-01-24 +This reference was automatically generated from code on 2025-01-27 .. _`Flow Signals Reference: AbstractAdvice (``Neos\Flow\Aop\Advice\AbstractAdvice``)`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst index 10048e10e2..a50a159095 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TYPO3FluidViewHelperReference.rst @@ -3,7 +3,7 @@ TYPO3 Fluid ViewHelper Reference ================================ -This reference was automatically generated from code on 2025-01-24 +This reference was automatically generated from code on 2025-01-27 .. _`TYPO3 Fluid ViewHelper Reference: f:alias`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst index 0ec11cf70e..3957a2b8f2 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/TypeConverterReference.rst @@ -3,7 +3,7 @@ Flow TypeConverter Reference ============================ -This reference was automatically generated from code on 2025-01-24 +This reference was automatically generated from code on 2025-01-27 .. _`Flow TypeConverter Reference: ArrayConverter`: diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst index c2bb4ea4c4..dc0d400af1 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ValidatorReference.rst @@ -3,7 +3,7 @@ Flow Validator Reference ======================== -This reference was automatically generated from code on 2025-01-24 +This reference was automatically generated from code on 2025-01-27 .. _`Flow Validator Reference: AggregateBoundaryValidator`: