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\User;
/**
* @link https://dev.twitter.com/rest/reference/get/users/lookup
*/
class LookupByScreenNamesAndUserIds extends Lookup
{
public function __construct(array $screenNames, array $userIds)
parent::__construct();
$this->parameters['screen_name'] = implode(',', $screenNames);
$this->parameters['user_id'] = implode(',', $userIds);
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.
}
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.