You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/phpmd.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,8 +84,8 @@ Issues detected: 16
84
84
| <spanclass="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`. |
85
85
| <spanclass="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`. |
86
86
| <spanclass="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
-
| <spanclass="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
-
| <spanclass="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
+
| <spanclass="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
+
| <spanclass="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`. |
89
89
| <spanclass="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`. |
90
90
| <spanclass="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`. |
91
91
| <spanclass="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
103
103
| <spanclass="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`. |
104
104
| <spanclass="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`. |
105
105
| <spanclass="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
-
| <spanclass="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
-
| <spanclass="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
-
| <spanclass="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
-
| <spanclass="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
+
| <spanclass="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
+
| <spanclass="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
+
| <spanclass="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
+
| <spanclass="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`. |
110
110
| <spanclass="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`. |
111
111
| <spanclass="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. |
112
112
| <spanclass="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
135
135
| <spanclass="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. |
136
136
| <spanclass="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. |
137
137
| <spanclass="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
-
| <spanclass="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
+
| <spanclass="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. |
139
139
| <spanclass="prio1">1</span> | src/Command/WatchCommand.php | 69 |[ExitExpression](https://phpmd.org/rules/design.html#exitexpression)| The method __invoke() contains an exit expression. |
140
140
| <spanclass="prio1">1</span> | src/Command/WatchCommand.php | 119 |[ExitExpression](https://phpmd.org/rules/design.html#exitexpression)| The method __invoke() contains an exit expression. |
141
141
| <spanclass="prio1">1</span> | src/Command/WatchCommand.php | 161 |[ExitExpression](https://phpmd.org/rules/design.html#exitexpression)| The method processSingleFile() contains an exit expression. |
Copy file name to clipboardExpand all lines: src/Element/Block/Article.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
*
6
6
* 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.
Copy file name to clipboardExpand all lines: src/Element/Block/Aside.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
*
6
6
* 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.
Copy file name to clipboardExpand all lines: src/Element/Block/Audio.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
*
6
6
* 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.
Copy file name to clipboardExpand all lines: src/Element/Block/Blockquote.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
*
6
6
* 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.
Copy file name to clipboardExpand all lines: src/Element/Block/Body.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
*
6
6
* 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.
Copy file name to clipboardExpand all lines: src/Element/Block/ColumnGroup.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
*
6
6
* 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.
0 commit comments