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

Use correct var name in annotation of test file #27

Merged
merged 2 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
ChangeLog
=========

Version 4.0.2
=============

* Use correct var in annotation of DynamicUploadValidatorHookTest

Version 4.0.1
=============

Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[general]

project = Check FAL Uploads
version = 4.0.1
version = 4.0.2
release = 4.0
copyright = by jweiland.net

Expand Down
16 changes: 8 additions & 8 deletions Tests/Functional/Hooks/Form/DynamicUploadValidatorHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function afterSubmitWithEmptyResourcePointerWillReturnNull(mixed $invalid
*/
public function afterSubmitWithNoChildElementsReturnsOriginalEmptyValue(): void
{
/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -188,7 +188,7 @@ public function afterSubmitWithNoCheckboxElementReturnsOriginalEmptyValue(): voi
->method('getType')
->willReturn('Text');

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -236,7 +236,7 @@ public function afterSubmitWithEmptyCheckboxPropertiesReturnsOriginalEmptyValue(
->method('getProperties')
->willReturn([]);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -286,7 +286,7 @@ public function afterSubmitWithEmptyUploadIdentifierReturnsOriginalEmptyValue():
'checkboxType' => 'uploadRights',
]);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -337,7 +337,7 @@ public function afterSubmitWithDifferentIdentifiersReturnsOriginalEmptyValue():
'referenceUploadIdentifier' => 'Different Identifier',
]);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -392,7 +392,7 @@ public function afterSubmitWithMissingCheckboxRequestReturnsOriginalEmptyValue()
'referenceUploadIdentifier' => 'CorrectIdentifier',
]);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -451,7 +451,7 @@ public function afterSubmitWithActivatedCheckboxReturnsOriginalEmptyValue(): voi
->method('getIdentifier')
->willReturn('CheckboxIdentifier');

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -519,7 +519,7 @@ public function afterSubmitWithDeactivatedCheckboxWillAddNotEmptyValidator(): vo
self::isInstanceOf(NotEmptyValidator::class)
);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'author_email' => 'projects@jweiland.net',
'author_company' => 'jweiland.net',
'state' => 'stable',
'version' => '4.0.1',
'version' => '4.0.2',
'constraints' => [
'depends' => [
'typo3' => '12.4.4-12.4.99',
Expand Down