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\Get\Account;
use PeeHaa\AsyncTwitter\Api\Request\BaseRequest;
/**
* @link https://dev.twitter.com/rest/reference/get/account/settings
*/
class Settings extends BaseRequest
{
const METHOD = 'GET';
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.
const ENDPOINT = '/account/settings.json';
public function __construct()
parent::__construct(self::METHOD, self::ENDPOINT);
}
This check looks for improperly formatted assignments.
Every assignment must have exactly one space before and one space after the equals operator.
To illustrate:
will have no issues, while
will report issues in lines 1 and 2.