<?php

/*
 * Copyright (c) 2025-2026 Netresearch DTT GmbH
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

/**
 * Extension Manager configuration for rte_ckeditor_image.
 *
 * IMPORTANT: Do NOT add a strict-types declaration here!
 * TER (TYPO3 Extension Repository) cannot parse ext_emconf.php with it enabled.
 */

$EM_CONF[$_EXTKEY] = [
    'title'          => 'CKEditor Rich Text Editor Image Support',
    'description'    => 'Adds FAL image support to CKEditor for TYPO3 - by Netresearch.',
    'category'       => 'be',
    'author'         => 'Sebastian Koschel, Sebastian Mendel, Rico Sonntag',
    'author_email'   => 'sebastian.koschel@netresearch.de, sebastian.mendel@netresearch.de, rico.sonntag@netresearch.de',
    'author_company' => 'Netresearch DTT GmbH',
    'state'          => 'stable',
    'version'        => '13.9.1',
    'constraints'    => [
        'depends' => [
            // ext_emconf does not support disjoint ranges. The supported
            // configuration is v13.4 LTS (>=13.4.21) and v14.3 LTS;
            // unmaintained pre-LTS v14.0/v14.1/v14.2 are technically
            // accepted by this range but not officially supported. The
            // composer.json constraint (^13.4.21 || ^14.3) is the
            // authoritative source for supported versions.
            'php'          => '8.2.0-8.9.99',
            'typo3'        => '13.4.21-14.99.99',
            'rte_ckeditor' => '13.4.21-14.99.99',
        ],
        'conflicts' => [],
        'suggests'  => [
            'setup' => '',
        ],
    ],
];
