Skip to content
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
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -75,6 +76,8 @@ jobs:
typo3-version: '^13.4'
- php-version: '8.4'
typo3-version: '^13.4'
- php-version: '8.5'
typo3-version: '^13.4'
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -115,6 +118,9 @@ jobs:
- name: Run Unit Tests PHP8.4
run: nix-shell --arg phpVersion \"php84\" --pure --run project-test-unit

- name: Run Unit Tests PHP8.5
run: nix-shell --arg phpVersion \"php85\" --pure --run project-test-unit

- name: Run Functional Tests PHP8.2
run: nix-shell --arg phpVersion \"php82\" --pure --run project-test-functional

Expand All @@ -124,6 +130,9 @@ jobs:
- name: Run Functional Tests PHP8.4
run: nix-shell --arg phpVersion \"php84\" --pure --run project-test-functional

- name: Run Functional Tests PHP8.5
run: nix-shell --arg phpVersion \"php85\" --pure --run project-test-functional

test-acceptance:
runs-on: ubuntu-latest
needs:
Expand All @@ -143,3 +152,6 @@ jobs:

- name: Run Acceptance Tests PHP8.4
run: nix-shell --arg phpVersion \"php84\" --pure --run project-test-acceptance

- name: Run Acceptance Tests PHP8.5
run: nix-shell --arg phpVersion \"php85\" --pure --run project-test-acceptance
30 changes: 0 additions & 30 deletions Build/UnitTests.xml

This file was deleted.

5 changes: 4 additions & 1 deletion Build/FunctionalTests.xml → Build/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="true" bootstrap="../vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php" colors="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" beStrictAboutTestsThatDoNotTestAnything="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" cacheDirectory=".phpunit.cache" requireCoverageMetadata="false">
<coverage/>
<testsuites>
<testsuite name="Cart Products Extension">
<testsuite name="functional">
<directory>../Tests/Functional/</directory>
</testsuite>
<testsuite name="unit">
<directory>../Tests/Unit/</directory>
</testsuite>
</testsuites>
<source>
<include>
Expand Down
4 changes: 2 additions & 2 deletions Documentation/guides.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
interlink-shortcode="extcode/cart_products"
/>
<project title="Cart Products"
release="7.2.0"
version="7.2"
release="7.3.0"
version="7.3"
copyright="2018 - 2025"
/>
<inventory id="t3tsref" url="https://docs.typo3.org/typo3cms/TyposcriptReference/"/>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Sometimes minor versions also result in minor adjustments to own templates or co

| Cart Products | TYPO3 | PHP | Support/Development |
|---------------|------------|-----------|--------------------------------------|
| 7.x.x | 13.2 | 8.2 - 8.4 | Features, Bugfixes, Security Updates |
| 7.x.x | 13.2 | 8.2 - 8.5 | Features, Bugfixes, Security Updates |
| 6.x.x | 12.4 | 8.1+ | Bugfixes, Security Updates |
| 5.x.x | 12.4 | 8.1+ | Security Updates |
| 4.x.x | 10.4, 11.5 | 7.2+ | Security Updates |
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
},
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"ext-pdo": "*",
"extcode/cart": "^11.0",
"typo3/cms-core": "^13.4",
Expand Down Expand Up @@ -79,10 +79,10 @@
"find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l"
],
"test:php:unit": [
"vendor/bin/phpunit -c Build/UnitTests.xml"
"vendor/bin/phpunit -c Build/phpunit.xml.dist --testsuite unit --display-warnings --display-deprecations --display-errors"
],
"test:php:functional": [
"typo3DatabaseDriver=\"pdo_sqlite\" vendor/bin/phpunit -c Build/FunctionalTests.xml"
"typo3DatabaseDriver=\"pdo_sqlite\" vendor/bin/phpunit -c Build/phpunit.xml.dist --testsuite functional --display-warnings --display-deprecations --display-errors"
],
"test:phpstan:analyse": [
"vendor/bin/phpstan analyse -c Build/phpstan.neon --memory-limit 256M"
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'title' => 'Cart - Products',
'description' => 'Shopping Cart(s) for TYPO3 - Products',
'category' => 'plugin',
'version' => '7.2.0',
'version' => '7.3.0',
'state' => 'stable',
'author' => 'Daniel Gohlke',
'author_email' => 'ext@extco.de',
Expand Down
18 changes: 15 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ let
];
text = ''
project-install
./vendor/bin/phpunit -c Build/UnitTests.xml --display-deprecations --display-warnings
./vendor/bin/phpunit -c Build/phpunit.xml.dist --testsuite unit --display-warnings --display-deprecations --display-errors
'';
};

Expand All @@ -96,7 +96,19 @@ let
];
text = ''
project-install
./vendor/bin/phpunit -c Build/FunctionalTests.xml --display-deprecations --display-warnings
./vendor/bin/phpunit -c Build/phpunit.xml.dist --testsuite functional --display-warnings --display-deprecations --display-errors
'';
};

projectTestWithCoverage = pkgs.writeShellApplication {
name = "project-test-with-coverage";
runtimeInputs = [
php
projectInstall
];
text = ''
project-install
XDEBUG_MODE=coverage ./vendor/bin/phpunit -c Build/phpunit.xml.dist --coverage-html=coverage_result
'';
};

Expand Down Expand Up @@ -133,13 +145,13 @@ in pkgs.mkShellNoCC {
php
composer
projectInstall
projectPhpstan
projectCgl
projectCglFix
projectLint
projectPhpstan
projectTestUnit
projectTestFunctional
projectTestWithCoverage
projectTestAcceptance
];

Expand Down