diff --git a/.github/workflows/ter-release.yml b/.github/workflows/ter-release.yml index b8c74ce..839f30e 100644 --- a/.github/workflows/ter-release.yml +++ b/.github/workflows/ter-release.yml @@ -24,7 +24,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.1' extensions: intl, mbstring, xml, soap, zip, curl - name: Install EXT:tailor diff --git a/Classes/Controller/ProfileController.php b/Classes/Controller/ProfileController.php index 93d1268..ac83a1f 100644 --- a/Classes/Controller/ProfileController.php +++ b/Classes/Controller/ProfileController.php @@ -2,6 +2,7 @@ declare(strict_types=1); namespace In2code\Instagram\Controller; +use Psr\Http\Message\ResponseInterface; use In2code\Instagram\Domain\Repository\FeedRepository; use In2code\Instagram\Domain\Repository\TokenRepository; use TYPO3\CMS\Extbase\Mvc\Controller\ActionController; @@ -35,7 +36,7 @@ public function __construct(FeedRepository $feedRepository, TokenRepository $tok /** * @return void */ - public function showAction() + public function showAction(): ResponseInterface { $feed = $this->feedRepository->findDataByUsername((string)$this->settings['username']); $this->view->assignMultiple([ @@ -43,5 +44,6 @@ public function showAction() 'feed' => $feed, 'token' => $this->tokenRepository->findValidTokenByUsername((string)$this->settings['username']) ]); + return $this->htmlResponse(); } } diff --git a/Configuration/TCA/Overrides/sys_template.php b/Configuration/TCA/Overrides/sys_template.php index 915b4cc..60175f9 100644 --- a/Configuration/TCA/Overrides/sys_template.php +++ b/Configuration/TCA/Overrides/sys_template.php @@ -1,5 +1,5 @@ 'stable', 'constraints' => [ 'depends' => [ - 'typo3' => '10.4.0-11.5.99', - 'php' => '7.2.0-7.99.99' + 'typo3' => '11.5.0-11.5.99', + 'php' => '7.2.0-8.1.99' ], 'conflicts' => [], 'suggests' => [], diff --git a/ext_localconf.php b/ext_localconf.php index 30985d5..ea4145b 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -1,6 +1,5 @@