Skip to content

Commit

Permalink
Merge pull request #10 from visuellverstehen/update-for-v12
Browse files Browse the repository at this point in the history
Update for v12
  • Loading branch information
timonschoenfeld authored Feb 6, 2024
2 parents 1b05441 + 84b69c9 commit ce8ec92
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v1

- name: Set up PHP Version
run: sudo update-alternatives --set php /usr/bin/php8.0
run: sudo update-alternatives --set php /usr/bin/php8.1

- name: Install requirements
run: composer global require --dev friendsofphp/php-cs-fixer
Expand Down
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types = 1);

defined('TYPO3_MODE') or die();
defined('TYPO3') or defined('TYPO3_MODE') or die();

use TYPO3\CMS\Extbase\Utility\ExtensionUtility;

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"description": "Extension to use Meilisearch as search.",
"type": "typo3-cms-extension",
"require": {
"typo3/cms-core": "^10.4 || ^11.5",
"typo3/cms-core": "^10.4 || ^11.5 || ^12.4",
"meilisearch/meilisearch-php": "^0.24",
"spatie/pdf-to-text": "^1.5"
"spatie/pdf-to-text": "^1.52"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use VV\T3meilisearch\Controller\SearchController;
use VV\T3meilisearch\Service\IndexService;

defined('TYPO3') or die();
defined('TYPO3') or defined('TYPO3_MODE') or die();

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-cached']['t3meilisearch']
= IndexService::class . '->indexPageContent';
Expand Down

0 comments on commit ce8ec92

Please sign in to comment.