Skip to content

Commit

Permalink
Allow TYPo3 v13 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Nov 20, 2024
1 parent d38efb2 commit c5febc2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 47 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
matrix:
php: ["8.1", "8.2", "8.3"]
typo3: ["^12.4", "^13.4"]
exclude:
- php: "8.1"
typo3: "^13.4"
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
7 changes: 7 additions & 0 deletions Tests/Unit/Handler/JsonDetectionHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ public function testInvalidPath(): void
* @covers \Lochmueller\LanguageDetection\Handler\JsonDetectionHandler
* @covers \Lochmueller\LanguageDetection\Negotiation\DefaultNegotiation
* @covers \Lochmueller\LanguageDetection\Response\DefaultResponse
* @covers \Lochmueller\LanguageDetection\Detect\MaxMindDetect
* @covers \Lochmueller\LanguageDetection\Domain\Collection\LocaleCollection
* @covers \Lochmueller\LanguageDetection\Domain\Model\Dto\LocaleValueObject
* @covers \Lochmueller\LanguageDetection\Event\NegotiateSiteLanguageEvent
* @covers \Lochmueller\LanguageDetection\Service\LanguageService
* @covers \Lochmueller\LanguageDetection\Service\LocaleCollectionSortService
* @covers \Lochmueller\LanguageDetection\Service\Normalizer
* @see https://github.com/lochmueller/language_detection/issues/34
*/
public function testIssue34ResultOfHeaderAndMaxmindUsMatchLanguages(): void
Expand Down
6 changes: 1 addition & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@
"typo3/testing-framework": "^8.2",
"friendsofphp/php-cs-fixer": "^3.11",
"phpstan/phpstan": "^1.8",
"infection/infection": "^0.26",
"infection/infection": "^0.29",
"qossmic/deptrac-shim": "^0.24||^1.0",
"geoip2/geoip2": "^2.13",
"ssch/typo3-rector": "^2.10",
"phpstan/extension-installer": "^1.2"
},
"optimize-autoloader": true,
Expand Down Expand Up @@ -72,9 +71,6 @@
"@code:php-cs-fixer",
"@code:phpstan"
],
"code:rector": [
"rector"
],
"code:deptrac": [
"deptrac"
],
Expand Down
42 changes: 0 additions & 42 deletions rector.php

This file was deleted.

0 comments on commit c5febc2

Please sign in to comment.