aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/symfony/polyfill-php80
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/polyfill-php80')
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php6
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php6
2 files changed, 8 insertions, 4 deletions
diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php b/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php
index 7fb2000e9..37937cbfa 100644
--- a/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php
+++ b/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php
@@ -1,5 +1,7 @@
<?php
-class UnhandledMatchError extends Error
-{
+if (\PHP_VERSION_ID < 80000) {
+ class UnhandledMatchError extends Error
+ {
+ }
}
diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php b/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
index 99843cad3..a3a9b88b0 100644
--- a/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
+++ b/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
@@ -1,5 +1,7 @@
<?php
-class ValueError extends Error
-{
+if (\PHP_VERSION_ID < 80000) {
+ class ValueError extends Error
+ {
+ }
}