summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-CompatInfo-7.0.0-php83.patch
blob: 443555ceebb6a99111c91670df837806e1641fb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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');
+};