[Pkg-owncloud-commits] [php-sabre-vobject] 01/04: PHPUnit's units of code are now namespaced (Closes: #882916)

Mathieu Parent sathieu at moszumanska.debian.org
Sat Dec 9 14:16:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

sathieu pushed a commit to branch 2.1
in repository php-sabre-vobject.

commit 2d154d27d7afe5d4012a7fc70937ddc0b798da9e
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Sat Dec 9 14:46:06 2017 +0100

    PHPUnit's units of code are now namespaced (Closes: #882916)
    
    See https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-6.0.0#backwards-compatibility-issues
---
 ...HPUnit-s-units-of-code-are-now-namespaced.patch | 500 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 2 files changed, 501 insertions(+)

diff --git a/debian/patches/0003-PHPUnit-s-units-of-code-are-now-namespaced.patch b/debian/patches/0003-PHPUnit-s-units-of-code-are-now-namespaced.patch
new file mode 100644
index 0000000..5851298
--- /dev/null
+++ b/debian/patches/0003-PHPUnit-s-units-of-code-are-now-namespaced.patch
@@ -0,0 +1,500 @@
+From: Mathieu Parent <math.parent at gmail.com>
+Date: Sat, 9 Dec 2017 14:43:52 +0100
+Subject: PHPUnit's units of code are now namespaced
+
+See https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-6.0.0#backwards-compatibility-issues
+
+Bug-Debian: https://bugs.debian.org/882916
+---
+ tests/Sabre/VObject/Component/VAlarmTest.php                      | 2 +-
+ tests/Sabre/VObject/Component/VCalendarTest.php                   | 2 +-
+ tests/Sabre/VObject/Component/VCardTest.php                       | 2 +-
+ tests/Sabre/VObject/Component/VEventTest.php                      | 2 +-
+ tests/Sabre/VObject/Component/VFreeBusyTest.php                   | 2 +-
+ tests/Sabre/VObject/Component/VJournalTest.php                    | 2 +-
+ tests/Sabre/VObject/Component/VTodoTest.php                       | 2 +-
+ tests/Sabre/VObject/ComponentTest.php                             | 2 +-
+ tests/Sabre/VObject/DateTimeParserTest.php                        | 2 +-
+ tests/Sabre/VObject/DocumentTest.php                              | 2 +-
+ tests/Sabre/VObject/ElementListTest.php                           | 2 +-
+ tests/Sabre/VObject/EmClientTest.php                              | 2 +-
+ tests/Sabre/VObject/FreeBusyGeneratorTest.php                     | 2 +-
+ tests/Sabre/VObject/Issue153Test.php                              | 2 +-
+ tests/Sabre/VObject/Issue154Test.php                              | 2 +-
+ tests/Sabre/VObject/Issue48Test.php                               | 2 +-
+ tests/Sabre/VObject/Issue50Test.php                               | 2 +-
+ tests/Sabre/VObject/ParameterTest.php                             | 2 +-
+ tests/Sabre/VObject/Property/CompoundTest.php                     | 2 +-
+ tests/Sabre/VObject/Property/DateTimeTest.php                     | 2 +-
+ tests/Sabre/VObject/Property/MultiDateTimeTest.php                | 2 +-
+ tests/Sabre/VObject/PropertyTest.php                              | 2 +-
+ tests/Sabre/VObject/ReaderTest.php                                | 2 +-
+ tests/Sabre/VObject/RecurrenceIteratorFifthTuesdayProblemTest.php | 2 +-
+ tests/Sabre/VObject/RecurrenceIteratorIncorrectExpandTest.php     | 2 +-
+ tests/Sabre/VObject/RecurrenceIteratorInfiniteLoopProblemTest.php | 2 +-
+ tests/Sabre/VObject/RecurrenceIteratorMinusOneProblemTest.php     | 2 +-
+ tests/Sabre/VObject/RecurrenceIteratorMissingOverriddenTest.php   | 2 +-
+ tests/Sabre/VObject/RecurrenceIteratorTest.php                    | 2 +-
+ tests/Sabre/VObject/SlashRTest.php                                | 2 +-
+ tests/Sabre/VObject/Splitter/ICalendarTest.php                    | 2 +-
+ tests/Sabre/VObject/Splitter/VCardTest.php                        | 2 +-
+ tests/Sabre/VObject/StringUtilTest.php                            | 2 +-
+ tests/Sabre/VObject/TimeZoneUtilTest.php                          | 2 +-
+ tests/Sabre/VObject/VersionTest.php                               | 2 +-
+ 35 files changed, 35 insertions(+), 35 deletions(-)
+
+diff --git a/tests/Sabre/VObject/Component/VAlarmTest.php b/tests/Sabre/VObject/Component/VAlarmTest.php
+index d57be7a..22280d3 100644
+--- a/tests/Sabre/VObject/Component/VAlarmTest.php
++++ b/tests/Sabre/VObject/Component/VAlarmTest.php
+@@ -6,7 +6,7 @@ use Sabre\VObject\Component;
+ use DateTime;
+ use Sabre\VObject\Reader;
+ 
+-class VAlarmTest extends \PHPUnit_Framework_TestCase {
++class VAlarmTest extends \PHPUnit\Framework\TestCase {
+ 
+     /**
+      * @dataProvider timeRangeTestData
+diff --git a/tests/Sabre/VObject/Component/VCalendarTest.php b/tests/Sabre/VObject/Component/VCalendarTest.php
+index 1d7e0c6..62eb722 100644
+--- a/tests/Sabre/VObject/Component/VCalendarTest.php
++++ b/tests/Sabre/VObject/Component/VCalendarTest.php
+@@ -4,7 +4,7 @@ namespace Sabre\VObject\Component;
+ 
+ use Sabre\VObject;
+ 
+-class VCalendarTest extends \PHPUnit_Framework_TestCase {
++class VCalendarTest extends \PHPUnit\Framework\TestCase {
+ 
+     /**
+      * @dataProvider expandData
+diff --git a/tests/Sabre/VObject/Component/VCardTest.php b/tests/Sabre/VObject/Component/VCardTest.php
+index 584a007..59c86e5 100644
+--- a/tests/Sabre/VObject/Component/VCardTest.php
++++ b/tests/Sabre/VObject/Component/VCardTest.php
+@@ -4,7 +4,7 @@ namespace Sabre\VObject\Component;
+ 
+ use Sabre\VObject;
+ 
+-class VCardTest extends \PHPUnit_Framework_TestCase {
++class VCardTest extends \PHPUnit\Framework\TestCase {
+ 
+     /**
+      * @dataProvider validateData
+diff --git a/tests/Sabre/VObject/Component/VEventTest.php b/tests/Sabre/VObject/Component/VEventTest.php
+index 616da4a..95460cc 100644
+--- a/tests/Sabre/VObject/Component/VEventTest.php
++++ b/tests/Sabre/VObject/Component/VEventTest.php
+@@ -4,7 +4,7 @@ namespace Sabre\VObject\Component;
+ 
+ use Sabre\VObject;
+ 
+-class VEventTest extends \PHPUnit_Framework_TestCase {
++class VEventTest extends \PHPUnit\Framework\TestCase {
+ 
+     /**
+      * @dataProvider timeRangeTestData
+diff --git a/tests/Sabre/VObject/Component/VFreeBusyTest.php b/tests/Sabre/VObject/Component/VFreeBusyTest.php
+index 031c3c6..600459c 100644
+--- a/tests/Sabre/VObject/Component/VFreeBusyTest.php
++++ b/tests/Sabre/VObject/Component/VFreeBusyTest.php
+@@ -3,7 +3,7 @@
+ namespace Sabre\VObject\Component;
+ use Sabre\VObject;
+ 
+-class VFreeBusyTest extends \PHPUnit_Framework_TestCase {
++class VFreeBusyTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testIsFree() {
+ 
+diff --git a/tests/Sabre/VObject/Component/VJournalTest.php b/tests/Sabre/VObject/Component/VJournalTest.php
+index 46ecb99..5494dea 100644
+--- a/tests/Sabre/VObject/Component/VJournalTest.php
++++ b/tests/Sabre/VObject/Component/VJournalTest.php
+@@ -4,7 +4,7 @@ namespace Sabre\VObject\Component;
+ 
+ use Sabre\VObject\Component;
+ 
+-class VJournalTest extends \PHPUnit_Framework_TestCase {
++class VJournalTest extends \PHPUnit\Framework\TestCase {
+ 
+     /**
+      * @dataProvider timeRangeTestData
+diff --git a/tests/Sabre/VObject/Component/VTodoTest.php b/tests/Sabre/VObject/Component/VTodoTest.php
+index a84da5c..a9bca3e 100644
+--- a/tests/Sabre/VObject/Component/VTodoTest.php
++++ b/tests/Sabre/VObject/Component/VTodoTest.php
+@@ -4,7 +4,7 @@ namespace Sabre\VObject\Component;
+ 
+ use Sabre\VObject\Component;
+ 
+-class VTodoTest extends \PHPUnit_Framework_TestCase {
++class VTodoTest extends \PHPUnit\Framework\TestCase {
+ 
+     /**
+      * @dataProvider timeRangeTestData
+diff --git a/tests/Sabre/VObject/ComponentTest.php b/tests/Sabre/VObject/ComponentTest.php
+index 07000bd..4de1d6e 100644
+--- a/tests/Sabre/VObject/ComponentTest.php
++++ b/tests/Sabre/VObject/ComponentTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class ComponentTest extends \PHPUnit_Framework_TestCase {
++class ComponentTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testIterate() {
+ 
+diff --git a/tests/Sabre/VObject/DateTimeParserTest.php b/tests/Sabre/VObject/DateTimeParserTest.php
+index 6ea2fae..19e9902 100644
+--- a/tests/Sabre/VObject/DateTimeParserTest.php
++++ b/tests/Sabre/VObject/DateTimeParserTest.php
+@@ -6,7 +6,7 @@ use DateTime;
+ use DateTimeZone;
+ use DateInterval;
+ 
+-class DateTimeParserTest extends \PHPUnit_Framework_TestCase {
++class DateTimeParserTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testParseICalendarDuration() {
+ 
+diff --git a/tests/Sabre/VObject/DocumentTest.php b/tests/Sabre/VObject/DocumentTest.php
+index 5fd2a2a..30ae90a 100644
+--- a/tests/Sabre/VObject/DocumentTest.php
++++ b/tests/Sabre/VObject/DocumentTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class DocumentTest extends \PHPUnit_Framework_TestCase {
++class DocumentTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testCreateComponent() {
+ 
+diff --git a/tests/Sabre/VObject/ElementListTest.php b/tests/Sabre/VObject/ElementListTest.php
+index 84e1bcb..7568700 100644
+--- a/tests/Sabre/VObject/ElementListTest.php
++++ b/tests/Sabre/VObject/ElementListTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class ElementListTest extends \PHPUnit_Framework_TestCase {
++class ElementListTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testIterate() {
+ 
+diff --git a/tests/Sabre/VObject/EmClientTest.php b/tests/Sabre/VObject/EmClientTest.php
+index 69d410f..e770e9e 100644
+--- a/tests/Sabre/VObject/EmClientTest.php
++++ b/tests/Sabre/VObject/EmClientTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class EmClientTest extends \PHPUnit_Framework_TestCase {
++class EmClientTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testParseTz() {
+ 
+diff --git a/tests/Sabre/VObject/FreeBusyGeneratorTest.php b/tests/Sabre/VObject/FreeBusyGeneratorTest.php
+index 1f79e0a..8f6e16e 100644
+--- a/tests/Sabre/VObject/FreeBusyGeneratorTest.php
++++ b/tests/Sabre/VObject/FreeBusyGeneratorTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class FreeBusyGeneratorTest extends \PHPUnit_Framework_TestCase {
++class FreeBusyGeneratorTest extends \PHPUnit\Framework\TestCase {
+ 
+     function getInput() {
+ 
+diff --git a/tests/Sabre/VObject/Issue153Test.php b/tests/Sabre/VObject/Issue153Test.php
+index 1cc14c1..4f6244a 100644
+--- a/tests/Sabre/VObject/Issue153Test.php
++++ b/tests/Sabre/VObject/Issue153Test.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class Issue153Test extends \PHPUnit_Framework_TestCase {
++class Issue153Test extends \PHPUnit\Framework\TestCase {
+ 
+     function testRead() {
+ 
+diff --git a/tests/Sabre/VObject/Issue154Test.php b/tests/Sabre/VObject/Issue154Test.php
+index ed9c7c3..17676ee 100644
+--- a/tests/Sabre/VObject/Issue154Test.php
++++ b/tests/Sabre/VObject/Issue154Test.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class Issue154Test extends \PHPUnit_Framework_TestCase {
++class Issue154Test extends \PHPUnit\Framework\TestCase {
+ 
+     function testStuff() {
+ 
+diff --git a/tests/Sabre/VObject/Issue48Test.php b/tests/Sabre/VObject/Issue48Test.php
+index 980d432..47aa928 100644
+--- a/tests/Sabre/VObject/Issue48Test.php
++++ b/tests/Sabre/VObject/Issue48Test.php
+@@ -6,7 +6,7 @@ use
+     DateTime,
+     DateTimeZone;
+ 
+-class Issue48Test extends \PHPUnit_Framework_TestCase {
++class Issue48Test extends \PHPUnit\Framework\TestCase {
+ 
+     function testExpand() {
+ 
+diff --git a/tests/Sabre/VObject/Issue50Test.php b/tests/Sabre/VObject/Issue50Test.php
+index fdb012b..ce2321a 100644
+--- a/tests/Sabre/VObject/Issue50Test.php
++++ b/tests/Sabre/VObject/Issue50Test.php
+@@ -6,7 +6,7 @@ use
+     DateTime,
+     DateTimeZone;
+ 
+-class Issue50Test extends \PHPUnit_Framework_TestCase {
++class Issue50Test extends \PHPUnit\Framework\TestCase {
+ 
+     function testExpand() {
+ 
+diff --git a/tests/Sabre/VObject/ParameterTest.php b/tests/Sabre/VObject/ParameterTest.php
+index 3ea1a9b..40aef81 100644
+--- a/tests/Sabre/VObject/ParameterTest.php
++++ b/tests/Sabre/VObject/ParameterTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class ParameterTest extends \PHPUnit_Framework_TestCase {
++class ParameterTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testSetup() {
+ 
+diff --git a/tests/Sabre/VObject/Property/CompoundTest.php b/tests/Sabre/VObject/Property/CompoundTest.php
+index 58185c4..ef3c358 100644
+--- a/tests/Sabre/VObject/Property/CompoundTest.php
++++ b/tests/Sabre/VObject/Property/CompoundTest.php
+@@ -3,7 +3,7 @@
+ namespace Sabre\VObject\Property;
+ use Sabre\VObject\Component;
+ 
+-class CompoundTest extends \PHPUnit_Framework_TestCase {
++class CompoundTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testSetParts() {
+ 
+diff --git a/tests/Sabre/VObject/Property/DateTimeTest.php b/tests/Sabre/VObject/Property/DateTimeTest.php
+index b5b522e..4cc3fc5 100644
+--- a/tests/Sabre/VObject/Property/DateTimeTest.php
++++ b/tests/Sabre/VObject/Property/DateTimeTest.php
+@@ -3,7 +3,7 @@
+ namespace Sabre\VObject\Property;
+ use Sabre\VObject\Component;
+ 
+-class DateTimeTest extends \PHPUnit_Framework_TestCase {
++class DateTimeTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testSetDateTime() {
+ 
+diff --git a/tests/Sabre/VObject/Property/MultiDateTimeTest.php b/tests/Sabre/VObject/Property/MultiDateTimeTest.php
+index 1776166..f3e83bf 100644
+--- a/tests/Sabre/VObject/Property/MultiDateTimeTest.php
++++ b/tests/Sabre/VObject/Property/MultiDateTimeTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject\Property;
+ 
+-class MultiDateTimeTest extends \PHPUnit_Framework_TestCase {
++class MultiDateTimeTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testSetDateTime() {
+ 
+diff --git a/tests/Sabre/VObject/PropertyTest.php b/tests/Sabre/VObject/PropertyTest.php
+index 0e1bc60..c745060 100644
+--- a/tests/Sabre/VObject/PropertyTest.php
++++ b/tests/Sabre/VObject/PropertyTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class PropertyTest extends \PHPUnit_Framework_TestCase {
++class PropertyTest extends \PHPUnit\Framework\TestCase {
+ 
+     public function testToString() {
+ 
+diff --git a/tests/Sabre/VObject/ReaderTest.php b/tests/Sabre/VObject/ReaderTest.php
+index 0969c6e..3d73eff 100644
+--- a/tests/Sabre/VObject/ReaderTest.php
++++ b/tests/Sabre/VObject/ReaderTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class ReaderTest extends \PHPUnit_Framework_TestCase {
++class ReaderTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testReadComponent() {
+ 
+diff --git a/tests/Sabre/VObject/RecurrenceIteratorFifthTuesdayProblemTest.php b/tests/Sabre/VObject/RecurrenceIteratorFifthTuesdayProblemTest.php
+index 069832a..7ece5d4 100644
+--- a/tests/Sabre/VObject/RecurrenceIteratorFifthTuesdayProblemTest.php
++++ b/tests/Sabre/VObject/RecurrenceIteratorFifthTuesdayProblemTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class RecurrenceIteratorFifthTuesdayProblemTest extends \PHPUnit_Framework_TestCase {
++class RecurrenceIteratorFifthTuesdayProblemTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testGetDTEnd() {
+ 
+diff --git a/tests/Sabre/VObject/RecurrenceIteratorIncorrectExpandTest.php b/tests/Sabre/VObject/RecurrenceIteratorIncorrectExpandTest.php
+index 9adc853..9c3f7ff 100644
+--- a/tests/Sabre/VObject/RecurrenceIteratorIncorrectExpandTest.php
++++ b/tests/Sabre/VObject/RecurrenceIteratorIncorrectExpandTest.php
+@@ -9,7 +9,7 @@ use
+ /**
+  * This is a unittest for Issue #53.
+  */
+-class RecurrenceIteratorIncorrectExpandTest extends \PHPUnit_Framework_TestCase {
++class RecurrenceIteratorIncorrectExpandTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testExpand() {
+ 
+diff --git a/tests/Sabre/VObject/RecurrenceIteratorInfiniteLoopProblemTest.php b/tests/Sabre/VObject/RecurrenceIteratorInfiniteLoopProblemTest.php
+index 670c39b..784e9ca 100644
+--- a/tests/Sabre/VObject/RecurrenceIteratorInfiniteLoopProblemTest.php
++++ b/tests/Sabre/VObject/RecurrenceIteratorInfiniteLoopProblemTest.php
+@@ -5,7 +5,7 @@ namespace Sabre\VObject;
+ use DateTime;
+ use DateTimeZone;
+ 
+-class RecurrenceIteratorInfiniteLoopProblemTest extends \PHPUnit_Framework_TestCase {
++class RecurrenceIteratorInfiniteLoopProblemTest extends \PHPUnit\Framework\TestCase {
+ 
+     /**
+      * This bug came from a Fruux customer. This would result in a never-ending
+diff --git a/tests/Sabre/VObject/RecurrenceIteratorMinusOneProblemTest.php b/tests/Sabre/VObject/RecurrenceIteratorMinusOneProblemTest.php
+index 2c17f9f..b46037c 100644
+--- a/tests/Sabre/VObject/RecurrenceIteratorMinusOneProblemTest.php
++++ b/tests/Sabre/VObject/RecurrenceIteratorMinusOneProblemTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class RecurrenceIteratorMinusOneProblemTest extends \PHPUnit_Framework_TestCase {
++class RecurrenceIteratorMinusOneProblemTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testMinusOne() {
+ 
+diff --git a/tests/Sabre/VObject/RecurrenceIteratorMissingOverriddenTest.php b/tests/Sabre/VObject/RecurrenceIteratorMissingOverriddenTest.php
+index f311329..7e1fbc9 100644
+--- a/tests/Sabre/VObject/RecurrenceIteratorMissingOverriddenTest.php
++++ b/tests/Sabre/VObject/RecurrenceIteratorMissingOverriddenTest.php
+@@ -6,7 +6,7 @@ use
+     DateTime,
+     DateTimeZone;
+ 
+-class RecurrenceIteratorMissingOverriddenTest extends \PHPUnit_Framework_TestCase {
++class RecurrenceIteratorMissingOverriddenTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testExpand() {
+ 
+diff --git a/tests/Sabre/VObject/RecurrenceIteratorTest.php b/tests/Sabre/VObject/RecurrenceIteratorTest.php
+index 5988f16..3c707a6 100644
+--- a/tests/Sabre/VObject/RecurrenceIteratorTest.php
++++ b/tests/Sabre/VObject/RecurrenceIteratorTest.php
+@@ -5,7 +5,7 @@ namespace Sabre\VObject;
+ use DateTime;
+ use DateTimeZone;
+ 
+-class RecurrenceIteratorTest extends \PHPUnit_Framework_TestCase {
++class RecurrenceIteratorTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testValues() {
+ 
+diff --git a/tests/Sabre/VObject/SlashRTest.php b/tests/Sabre/VObject/SlashRTest.php
+index ebbfb04..1244ccd 100644
+--- a/tests/Sabre/VObject/SlashRTest.php
++++ b/tests/Sabre/VObject/SlashRTest.php
+@@ -6,7 +6,7 @@ namespace Sabre\VObject;
+  * This issue was pointed out in Issue 55. \r should be stripped completely 
+  * when encoding property values.
+  */
+-class SlashRTest extends \PHPUnit_Framework_TestCase {
++class SlashRTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testEncode() {
+ 
+diff --git a/tests/Sabre/VObject/Splitter/ICalendarTest.php b/tests/Sabre/VObject/Splitter/ICalendarTest.php
+index 4361335..afdd30d 100644
+--- a/tests/Sabre/VObject/Splitter/ICalendarTest.php
++++ b/tests/Sabre/VObject/Splitter/ICalendarTest.php
+@@ -4,7 +4,7 @@ namespace Sabre\VObject\Splitter;
+ 
+ use Sabre\VObject;
+ 
+-class ICalendarSplitterTest extends \PHPUnit_Framework_TestCase {
++class ICalendarSplitterTest extends \PHPUnit\Framework\TestCase {
+ 
+     protected $version;
+ 
+diff --git a/tests/Sabre/VObject/Splitter/VCardTest.php b/tests/Sabre/VObject/Splitter/VCardTest.php
+index b6b4192..fe4b7a3 100644
+--- a/tests/Sabre/VObject/Splitter/VCardTest.php
++++ b/tests/Sabre/VObject/Splitter/VCardTest.php
+@@ -4,7 +4,7 @@ namespace Sabre\VObject\Splitter;
+ 
+ use Sabre\VObject;
+ 
+-class VCardSplitterTest extends \PHPUnit_Framework_TestCase {
++class VCardSplitterTest extends \PHPUnit\Framework\TestCase {
+ 
+     function createStream($data) {
+ 
+diff --git a/tests/Sabre/VObject/StringUtilTest.php b/tests/Sabre/VObject/StringUtilTest.php
+index 7d062ac..b40c57f 100644
+--- a/tests/Sabre/VObject/StringUtilTest.php
++++ b/tests/Sabre/VObject/StringUtilTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class StringUtilTest extends \PHPUnit_Framework_TestCase {
++class StringUtilTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testNonUTF8() {
+ 
+diff --git a/tests/Sabre/VObject/TimeZoneUtilTest.php b/tests/Sabre/VObject/TimeZoneUtilTest.php
+index 252e266..92ee9ba 100644
+--- a/tests/Sabre/VObject/TimeZoneUtilTest.php
++++ b/tests/Sabre/VObject/TimeZoneUtilTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class TimezoneUtilTest extends \PHPUnit_Framework_TestCase {
++class TimezoneUtilTest extends \PHPUnit\Framework\TestCase {
+ 
+     /**
+      * @dataProvider getMapping
+diff --git a/tests/Sabre/VObject/VersionTest.php b/tests/Sabre/VObject/VersionTest.php
+index ae6855e..c4cd39a 100644
+--- a/tests/Sabre/VObject/VersionTest.php
++++ b/tests/Sabre/VObject/VersionTest.php
+@@ -2,7 +2,7 @@
+ 
+ namespace Sabre\VObject;
+ 
+-class VersionTest extends \PHPUnit_Framework_TestCase {
++class VersionTest extends \PHPUnit\Framework\TestCase {
+ 
+     function testString() {
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 052ce0a..3a56b2f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Use-homemade-autoloader.php.patch
 0002-This-should-never-have-worked-on-php.patch
+0003-PHPUnit-s-units-of-code-are-now-namespaced.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabre-vobject.git



More information about the Pkg-owncloud-commits mailing list