Package: pkg-php-tools Version: 1.35 Severity: normal Tags: patch User: [email protected] Usertags: origin-ubuntu bionic ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to achieve the following: * tests/*: PHPUnit 6 has namespaced classes. Thanks for considering the patch. *** /tmp/tmpkeOrJv/pkg-php-tools_1.35ubuntu1.debdiff diff -Nru pkg-php-tools-1.35/tests/BaseCliTest.php pkg-php-tools-1.35ubuntu1/tests/BaseCliTest.php --- pkg-php-tools-1.35/tests/BaseCliTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/BaseCliTest.php 2018-02-07 15:37:16.000000000 -0800 @@ -30,7 +30,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class BaseCliTest extends PHPUnit_Framework_TestCase { +class BaseCliTest extends PHPUnit\Framework\TestCase { protected $_cli; protected $_baseHelp = 'Usage: pkgtools COMMAND diff -Nru pkg-php-tools-1.35/tests/BaseDependencyTest.php pkg-php-tools-1.35ubuntu1/tests/BaseDependencyTest.php --- pkg-php-tools-1.35/tests/BaseDependencyTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/BaseDependencyTest.php 2018-02-07 15:36:59.000000000 -0800 @@ -30,7 +30,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class BaseDependencyTest extends PHPUnit_Framework_TestCase { +class BaseDependencyTest extends PHPUnit\Framework\TestCase { /** * @expectedException InvalidArgumentException * @expectedExceptionMessage Unknown property: 'unknown' diff -Nru pkg-php-tools-1.35/tests/BaseTest.php pkg-php-tools-1.35ubuntu1/tests/BaseTest.php --- pkg-php-tools-1.35/tests/BaseTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/BaseTest.php 2018-02-07 15:37:34.000000000 -0800 @@ -30,7 +30,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class BaseTest extends PHPUnit_Framework_TestCase { +class BaseTest extends PHPUnit\Framework\TestCase { // === // Uninstanciables /** diff -Nru pkg-php-tools-1.35/tests/PhpcomposerCliTest.php pkg-php-tools-1.35ubuntu1/tests/PhpcomposerCliTest.php --- pkg-php-tools-1.35/tests/PhpcomposerCliTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/PhpcomposerCliTest.php 2018-02-07 15:36:50.000000000 -0800 @@ -30,7 +30,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class PhpcomposerCliTest extends PHPUnit_Framework_TestCase { +class PhpcomposerCliTest extends PHPUnit\Framework\TestCase { protected $_cli; protected function setUp() { diff -Nru pkg-php-tools-1.35/tests/PhpcomposerSourceTest.php pkg-php-tools-1.35ubuntu1/tests/PhpcomposerSourceTest.php --- pkg-php-tools-1.35/tests/PhpcomposerSourceTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/PhpcomposerSourceTest.php 2018-02-07 15:37:26.000000000 -0800 @@ -32,7 +32,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class PhpcomposerSourceTest extends PHPUnit_Framework_TestCase { +class PhpcomposerSourceTest extends PHPUnit\Framework\TestCase { /** * @expectedException InvalidArgumentException * @expectedExceptionMessage composer.json not found diff -Nru pkg-php-tools-1.35/tests/PhppearchannelCliTest.php pkg-php-tools-1.35ubuntu1/tests/PhppearchannelCliTest.php --- pkg-php-tools-1.35/tests/PhppearchannelCliTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/PhppearchannelCliTest.php 2018-02-07 15:38:01.000000000 -0800 @@ -30,7 +30,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class PhppearchannelCliTest extends PHPUnit_Framework_TestCase { +class PhppearchannelCliTest extends PHPUnit\Framework\TestCase { protected $_cli; protected function setUp() { diff -Nru pkg-php-tools-1.35/tests/PhppearchannelSourceTest.php pkg-php-tools-1.35ubuntu1/tests/PhppearchannelSourceTest.php --- pkg-php-tools-1.35/tests/PhppearchannelSourceTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/PhppearchannelSourceTest.php 2018-02-07 15:36:40.000000000 -0800 @@ -30,7 +30,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class PhppearchannelSourceTest extends PHPUnit_Framework_TestCase { +class PhppearchannelSourceTest extends PHPUnit\Framework\TestCase { /** * @expectedException InvalidArgumentException * @expectedExceptionMessage channel.xml not found diff -Nru pkg-php-tools-1.35/tests/PhppearCliTest.php pkg-php-tools-1.35ubuntu1/tests/PhppearCliTest.php --- pkg-php-tools-1.35/tests/PhppearCliTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/PhppearCliTest.php 2018-02-07 15:37:08.000000000 -0800 @@ -30,7 +30,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class PhppearCliTest extends PHPUnit_Framework_TestCase { +class PhppearCliTest extends PHPUnit\Framework\TestCase { protected $_cli; protected function setUp() { diff -Nru pkg-php-tools-1.35/tests/PhppearSourceTest.php pkg-php-tools-1.35ubuntu1/tests/PhppearSourceTest.php --- pkg-php-tools-1.35/tests/PhppearSourceTest.php 2016-12-26 23:01:08.000000000 -0800 +++ pkg-php-tools-1.35ubuntu1/tests/PhppearSourceTest.php 2018-02-07 15:37:42.000000000 -0800 @@ -32,7 +32,7 @@ * @author Mathieu Parent <[email protected]> * @license Expat http://www.jclark.com/xml/copying.txt */ -class PhppearSourceTest extends PHPUnit_Framework_TestCase { +class PhppearSourceTest extends PHPUnit\Framework\TestCase { /** * @expectedException InvalidArgumentException * @expectedExceptionMessage package.xml not found -- System Information: Debian Release: buster/sid APT prefers bionic APT policy: (500, 'bionic') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-25-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- Nishanth Aravamudan Ubuntu Server Canonical Ltd

