Skip to content

Commit

Permalink
Cleanup for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Jan 27, 2025
1 parent 14fd9ed commit a69d76f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 69 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.1", "8.2", "8.3"]
typo3: ["12.4", "13.4"]
php: [ '8.1', '8.2', '8.3', '8.4' ]
typo3: [ '12', '13' ]
exclude:
- php: '8.1'
typo3: '13'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
53 changes: 0 additions & 53 deletions Classes/Xclass/WorkspaceRemoteServer.php

This file was deleted.

12 changes: 5 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@
},
"require-dev": {
"typo3/testing-framework": "^8.0",
"typo3/cms-core": "^12.4||^13.4",
"typo3/cms-install": "^12.4||^13.4",
"typo3/cms-workspaces": "^12.4||^13.4",
"typo3/cms-dashboard": "^12.4||^13.4",
"friendsofphp/php-cs-fixer": "^3.0",
"phpmd/phpmd": "^2.4",
"phpstan/phpstan": "^2.0",
"qossmic/deptrac-shim": "^0.24||^1.0"
"phpstan/phpstan": "^2.0"
},
"config": {
"vendor-dir": ".Build/vendor",
Expand Down Expand Up @@ -90,8 +92,7 @@
"code-check": [
"@tool:php-cs-fixer-check",
"@tool:phpunit",
"@tool:phpstan",
"@tool:deptrac"
"@tool:phpstan"
],
"tool:php-cs-fixer": [
"PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --config Resources/Private/Build/PhpCsFixer.php"
Expand All @@ -113,9 +114,6 @@
],
"tool:phpstan": [
"phpstan analyse -c phpstan.neon --memory-limit=1G"
],
"tool:deptrac": [
"deptrac"
]
}
}
7 changes: 0 additions & 7 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
use HDNET\Calendarize\Register;
use HDNET\Calendarize\Typolink\DatabaseRecordLinkBuilder;
use HDNET\Calendarize\Utility\ConfigurationUtility;
use HDNET\Calendarize\Xclass\WorkspaceRemoteServer;
use TYPO3\CMS\Core\Information\Typo3Version;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
Expand Down Expand Up @@ -195,10 +194,4 @@
@import \'EXT:calendarize/Configuration/page.tsconfig\'
');
}

if (ExtensionManagementUtility::isLoaded('workspaces')) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][RemoteServer::class] = [
'className' => WorkspaceRemoteServer::class,
];
}
})();

0 comments on commit a69d76f

Please sign in to comment.