Skip to content

Commit 032c678

Browse files
committed
[TASK] Add support for TYPO3 v11 and PHP 8.0
1 parent 30c7f3f commit 032c678

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Provides services for querying Google Maps GeoCoding API v3 in your own extensions.
44

55
* Extension Key: geocoding
6-
* Author: Benjamin Mack, b13 GmbH, 2012-2020
6+
* Author: Benjamin Mack, b13 GmbH, 2012-2021
77
* Licensed under: GPLv2+
88
* Requires TYPO3 8.7+ and PHP 7.2 (see older versions of EXT:geocoding for support for previous TYPO3 versions)
9-
* All code can be found and developed on github: https://github.com/b13/t3ext-geocoding/
9+
* All code can be found and developed on github: https://github.com/b13/geocoding/
1010

1111
## Introduction
1212
This extension provides an abstract way to get geo coordinates of addresses around the world. "Geocoding" let's you fetch information about an address and stores it in the DB, by using the TYPO3 Caching Framework to store the queries and results.

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"license": "GPL-2.0-or-later",
77
"keywords": ["TYPO3 CMS", "TYPO3", "Google Geocoding"],
88
"require": {
9-
"php": "^7.2",
10-
"typo3/cms-core": "^8.7.0 || <11.0"
9+
"php": "^7.2 || ^8.0",
10+
"typo3/cms-core": "^8.7 || ^9.5 || ^10.0 || ^11.0"
1111
},
1212
"require-dev": {
1313
"friendsofphp/php-cs-fixer": "^2.1"
@@ -24,5 +24,8 @@
2424
"psr-4": {
2525
"B13\\Geocoding\\": "Classes/"
2626
}
27+
},
28+
"config": {
29+
"sort-packages": true
2730
}
2831
}

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
'version' => '4.1.0',
2727
'constraints' => [
2828
'depends' => [
29-
'typo3' => '8.7.0-10.4.99',
29+
'typo3' => '8.7.0-11.5.99',
3030
],
3131
'conflicts' => [
3232
],

ext_localconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
defined('TYPO3_MODE') or die();
33

44
// Define state cache, if not already defined
5-
if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['geocoding'])) {
5+
if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['geocoding'] ?? false)) {
66
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['geocoding'] = [
77
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
88
'backend' => \TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend::class,

0 commit comments

Comments
 (0)