Skip to content

Commit

Permalink
Merge branch 'release/9.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
garbast committed Aug 24, 2024
2 parents 2a626eb + ac64ac6 commit 858f2f3
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 101 deletions.
32 changes: 4 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,50 +34,26 @@ jobs:
strategy:
matrix:
packages:
- php: '8.1'
core: '^12.4'
framework: '^8.0.2'
prefer: ''
testpath: 'Tests/Functional'

- php: '8.1'
core: '^12.4'
framework: '^8.0.2'
prefer: '--prefer-lowest'
testpath: 'Tests/Functional'

- php: '8.2'
core: '^12.4'
framework: '^8.0.2'
prefer: ''
testpath: 'Tests/Functional'

- php: '8.2'
core: '^12.4'
framework: '^8.0.2'
prefer: '--prefer-lowest'
testpath: 'Tests/Functional'

- php: '8.2'
core: '^13.0'
core: '^13.2'
framework: 'dev-main'
prefer: ''
testpath: 'Tests/Functional'

- php: '8.2'
core: '^13.0'
core: '^13.2'
framework: 'dev-main'
prefer: '--prefer-lowest'
testpath: 'Tests/Functional'

- php: '8.3'
core: '^13.0'
core: '^13.2'
framework: 'dev-main'
prefer: ''
testpath: 'Tests/Functional'

- php: '8.3'
core: '^13.0'
core: '^13.2'
framework: 'dev-main'
prefer: '--prefer-lowest'
testpath: 'Tests/Functional'
Expand Down
13 changes: 3 additions & 10 deletions Build/Scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,24 +136,17 @@ DEBUG_TESTS=false
if [[ $DEBUG_TESTS != true ]]; then
checkResources

TCORE="^12.4"
TFRAMEWORK="^8.0.2"
TCORE="^13.2"
TFRAMEWORK="dev-main"
TPATH="Tests/Functional"
LOWEST="--prefer-lowest"
runFunctionalTests "8.1" ${TCORE} ${TFRAMEWORK} ${TPATH} || exit 1
runFunctionalTests "8.1" ${TCORE} ${TFRAMEWORK} ${TPATH} ${LOWEST} || exit 1
runFunctionalTests "8.2" ${TCORE} ${TFRAMEWORK} ${TPATH} || exit 1
runFunctionalTests "8.2" ${TCORE} ${TFRAMEWORK} ${TPATH} ${LOWEST} || exit 1

TCORE="^13.0"
TFRAMEWORK="dev-main"
runFunctionalTests "8.2" ${TCORE} ${TFRAMEWORK} ${TPATH} || exit 1
runFunctionalTests "8.2" ${TCORE} ${TFRAMEWORK} ${TPATH} ${LOWEST} || exit 1
runFunctionalTests "8.3" ${TCORE} ${TFRAMEWORK} ${TPATH} || exit 1
runFunctionalTests "8.3" ${TCORE} ${TFRAMEWORK} ${TPATH} ${LOWEST} || exit 1
else
cleanup
runFunctionalTests "8.2" "^13.0" "dev-main" "Tests/Functional" || exit 1
runFunctionalTests "8.2" "^13.2" "dev-main" "Tests/Functional" || exit 1
cleanup
# ./runTests.sh -x -p 8.2 -d sqlite -s functional -e "--group selected" Tests/Functional
# ./runTests.sh -x -p 8.2 -d sqlite -s functional Tests/Functional
Expand Down
3 changes: 1 addition & 2 deletions Configuration/FlexForms/author.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<settings.itemsPerPage>
<label>LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.limit</label>
<config type="array">
<type>input</type>
<eval>int</eval>
<type>number</type>
<default>5</default>
</config>
</settings.itemsPerPage>
Expand Down
7 changes: 3 additions & 4 deletions Configuration/FlexForms/book.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<settings.itemsPerPage>
<label>LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.limit</label>
<config type="array">
<type>input</type>
<eval>int</eval>
<type>number</type>
<default>5</default>
</config>
</settings.itemsPerPage>
Expand All @@ -27,8 +26,8 @@
<default>-1</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.category.allCategories</numIndex>
<numIndex index="1">-1</numIndex>
<numIndex index="label">LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.category.allCategories</numIndex>
<numIndex index="value">-1</numIndex>
</numIndex>
</items>
<maxitems>200</maxitems>
Expand Down
7 changes: 3 additions & 4 deletions Configuration/FlexForms/category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<settings.itemsPerPage>
<label>LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.limit</label>
<config type="array">
<type>input</type>
<eval>int</eval>
<type>number</type>
<default>5</default>
</config>
</settings.itemsPerPage>
Expand All @@ -27,8 +26,8 @@
<default>-1</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.category.allCategories</numIndex>
<numIndex index="1">-1</numIndex>
<numIndex index="label">LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.category.allCategories</numIndex>
<numIndex index="value">-1</numIndex>
</numIndex>
</items>
<maxitems>200</maxitems>
Expand Down
9 changes: 3 additions & 6 deletions Configuration/FlexForms/search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,21 @@
<settings.bookPageId>
<label>LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.bookPageId</label>
<config type="array">
<type>input</type>
<eval>int</eval>
<type>number</type>
<default>0</default>
</config>
</settings.bookPageId>
<settings.authorPageId>
<label>LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.authorPageId</label>
<config type="array">
<type>input</type>
<eval>int</eval>
<type>number</type>
<default>0</default>
</config>
</settings.authorPageId>
<settings.itemsPerPage>
<label>LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.limit</label>
<config type="array">
<type>input</type>
<eval>int</eval>
<type>number</type>
<default>5</default>
</config>
</settings.itemsPerPage>
Expand Down
3 changes: 1 addition & 2 deletions Configuration/FlexForms/series.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<settings.itemsPerPage>
<label>LLL:EXT:sf_books/Resources/Private/Language/locallang_be.xml:flexform.settings.limit</label>
<config type="array">
<type>input</type>
<eval>int</eval>
<type>number</type>
<default>5</default>
</config>
</settings.itemsPerPage>
Expand Down
4 changes: 2 additions & 2 deletions Documentation/guides.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
interlink-shortcode="evoweb/sf-books"
/>
<project title="sf_books"
release="9.0.0"
version="9.0.0"
release="9.0.1"
version="9.0.1"
copyright="since 2004 by evoWeb"
/>
<inventory id="t3tsref" url="https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/"/>
Expand Down
11 changes: 0 additions & 11 deletions Tests/Functional/AbstractTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@

