for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace PeeHaa\AsyncTwitter\Api\Request\Stream;
use PeeHaa\AsyncTwitter\Api\Request\Request as ApiRequest;
interface Request extends ApiRequest
{
const LEVEL_NONE = 'none';
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
$a = "a"; $ab = "ab"; $abc = "abc";
will produce issues in the first and second line, while this second example
will produce no issues.
const LEVEL_LOW = 'low';
const LEVEL_MEDIUM = 'medium';
function filterLevel(string $level);
function language(array $languages);
}
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.