Skip to content

Commit 64f41dd

Browse files
committed
feat: added missing svg to html5 specs
1 parent 284a1ae commit 64f41dd

135 files changed

Lines changed: 432 additions & 143 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/phpmd.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Issues detected: 16
8484
| <span class="prio1">1</span> | src/Element/Block/TableRow.php | 137 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\ValignEnum` in method `setValign`. |
8585
| <span class="prio1">1</span> | src/Element/Block/Video.php | 137 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\CrossoriginEnum` in method `setCrossorigin`. |
8686
| <span class="prio1">1</span> | src/Element/Block/Video.php | 203 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\PreloadEnum` in method `setPreload`. |
87-
| <span class="prio1">1</span> | src/Element/Inline/Anchor.php | 159 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\RelEnum` in method `setRel`. |
88-
| <span class="prio1">1</span> | src/Element/Inline/Anchor.php | 176 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\TargetEnum` in method `setTarget`. |
87+
| <span class="prio1">1</span> | src/Element/Inline/Anchor.php | 160 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\RelEnum` in method `setRel`. |
88+
| <span class="prio1">1</span> | src/Element/Inline/Anchor.php | 177 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\TargetEnum` in method `setTarget`. |
8989
| <span class="prio1">1</span> | src/Element/Inline/Button.php | 146 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\TypeButtonEnum` in method `setType`. |
9090
| <span class="prio1">1</span> | src/Element/Inline/Image.php | 153 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\CrossoriginEnum` in method `setCrossorigin`. |
9191
| <span class="prio1">1</span> | src/Element/Inline/Image.php | 171 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\DecodingEnum` in method `setDecoding`. |
@@ -103,10 +103,10 @@ Issues detected: 16
103103
| <span class="prio1">1</span> | src/Element/Void/Link.php | 170 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\ReferrerpolicyEnum` in method `setReferrerpolicy`. |
104104
| <span class="prio1">1</span> | src/Element/Void/Link.php | 188 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\RelEnum` in method `setRel`. |
105105
| <span class="prio1">1</span> | src/Element/Void/Meta.php | 108 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\HttpEquivEnum` in method `setHttpEquiv`. |
106-
| <span class="prio1">1</span> | src/Element/Void/Script.php | 127 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\CrossoriginEnum` in method `setCrossorigin`. |
107-
| <span class="prio1">1</span> | src/Element/Void/Script.php | 181 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\ReferrerpolicyEnum` in method `setReferrerpolicy`. |
108-
| <span class="prio1">1</span> | src/Element/Void/Script.php | 211 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\TypeScriptEnum` in method `setType`. |
109-
| <span class="prio1">1</span> | src/Element/Void/Style.php | 128 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\TypeStyleEnum` in method `setType`. |
106+
| <span class="prio1">1</span> | src/Element/Void/Script.php | 134 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\CrossoriginEnum` in method `setCrossorigin`. |
107+
| <span class="prio1">1</span> | src/Element/Void/Script.php | 188 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\ReferrerpolicyEnum` in method `setReferrerpolicy`. |
108+
| <span class="prio1">1</span> | src/Element/Void/Script.php | 218 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\TypeScriptEnum` in method `setType`. |
109+
| <span class="prio1">1</span> | src/Element/Void/Style.php | 129 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\TypeStyleEnum` in method `setType`. |
110110
| <span class="prio1">1</span> | src/Element/Void/Track.php | 114 | [StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess) | Avoid using static access to class `\Html\Enum\KindEnum` in method `setKind`. |
111111
| <span class="prio1">1</span> | src/Service/ComponentBuilder.php | 54 | [ElseExpression](https://phpmd.org/rules/cleancode.html#elseexpression) | The method buildDOM uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. |
112112
| <span class="prio1">1</span> | src/Service/ComponentBuilder.php | 63 | [ElseExpression](https://phpmd.org/rules/cleancode.html#elseexpression) | The method buildDOM uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. |
@@ -135,7 +135,7 @@ Issues detected: 80
135135
| <span class="prio2">2</span> | src/Command/WatchCommand.php | 27 | [CouplingBetweenObjects](https://phpmd.org/rules/design.html#couplingbetweenobjects) | The class WatchCommand has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13. |
136136
| <span class="prio2">2</span> | src/Delegator/HTMLElementDelegator.php | 35 | [CouplingBetweenObjects](https://phpmd.org/rules/design.html#couplingbetweenobjects) | The class HTMLElementDelegator has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13. |
137137
| <span class="prio2">2</span> | src/Element/BlockElement.php | 7 | [NumberOfChildren](https://phpmd.org/rules/design.html#numberofchildren) | The class BlockElement has 60 children. Consider to rebalance this class hierarchy to keep number of children under 15. |
138-
| <span class="prio2">2</span> | src/Element/InlineElement.php | 7 | [NumberOfChildren](https://phpmd.org/rules/design.html#numberofchildren) | The class InlineElement has 38 children. Consider to rebalance this class hierarchy to keep number of children under 15. |
138+
| <span class="prio2">2</span> | src/Element/InlineElement.php | 7 | [NumberOfChildren](https://phpmd.org/rules/design.html#numberofchildren) | The class InlineElement has 39 children. Consider to rebalance this class hierarchy to keep number of children under 15. |
139139
| <span class="prio1">1</span> | src/Command/WatchCommand.php | 69 | [ExitExpression](https://phpmd.org/rules/design.html#exitexpression) | The method __invoke() contains an exit expression. |
140140
| <span class="prio1">1</span> | src/Command/WatchCommand.php | 119 | [ExitExpression](https://phpmd.org/rules/design.html#exitexpression) | The method __invoke() contains an exit expression. |
141141
| <span class="prio1">1</span> | src/Command/WatchCommand.php | 161 | [ExitExpression](https://phpmd.org/rules/design.html#exitexpression) | The method processSingleFile() contains an exit expression. |
@@ -144,4 +144,4 @@ Issues detected: 80
144144

145145
Issues detected: 9
146146

147-
Sun Oct 19 11:50:10 PM CEST 2025
147+
Fri Oct 24 01:07:34 AM CEST 2025

src/Element/Block/Article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Article - The article element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable.
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article

src/Element/Block/Aside.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Aside - The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content.
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside

src/Element/Block/Audio.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Audio - The audio element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the source element.
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio

src/Element/Block/Blockquote.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Blockquote - The blockquote element represents a section that is quoted from another source. Content inside a blockquote must be quoted from another source, whose address, if it has one, may be cited in the cite attribute.
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote

src/Element/Block/Body.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Body - The body element represents the content of an HTML document. All the contents such as text, images, headings, links, tables, etc. are placed between the body tags.
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body

src/Element/Block/Canvas.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Canvas - The canvas element is used to draw graphics, on the fly, via scripting (usually JavaScript).
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas

src/Element/Block/Caption.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Caption - The caption element represents the title of the table that is its parent, if it has a parent and that is a table element.
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption

src/Element/Block/ColumnGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* ColumnGroup - The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element.
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup

src/Element/Block/DataList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* DataList - The datalist element contains a set of option elements that represent the permissible or recommended options available to users.
77
*
8-
* @generated 2025-10-19 21:49:08
8+
* @generated 2025-10-23 23:06:19
99
* @subpackage Html\Element\Block
1010
* @link https://vardumper.github.io/extended-htmldocument/
1111
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist

0 commit comments

Comments
 (0)