namespace Evoweb\SfBooks\Tests\Functional;

/**
* This file is developed by evoWeb.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/

use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
Expand Down
15 changes: 2 additions & 13 deletions Tests/Functional/Domain/Repository/AuthorRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@

namespace Evoweb\SfBooks\Tests\Functional\Domain\Repository;

/**
* This file is developed by evoWeb.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/

use Evoweb\SfBooks\Domain\Model\Author;
use Evoweb\SfBooks\Domain\Repository\AuthorRepository;
use Evoweb\SfBooks\Tests\Functional\AbstractTestCase;
Expand Down Expand Up @@ -59,7 +48,7 @@ public function findByUidReturnsOneAuthor()
'description' => $author->getDescription(),
'capitalLetter' => $author->getCapitalLetter(),
];
self::assertEquals(
$this->assertEquals(
[
'uid' => 1,
'pid' => 2,
Expand All @@ -86,7 +75,7 @@ public function findAuthorGroupedByLetters()
'description' => $author->getDescription(),
'capitalLetter' => $author->getCapitalLetter(),
];
self::assertEquals(
$this->assertEquals(
[
'uid' => 1,
'pid' => 2,
Expand Down
15 changes: 2 additions & 13 deletions Tests/Functional/Domain/Repository/SeriesRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@

namespace Evoweb\SfBooks\Tests\Functional\Domain\Repository;

/**
* This file is developed by evoWeb.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/

use Evoweb\SfBooks\Domain\Model\Series;
use Evoweb\SfBooks\Domain\Repository\SeriesRepository;
use Evoweb\SfBooks\Tests\Functional\AbstractTestCase;
Expand Down Expand Up @@ -59,7 +48,7 @@ public function findByUidReturnsOneSeries()
'description' => $series->getDescription(),
'capitalLetter' => $series->getCapitalLetter(),
];
self::assertEquals(
$this->assertEquals(
[
'uid' => 1,
'pid' => 2,
Expand All @@ -86,7 +75,7 @@ public function findSeriesGroupedByLetters()
'description' => $series->getDescription(),
'capitalLetter' => $series->getCapitalLetter(),
];
self::assertEquals(
$this->assertEquals(
[
'uid' => 1,
'pid' => 2,
Expand Down
12 changes: 7 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@
}
},
"require": {
"typo3/cms-core": "^12.4 || 12.4.x-dev || ^13.0 || 13.0.x-dev || dev-main",
"typo3/cms-extbase": "^12.4 || 12.4.x-dev || ^13.0 || 13.0.x-dev || dev-main",
"typo3/cms-fluid": "^12.4 || 12.4.x-dev || ^13.0 || 13.0.x-dev || dev-main",
"typo3/cms-install": "^12.4 || 12.4.x-dev || ^13.0 || 13.0.x-dev || dev-main",
"typo3/cms-core": "^13.2 || 13.2.x-dev || dev-main",
"typo3/cms-extbase": "^13.2 || 13.2.x-dev || dev-main",
"typo3/cms-fluid": "^13.2 || 13.2.x-dev || dev-main",
"typo3/cms-install": "^13.2 || 13.2.x-dev || dev-main",
"psr/http-message": "^1.1 || ^2.0",
"doctrine/dbal": "^3.7.2 || ^4.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.57.1",
"typo3/testing-framework": "^8.0.2 || dev-main"
"typo3/testing-framework": "dev-main",
"phpunit/phpunit": "^11.3.1",
"webmozart/assert": "^1.11.0"
},
"extra": {
"typo3/cms": {
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'author_email' => '[email protected]',
'author_company' => 'evoWeb',
'state' => 'stable',
'version' => '9.0.0',
'version' => '9.0.1',
'constraints' => [
'depends' => [
'typo3' => '13.4.0-13.4.99',
Expand Down

0 comments on commit 858f2f3

Please sign in to comment.