From de6a5e8263dbcd273559aff90ffdfcd8789ff8b4 Mon Sep 17 00:00:00 2001 From: Nick Sagona Date: Wed, 9 Jan 2019 11:36:58 -0600 Subject: [PATCH] Update composer and copyright --- LICENSE.TXT | 2 +- composer.json | 4 ++-- phpunit.xml | 8 ++++---- src/Dir.php | 6 +++--- src/Exception.php | 6 +++--- tests/DirTest.php | 3 ++- 6 files changed, 15 insertions(+), 14 deletions(-) diff --git a/LICENSE.TXT b/LICENSE.TXT index 6510ffb..1172d7f 100644 --- a/LICENSE.TXT +++ b/LICENSE.TXT @@ -1,6 +1,6 @@ BSD 3 Clause License -Copyright (c) 2009-2018, NOLA Interactive, LLC. +Copyright (c) 2009-2019, NOLA Interactive, LLC. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/composer.json b/composer.json index 9ab0369..386f4da 100644 --- a/composer.json +++ b/composer.json @@ -18,10 +18,10 @@ } ], "require": { - "php": ">=5.6.0" + "php": ">=7.1.0" }, "require-dev": { - "phpunit/phpunit": "5.5.*" + "phpunit/phpunit": "^7.0.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index 49ef84e..9c3b239 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -6,13 +6,13 @@ - + src - + + diff --git a/src/Dir.php b/src/Dir.php index 2d20deb..3b4a536 100644 --- a/src/Dir.php +++ b/src/Dir.php @@ -4,7 +4,7 @@ * * @link https://github.com/popphp/popphp-framework * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2018 NOLA Interactive, LLC. (http://www.nolainteractive.com) + * @copyright Copyright (c) 2009-2019 NOLA Interactive, LLC. (http://www.nolainteractive.com) * @license http://www.popphp.org/license New BSD License */ @@ -19,9 +19,9 @@ * @category Pop * @package Pop\Dir * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2018 NOLA Interactive, LLC. (http://www.nolainteractive.com) + * @copyright Copyright (c) 2009-2019 NOLA Interactive, LLC. (http://www.nolainteractive.com) * @license http://www.popphp.org/license New BSD License - * @version 3.0.1 + * @version 3.0.2 */ class Dir implements \ArrayAccess, \Countable, \IteratorAggregate { diff --git a/src/Exception.php b/src/Exception.php index a752590..478a5af 100644 --- a/src/Exception.php +++ b/src/Exception.php @@ -4,7 +4,7 @@ * * @link https://github.com/popphp/popphp-framework * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2018 NOLA Interactive, LLC. (http://www.nolainteractive.com) + * @copyright Copyright (c) 2009-2019 NOLA Interactive, LLC. (http://www.nolainteractive.com) * @license http://www.popphp.org/license New BSD License */ @@ -19,8 +19,8 @@ * @category Pop * @package Pop\Dir * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2018 NOLA Interactive, LLC. (http://www.nolainteractive.com) + * @copyright Copyright (c) 2009-2019 NOLA Interactive, LLC. (http://www.nolainteractive.com) * @license http://www.popphp.org/license New BSD License - * @version 3.0.1 + * @version 3.0.2 */ class Exception extends \Exception {} diff --git a/tests/DirTest.php b/tests/DirTest.php index 1441069..d1131c4 100644 --- a/tests/DirTest.php +++ b/tests/DirTest.php @@ -3,8 +3,9 @@ namespace Pop\Dir\Test; use Pop\Dir\Dir; +use PHPUnit\Framework\TestCase; -class DirTest extends \PHPUnit_Framework_TestCase +class DirTest extends TestCase { public function testConstructor()