diff options
Diffstat (limited to 'php-bartlett-PHP-CompatInfo-7.0.0-php83.patch')
-rw-r--r-- | php-bartlett-PHP-CompatInfo-7.0.0-php83.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch b/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch deleted file mode 100644 index 443555c..0000000 --- a/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch +++ /dev/null @@ -1,57 +0,0 @@ -From bc069b672d65748fdc257e23c667310946e7837e Mon Sep 17 00:00:00 2001 -From: Laurent Laville <laurent.laville@gmail.com> -Date: Thu, 2 Nov 2023 06:52:05 +0000 -Subject: [PATCH] initialize PHP 8.3 support - ---- - composer.json | 2 +- - config/set/php83.php | 18 ++++++++++++++++++ - config/set/up-to-php83.php | 14 ++++++++++++++ - 3 files changed, 33 insertions(+), 1 deletion(-) - create mode 100644 config/set/php83.php - create mode 100644 config/set/up-to-php83.php - -diff --git a/config/set/php83.php b/config/set/php83.php -new file mode 100644 -index 00000000..32531fb1 ---- /dev/null -+++ b/config/set/php83.php -@@ -0,0 +1,18 @@ -+<?php declare(strict_types=1); -+/** -+ * This file is part of the PHP_CompatInfo package. -+ * -+ * For the full copyright and license information, please view the LICENSE -+ * file that was distributed with this source code. -+ */ -+ -+use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -+ -+/** -+ * Build the Container with PHP 8.3 features detection -+ * -+ * @author Laurent Laville -+ * @since Release 8.0.0 -+ */ -+return static function (ContainerConfigurator $containerConfigurator): void { -+}; -diff --git a/config/set/up-to-php83.php b/config/set/up-to-php83.php -new file mode 100644 -index 00000000..8a496337 ---- /dev/null -+++ b/config/set/up-to-php83.php -@@ -0,0 +1,14 @@ -+<?php declare(strict_types=1); -+/** -+ * Build the Container with PHP features detection up to version 8.3 -+ * -+ * @author Laurent Laville -+ * @since Release 8.0.0 -+ */ -+ -+use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -+ -+return static function (ContainerConfigurator $containerConfigurator): void { -+ $containerConfigurator->import(__DIR__ . '/up-to-php82.php'); -+ $containerConfigurator->import(__DIR__ . '/php83.php'); -+}; |