for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace eXpansion\Framework\Core\Helpers;
class TMString
{
public static function trimStyles($string)
return preg_replace('/(\$[o,w,s,z,m,h,l])/gi', '', $string);
}
public static function trimControls($string)
$string
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
public static function trimColors($string)
return preg_replace('/(\$[0-9,A-F]{3})/gi', "", $string);
public static function trimLinks($string)
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.