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\Post\Account;
use PeeHaa\AsyncTwitter\Api\Request\BaseRequest;
/**
* @link https://dev.twitter.com/rest/reference/post/account/remove_profile_banner
*/
class RemoveProfileBanner extends BaseRequest
{
const METHOD = 'POST';
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/remove_profile_banner.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.