Skip to content

Commit

Permalink
Happy 2024.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Aug 9, 2024
1 parent 081b0d6 commit faed14b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Attribute
*
* @author Pronamic <info@pronamic.eu>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Html
*/
Expand All @@ -20,14 +20,14 @@
class Attribute {
/**
* Name.
*
*
* @var string
*/
private string $name;

/**
* Value.
*
*
* @var string|null
*/
private ?string $value;
Expand Down
8 changes: 4 additions & 4 deletions src/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Element
*
* @author Pronamic <info@pronamic.eu>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Html
*/
Expand Down Expand Up @@ -111,9 +111,9 @@ public function output() {
foreach ( $this->attributes as $name => $value ) {
/**
* Attribute name escape.
*
*
* There is currently not a specific escape function for HTML attributes.
*
*
* @link https://core.trac.wordpress.org/ticket/43010
* @link https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
*/
Expand Down Expand Up @@ -141,7 +141,7 @@ public function output() {
default:
echo \esc_html( $child );
break;
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Bootstrap tests
*
* @author Pronamic <info@pronamic.eu>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Html
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpstan/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Definitions for PHPStan.
*
* @author Pronamic <info@pronamic.eu>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Html
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/src/ElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Element test
*
* @author Pronamic <info@pronamic.eu>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Html
*/
Expand Down

0 comments on commit faed14b

Please sign in to comment.