Completed
Push — master ( 7d9b81...ed1eff )
by Adam
09:05
created

Text   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 1
1
<?php
2
3
namespace BestServedCold\PhalueObjects\Format\Xml\Node;
4
5
class Text implements NodeInterface
0 ignored issues
show
Coding Style introduced by
Text does not seem to conform to the naming convention (Utils?$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
6
{
7
8
    public static function run($node)
9
    {
10
        return trim($node->textContent);
11
    }
12
}
13