Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
branches:
- main
- v4
- php85
- typo3-v14
pull_request:
permissions:
contents: read
Expand Down Expand Up @@ -35,6 +37,7 @@ jobs:
- "8.2"
- "8.3"
- "8.4"
- "8.5"
code-quality:
name: "Code quality checks"
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -74,6 +77,7 @@ jobs:
- "8.2"
- "8.3"
- "8.4"
- "8.5"
unit-tests:
name: "Unit tests"
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -123,6 +127,9 @@ jobs:
- typo3-version: "^13.4"
php-version: "8.4"
composer-dependencies: highest
- typo3-version: "^13.4"
php-version: "8.5"
composer-dependencies: highest
functional-tests:
name: "Functional tests"
runs-on: ubuntu-22.04
Expand All @@ -132,7 +139,7 @@ jobs:
# rest matrix jobs be executed anyway.
fail-fast: false
matrix:
php: [ '8.2', '8.3', '8.4' ]
php: [ '8.2', '8.3', '8.4', '8.5' ]
composerInstall: [ 'composerInstallHighest' ]
steps:
- name: Checkout
Expand Down
5 changes: 3 additions & 2 deletions Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,15 @@ Options:
- 12.4: use TYPO3 v12
- 13.4: use TYPO3 v13

-p <7.4|8.0|8.1|8.2|8.3|8.4>
-p <7.4|8.0|8.1|8.2|8.3|8.5>
Specifies the PHP minor version to be used
- 7.4: use PHP 7.4 (default)
- 8.0: use PHP 8.0
- 8.1: use PHP 8.1
- 8.2: use PHP 8.2
- 8.3: use PHP 8.3
- 8.4: use PHP 8.4
- 8.5: use PHP 8.5

-e "<phpunit options>"
Only with -s docsGenerate|functional|unit
Expand Down Expand Up @@ -363,7 +364,7 @@ while getopts "a:b:s:d:i:p:e:t:xy:nhu" OPT; do
;;
p)
PHP_VERSION=${OPTARG}
if ! [[ ${PHP_VERSION} =~ ^(7.4|8.0|8.1|8.2|8.3|8.4)$ ]]; then
if ! [[ ${PHP_VERSION} =~ ^(7.4|8.0|8.1|8.2|8.3|8.4|8.5)$ ]]; then
INVALID_OPTIONS+=("-p ${OPTARG}")
fi
;;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Repository/FileRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ protected function getPageTreeIds(int $id, int $depth, int $begin): array
)
)
->executeQuery();
$rows = $result->fetchAssociative();
$rows = $result->fetchAllAssociative();

$pageIds = [];
foreach ($rows as $row) {
Expand Down
2 changes: 1 addition & 1 deletion Classes/Service/Validator/AbstractVideoValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public function isVideoOnline($mediaId): bool
$this->getOEmbedUrl($mediaId)
);

return is_string($oEmbed) ?? false;
return is_string($oEmbed);
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ you can take care of the corresponding corrections.

| Version | TYPO3 | PHP | Support / Development |
|---------|-------------|-----------|--------------------------------------|
| 4.x | 13.x | 8.2 - 8.4 | features, bugfixes, security updates |
| 4.x | 13.x | 8.2 - 8.5 | features, bugfixes, security updates |
| 3.x | 12.x | 8.1 - 8.4 | bugfixes, security updates |
| 2.x | 10.x - 11.x | 7.4 - 8.0 | bugfixes, security updates |

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ayacoo/video-validator",
"type": "typo3-cms-extension",
"version": "4.1.2",
"version": "4.1.3",
"description": "Checks online videos in TYPO3 for availability",
"homepage": "https://www.ayacoo.de",
"authors": [
Expand All @@ -18,7 +18,7 @@
"GPL-2.0-or-later"
],
"require": {
"php": ">=8.2 < 8.5",
"php": ">=8.2 < 8.6",
"typo3/cms-core": "^13.4"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
'state' => 'stable',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '4.1.2',
'version' => '4.1.3',
'constraints' => [
'depends' => [
'php' => '8.2.0-8.4.99',
'php' => '8.2.0-8.5.99',
'typo3' => '13.0.0-13.4.99',
],
'conflicts' => [
Expand Down