for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Htsl\Embedment;
use Htsl\Embedment\Contracts\AEmbedment;
use Htsl\ReadingBuffer\Line;
////////////////////////////////////////////////////////////////
class TextEmbedment extends AEmbedment
{
/**
* Parsing line.
*
* @access public
* @param \Htsl\ReadingBuffer\Line $line
* @return \Htsl\Embedment\Contracts
TextEmbedment
This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.
@return
*/
public function parseLine( Line$line ):parent
$this->content.= $line->fullContent."\n";
This check looks for improperly formatted assignments.
Every assignment must have exactly one space before and one space after the equals operator.
To illustrate:
$a = "a"; $ab = "ab"; $abc = "abc";
will have no issues, while
will report issues in lines 1 and 2.
return $this;
}
This check marks files that end in a newline character, i.e. an empy line.
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.