File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 - 8.2
1919 - 8.3
2020 - 8.4
21+ - 8.5
2122 steps :
2223 - name : Checkout
2324 uses : actions/checkout@v4
7576 typo3-version : ' ^13.4'
7677 - php-version : ' 8.4'
7778 typo3-version : ' ^13.4'
79+ - php-version : ' 8.5'
80+ typo3-version : ' ^13.4'
7881 steps :
7982 - uses : actions/checkout@v4
8083
@@ -115,6 +118,9 @@ jobs:
115118 - name : Run Unit Tests PHP8.4
116119 run : nix-shell --arg phpVersion \"php84\" --pure --run project-test-unit
117120
121+ - name : Run Unit Tests PHP8.5
122+ run : nix-shell --arg phpVersion \"php85\" --pure --run project-test-unit
123+
118124 - name : Run Functional Tests PHP8.2
119125 run : nix-shell --arg phpVersion \"php82\" --pure --run project-test-functional
120126
@@ -124,6 +130,9 @@ jobs:
124130 - name : Run Functional Tests PHP8.4
125131 run : nix-shell --arg phpVersion \"php84\" --pure --run project-test-functional
126132
133+ - name : Run Functional Tests PHP8.5
134+ run : nix-shell --arg phpVersion \"php85\" --pure --run project-test-functional
135+
127136 test-acceptance :
128137 runs-on : ubuntu-latest
129138 needs :
@@ -143,3 +152,6 @@ jobs:
143152
144153 - name : Run Acceptance Tests PHP8.4
145154 run : nix-shell --arg phpVersion \"php84\" --pure --run project-test-acceptance
155+
156+ - name : Run Acceptance Tests PHP8.5
157+ run : nix-shell --arg phpVersion \"php85\" --pure --run project-test-acceptance
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22<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" >
33 <coverage />
44 <testsuites >
5- <testsuite name =" Cart Products Extension " >
5+ <testsuite name =" functional " >
66 <directory >../Tests/Functional/</directory >
77 </testsuite >
8+ <testsuite name =" unit" >
9+ <directory >../Tests/Unit/</directory >
10+ </testsuite >
811 </testsuites >
912 <source >
1013 <include >
Original file line number Diff line number Diff line change 1111 interlink-shortcode =" extcode/cart_products"
1212 />
1313 <project title =" Cart Products"
14- release =" 7.2 .0"
15- version =" 7.2 "
14+ release =" 7.3 .0"
15+ version =" 7.3 "
1616 copyright =" 2018 - 2025"
1717 />
1818 <inventory id =" t3tsref" url =" https://docs.typo3.org/typo3cms/TyposcriptReference/" />
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Sometimes minor versions also result in minor adjustments to own templates or co
3636
3737| Cart Products | TYPO3 | PHP | Support/Development |
3838| ---------------| ------------| -----------| --------------------------------------|
39- | 7.x.x | 13.2 | 8.2 - 8.4 | Features, Bugfixes, Security Updates |
39+ | 7.x.x | 13.2 | 8.2 - 8.5 | Features, Bugfixes, Security Updates |
4040| 6.x.x | 12.4 | 8.1+ | Bugfixes, Security Updates |
4141| 5.x.x | 12.4 | 8.1+ | Security Updates |
4242| 4.x.x | 10.4, 11.5 | 7.2+ | Security Updates |
Original file line number Diff line number Diff line change 4646 }
4747 },
4848 "require" : {
49- "php" : " ~8.2.0 || ~8.3.0 || ~8.4.0" ,
49+ "php" : " ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 " ,
5050 "ext-pdo" : " *" ,
5151 "extcode/cart" : " ^11.0" ,
5252 "typo3/cms-core" : " ^13.4" ,
7979 " find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l"
8080 ],
8181 "test:php:unit" : [
82- " vendor/bin/phpunit -c Build/UnitTests .xml"
82+ " vendor/bin/phpunit -c Build/phpunit .xml.dist --testsuite unit --display-warnings --display-deprecations --display-errors "
8383 ],
8484 "test:php:functional" : [
85- " typo3DatabaseDriver=\" pdo_sqlite\" vendor/bin/phpunit -c Build/FunctionalTests .xml"
85+ " typo3DatabaseDriver=\" pdo_sqlite\" vendor/bin/phpunit -c Build/phpunit .xml.dist --testsuite functional --display-warnings --display-deprecations --display-errors "
8686 ],
8787 "test:phpstan:analyse" : [
8888 " vendor/bin/phpstan analyse -c Build/phpstan.neon --memory-limit 256M"
Original file line number Diff line number Diff line change 44 'title ' => 'Cart - Products ' ,
55 'description ' => 'Shopping Cart(s) for TYPO3 - Products ' ,
66 'category ' => 'plugin ' ,
7- 'version ' => '7.2 .0 ' ,
7+ 'version ' => '7.3 .0 ' ,
88 'state ' => 'stable ' ,
99 'author ' => 'Daniel Gohlke ' ,
1010 'author_email ' => 'ext@extco.de ' ,
Original file line number Diff line number Diff line change 8484 ] ;
8585 text = ''
8686 project-install
87- ./vendor/bin/phpunit -c Build/UnitTests .xml --display-deprecations --display-warnings
87+ ./vendor/bin/phpunit -c Build/phpunit .xml.dist --testsuite unit -- display-warnings --display- deprecations --display-errors
8888 '' ;
8989 } ;
9090
9696 ] ;
9797 text = ''
9898 project-install
99- ./vendor/bin/phpunit -c Build/FunctionalTests.xml --display-deprecations --display-warnings
99+ ./vendor/bin/phpunit -c Build/phpunit.xml.dist --testsuite functional --display-warnings --display-deprecations --display-errors
100+ '' ;
101+ } ;
102+
103+ projectTestWithCoverage = pkgs . writeShellApplication {
104+ name = "project-test-with-coverage" ;
105+ runtimeInputs = [
106+ php
107+ projectInstall
108+ ] ;
109+ text = ''
110+ project-install
111+ XDEBUG_MODE=coverage ./vendor/bin/phpunit -c Build/phpunit.xml.dist --coverage-html=coverage_result
100112 '' ;
101113 } ;
102114
@@ -133,13 +145,13 @@ in pkgs.mkShellNoCC {
133145 php
134146 composer
135147 projectInstall
136- projectPhpstan
137148 projectCgl
138149 projectCglFix
139150 projectLint
140151 projectPhpstan
141152 projectTestUnit
142153 projectTestFunctional
154+ projectTestWithCoverage
143155 projectTestAcceptance
144156 ] ;
145157
You can’t perform that action at this time.
0 commit comments