for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ballen\Linguist\Transformers;
use Ballen\Linguist\Transformers\TransformerInitTrait;
use Ballen\Linguist\Transformers\TransformerInterface;
use Ballen\Linguist\Transformers\Transformer;
/**
* Linguist
*
* Linguist is a PHP library for parsing strings, it can extract and manipulate
* prefixed words in content ideal for working with @mentions, #topics and
* even custom action tags!
* @author Bobby Allen <[email protected]>
* @license http://www.gnu.org/licenses/gpl-3.0.html
* @link https://github.com/allebb/linguist
* @link http://www.bobbyallen.me
*/
class PlaintextTransformer extends Transformer implements TransformerInterface
{
use TransformerInitTrait;
* Transforms the message string.
* @param string $string
* @return void
private function transform($string)
transform()
This check looks for private methods that have been defined, but are not used inside the class.
$this->formatted = $this->stripHtml($string);
}
This check looks for private methods that have been defined, but are not used inside the class.