From 32e2430bc474fce78f5740c167cd87f40c200d9d Mon Sep 17 00:00:00 2001 From: Nick Sagona Date: Mon, 18 Nov 2024 23:38:04 -0600 Subject: [PATCH] Update version, copyright, website and email --- .github/workflows/phpunit.yml | 2 +- LICENSE.TXT | 2 +- README.md | 3 +-- composer.json | 14 +++++++------- src/Exception.php | 14 +++++++------- src/Template/AbstractTemplate.php | 16 ++++++++-------- src/Template/Exception.php | 14 +++++++------- src/Template/File.php | 14 +++++++------- src/Template/Stream.php | 14 +++++++------- src/Template/Stream/Exception.php | 14 +++++++------- src/Template/Stream/Parser.php | 16 ++++++++-------- src/Template/TemplateInterface.php | 16 ++++++++-------- src/View.php | 14 +++++++------- 13 files changed, 76 insertions(+), 77 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index ab7f22a..843223c 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: [ '8.1', '8.2' ] + php-versions: [ '8.2', '8.3' ] steps: - uses: actions/checkout@v3 diff --git a/LICENSE.TXT b/LICENSE.TXT index d8b6beb..b0c45e2 100644 --- a/LICENSE.TXT +++ b/LICENSE.TXT @@ -1,6 +1,6 @@ BSD 3 Clause License -Copyright (c) 2009-2024, NOLA Interactive, LLC. +Copyright (c) 2009-2025, NOLA Interactive, LLC. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.md b/README.md index f322f81..fc8c96f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ pop-view [![Build Status](https://github.com/popphp/pop-view/workflows/phpunit/badge.svg)](https://github.com/popphp/pop-view/actions) [![Coverage Status](http://cc.popphp.org/coverage.php?comp=pop-view)](http://cc.popphp.org/pop-view/) -[![Join the chat at https://popphp.slack.com](https://media.popphp.org/img/slack.svg)](https://popphp.slack.com) [![Join the chat at https://discord.gg/TZjgT74U7E](https://media.popphp.org/img/discord.svg)](https://discord.gg/TZjgT74U7E) * [Overview](#overview) @@ -24,7 +23,7 @@ independently as well. It supports using both PHP-file based templates and strea Within the stream templates, there is basic support for logic and iteration for dynamic control over the view template. -`pop-view` is a component of the [Pop PHP Framework](http://www.popphp.org/). +`pop-view` is a component of the [Pop PHP Framework](https://www.popphp.org/). [Top](#pop-view) diff --git a/composer.json b/composer.json index 27f2682..15b71b3 100644 --- a/composer.json +++ b/composer.json @@ -9,22 +9,22 @@ "pop", "pop php" ], - "homepage": "http://www.popphp.org/", + "homepage": "https://github.com/popphp/pop-view", "license": "BSD-3-Clause", "authors": [ { "name": "Nick Sagona", - "email": "dev@nolainteractive.com", - "homepage": "http://www.nolainteractive.com/" + "email": "dev@noladev.com", + "homepage": "https://www.popphp.org/" } ], "require": { - "php": ">=8.1.0", - "popphp/pop-filter": "^4.0.0", - "popphp/pop-utils": "^2.1.0" + "php": ">=8.2.0", + "popphp/pop-filter": "^4.0.1", + "popphp/pop-utils": "^2.1.2" }, "require-dev": { - "phpunit/phpunit": "^10.0.0" + "phpunit/phpunit": "^11.0.0" }, "autoload": { "psr-4": { diff --git a/src/Exception.php b/src/Exception.php index 221f225..279db16 100644 --- a/src/Exception.php +++ b/src/Exception.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -18,9 +18,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ class Exception extends \Exception {} diff --git a/src/Template/AbstractTemplate.php b/src/Template/AbstractTemplate.php index 4866231..288b9da 100644 --- a/src/Template/AbstractTemplate.php +++ b/src/Template/AbstractTemplate.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -18,9 +18,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ abstract class AbstractTemplate implements TemplateInterface @@ -77,4 +77,4 @@ abstract public function render(array $data): string; */ abstract protected function renderTemplate(): void; -} \ No newline at end of file +} diff --git a/src/Template/Exception.php b/src/Template/Exception.php index f128508..53d93ca 100644 --- a/src/Template/Exception.php +++ b/src/Template/Exception.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -18,9 +18,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ class Exception extends \Exception {} diff --git a/src/Template/File.php b/src/Template/File.php index f79856c..add3e87 100644 --- a/src/Template/File.php +++ b/src/Template/File.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -18,9 +18,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ class File extends AbstractTemplate diff --git a/src/Template/Stream.php b/src/Template/Stream.php index f1ba627..e66a9aa 100644 --- a/src/Template/Stream.php +++ b/src/Template/Stream.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -18,9 +18,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ class Stream extends AbstractTemplate diff --git a/src/Template/Stream/Exception.php b/src/Template/Stream/Exception.php index 8354318..b719e8a 100644 --- a/src/Template/Stream/Exception.php +++ b/src/Template/Stream/Exception.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -18,9 +18,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ class Exception extends \Exception {} diff --git a/src/Template/Stream/Parser.php b/src/Template/Stream/Parser.php index 10296db..c51b330 100644 --- a/src/Template/Stream/Parser.php +++ b/src/Template/Stream/Parser.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -18,9 +18,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ class Parser @@ -265,4 +265,4 @@ public static function parseScalars(array $data, string $output): string return $output; } -} \ No newline at end of file +} diff --git a/src/Template/TemplateInterface.php b/src/Template/TemplateInterface.php index d5bcb35..32943f9 100644 --- a/src/Template/TemplateInterface.php +++ b/src/Template/TemplateInterface.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -18,9 +18,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ interface TemplateInterface @@ -49,4 +49,4 @@ public function setTemplate(string $template): TemplateInterface; */ public function render(array $data): string; -} \ No newline at end of file +} diff --git a/src/View.php b/src/View.php index 6da534d..a5bf47b 100644 --- a/src/View.php +++ b/src/View.php @@ -1,11 +1,11 @@ - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License */ /** @@ -21,9 +21,9 @@ * * @category Pop * @package Pop\View - * @author Nick Sagona, III - * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) - * @license http://www.popphp.org/license New BSD License + * @author Nick Sagona, III + * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. + * @license https://www.popphp.org/license New BSD License * @version 4.0.0 */ class View extends Utils\ArrayObject