diff --git a/LICENSE.TXT b/LICENSE.TXT index b3f01b0..4290d96 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 9568e6d..a772102 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ } ], "require": { - "php": ">=5.6.0" + "php": ">=7.1.0" }, "autoload": { "psr-4": { @@ -26,7 +26,7 @@ } }, "require-dev": { - "phpunit/phpunit": "5.5.*" + "phpunit/phpunit": "^7.0.0" }, "autoload-dev": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index a553e32..788a97b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -6,13 +6,13 @@ - + src - + + \ No newline at end of file diff --git a/src/AbstractCss.php b/src/AbstractCss.php index 4f2e2f0..9f32533 100644 --- a/src/AbstractCss.php +++ b/src/AbstractCss.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\Css * @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 1.0.6 + * @version 1.0.7 */ abstract class AbstractCss implements \ArrayAccess, \Countable, \IteratorAggregate { diff --git a/src/Color.php b/src/Color.php index 6cbdee9..b15a507 100644 --- a/src/Color.php +++ b/src/Color.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\Css * @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 1.0.6 + * @version 1.0.7 */ class Color { diff --git a/src/Color/ColorInterface.php b/src/Color/ColorInterface.php index cd1edfa..5d87edd 100644 --- a/src/Color/ColorInterface.php +++ b/src/Color/ColorInterface.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\Css * @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 1.0.6 + * @version 1.0.7 */ interface ColorInterface { diff --git a/src/Color/Exception.php b/src/Color/Exception.php index ff56e74..adbcf1f 100644 --- a/src/Color/Exception.php +++ b/src/Color/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,9 +19,9 @@ * @category Pop * @package Pop\Css * @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 1.0.6 + * @version 1.0.7 */ class Exception extends \Exception { diff --git a/src/Color/Hex.php b/src/Color/Hex.php index 1710cce..12b79e7 100644 --- a/src/Color/Hex.php +++ b/src/Color/Hex.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\Css * @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 1.0.6 + * @version 1.0.7 */ class Hex implements \ArrayAccess, ColorInterface { diff --git a/src/Color/Hsl.php b/src/Color/Hsl.php index b2abe16..18fb9ff 100644 --- a/src/Color/Hsl.php +++ b/src/Color/Hsl.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\Css * @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 1.0.6 + * @version 1.0.7 */ class Hsl implements \ArrayAccess, ColorInterface { diff --git a/src/Color/Rgb.php b/src/Color/Rgb.php index 9285539..8f0fba3 100644 --- a/src/Color/Rgb.php +++ b/src/Color/Rgb.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\Css * @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 1.0.6 + * @version 1.0.7 */ class Rgb implements \ArrayAccess, ColorInterface { diff --git a/src/Comment.php b/src/Comment.php index d2c438f..7460202 100644 --- a/src/Comment.php +++ b/src/Comment.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\Css * @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 1.0.6 + * @version 1.0.7 */ class Comment { diff --git a/src/Css.php b/src/Css.php index 81c8d04..73261b2 100644 --- a/src/Css.php +++ b/src/Css.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\Css * @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 1.0.6 + * @version 1.0.7 */ class Css extends AbstractCss { diff --git a/src/Exception.php b/src/Exception.php index f4ecb87..2b4b108 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\Css * @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 1.0.6 + * @version 1.0.7 */ class Exception extends \Exception {} diff --git a/src/Media.php b/src/Media.php index 37bcfe8..a82a57a 100644 --- a/src/Media.php +++ b/src/Media.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\Css * @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 1.0.6 + * @version 1.0.7 */ class Media extends AbstractCss { diff --git a/src/Selector.php b/src/Selector.php index 34fcc91..dd2736a 100644 --- a/src/Selector.php +++ b/src/Selector.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\Css * @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 1.0.6 + * @version 1.0.7 */ class Selector implements \ArrayAccess, \Countable, \IteratorAggregate { diff --git a/tests/Color/HexTest.php b/tests/Color/HexTest.php index c6faf7f..400fec1 100644 --- a/tests/Color/HexTest.php +++ b/tests/Color/HexTest.php @@ -3,8 +3,9 @@ namespace Pop\Css\Test; use Pop\Css\Color; +use PHPUnit\Framework\TestCase; -class HexTest extends \PHPUnit_Framework_TestCase +class HexTest extends TestCase { public function testHex() diff --git a/tests/Color/HslTest.php b/tests/Color/HslTest.php index 2b3e13a..91d5d85 100644 --- a/tests/Color/HslTest.php +++ b/tests/Color/HslTest.php @@ -3,8 +3,9 @@ namespace Pop\Css\Test; use Pop\Css\Color; +use PHPUnit\Framework\TestCase; -class HslTest extends \PHPUnit_Framework_TestCase +class HslTest extends TestCase { public function testHsl() diff --git a/tests/Color/RgbTest.php b/tests/Color/RgbTest.php index b3a45c8..7c57e00 100644 --- a/tests/Color/RgbTest.php +++ b/tests/Color/RgbTest.php @@ -3,8 +3,9 @@ namespace Pop\Css\Test; use Pop\Css\Color; +use PHPUnit\Framework\TestCase; -class RgbTest extends \PHPUnit_Framework_TestCase +class RgbTest extends TestCase { public function testRgb() diff --git a/tests/ColorTest.php b/tests/ColorTest.php index ad7c1e1..17ea7b5 100644 --- a/tests/ColorTest.php +++ b/tests/ColorTest.php @@ -3,8 +3,9 @@ namespace Pop\Css\Test; use Pop\Css\Color; +use PHPUnit\Framework\TestCase; -class ColorTest extends \PHPUnit_Framework_TestCase +class ColorTest extends TestCase { public function testCreateRgb() diff --git a/tests/CssTest.php b/tests/CssTest.php index 02a4367..b5e026a 100644 --- a/tests/CssTest.php +++ b/tests/CssTest.php @@ -3,8 +3,9 @@ namespace Pop\Css\Test; use Pop\Css; +use PHPUnit\Framework\TestCase; -class CssTest extends \PHPUnit_Framework_TestCase +class CssTest extends TestCase { public function testConstructor() diff --git a/tests/MediaTest.php b/tests/MediaTest.php index 0541203..70c3eba 100644 --- a/tests/MediaTest.php +++ b/tests/MediaTest.php @@ -3,8 +3,9 @@ namespace Pop\Css\Test; use Pop\Css; +use PHPUnit\Framework\TestCase; -class MediaTest extends \PHPUnit_Framework_TestCase +class MediaTest extends TestCase { public function testConstructor() diff --git a/tests/SelectorTest.php b/tests/SelectorTest.php index 6c76f79..dd81d10 100644 --- a/tests/SelectorTest.php +++ b/tests/SelectorTest.php @@ -3,8 +3,9 @@ namespace Pop\Css\Test; use Pop\Css; +use PHPUnit\Framework\TestCase; -class SelectorTest extends \PHPUnit_Framework_TestCase +class SelectorTest extends TestCase { public function testGetTabSize()