diff options
author | Remi Collet <remi@remirepo.net> | 2020-10-20 08:05:09 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-10-20 08:05:09 +0200 |
commit | 5a8a6069f98de3d52376af0cea123182ee4f6c05 (patch) | |
tree | 7d9314ab056c4c81e1938e89a50ded8e70e51435 /12.patch | |
parent | febd36f5b575805440b442b584f76c8c251bd9a8 (diff) |
update to 1.2.1
re-add dependency on phpunitgoodpractices/polyfill
Diffstat (limited to '12.patch')
-rw-r--r-- | 12.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/12.patch b/12.patch deleted file mode 100644 index 5235bfa..0000000 --- a/12.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 9d351061fdc28a58e5a75effd4879c4e556585d2 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Tue, 13 Oct 2020 08:35:27 +0200 -Subject: [PATCH] fix for PHPUnit 5 - ---- - src/Constraint/XmlMatchesXsd.php | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/Constraint/XmlMatchesXsd.php b/src/Constraint/XmlMatchesXsd.php -index f981ab5..e9e6490 100644 ---- a/src/Constraint/XmlMatchesXsd.php -+++ b/src/Constraint/XmlMatchesXsd.php -@@ -12,7 +12,8 @@ - - namespace PhpCsFixer\PhpunitConstraintXmlMatchesXsd\Constraint; - --if (version_compare(\PHPUnit\Runner\Version::id(), '7.0.0') < 0) { -+if (!class_exists('\PHPUnit\Runner\Version') -+ || version_compare(\PHPUnit\Runner\Version::id(), '7.0.0') < 0) { - class_alias(XmlMatchesXsdForV5::class, XmlMatchesXsd::class); - } elseif (version_compare(\PHPUnit\Runner\Version::id(), '8.0.0') < 0) { - class_alias(XmlMatchesXsdForV7::class, XmlMatchesXsd::class); |