for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Htsl\Parser\Node;
use Htsl\Htsl;
use Htsl\ReadingBuffer\Line;
use Htsl\Parser\Node\Contracts\ANode;
////////////////////////////////////////////////////////////////
class StringNode extends ANode
{
/**
* Real constructor.
*
* @access protected
* @return \Htsl\Parser\Node\Contracts\ANode
StringNode
This check looks for the generic type array as a return type and suggests a more specific type. This type is inferred from the actual code.
array
*/
protected function construct():parent
return $this;
}
* Opening this node, and returning node opener.
* @access public
* @return string
public function open():string
return '';
* Close this node, and returning node closer.
* @param \Htsl\ReadingBuffer\Line $closerLine The line when node closed.
public function close( Line$closerLine ):string
This check marks files that end in a newline character, i.e. an empy line.
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.