Showing 443 of 443 total issues
Cannot modify read-only magic property \Baguette\Mastodon\Service\AuthFactory->grant
defined at src/Service/AuthFactory.php:18
Open
Open
$this->grant = $grant;
- Exclude checks
Call to method request
from undeclared class \GuzzleHttp\ClientInterface
Open
Open
$response = m\http()->request('POST', $create_app_path, $request_options);
- Exclude checks
Reference to undeclared property \Baguette\Mastodon\Service\toot->senstitive
(Did you mean expr->sensitive) Open
Open
$this->senstitive = $options['senstitive'];
- Exclude checks
Call to undeclared method \Baguette\Mastodon\ClientTest::assertEquals
Open
Open
$this->assertEquals($expected['scheme'], $actual->getScheme());
- Exclude checks
Call to method register
from undeclared class \Whoops\Run
Open
Open
$whoops->register();
- Exclude checks
Parameter $action
has undeclared type \Teto\Routing\Action
Open
Open
$routes['acct'] = ['GET', '/acct/:acct', function (Action $action) {
- Exclude checks
Call to method info
from undeclared class \Monolog\Logger
Open
Open
chrome_log()->info('session', $_SESSION);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Mastodon
(\Baguette\Mastodon)
Open
Open
use Baguette\Mastodon;
- Exclude checks
Call to undeclared function \GuzzleHttp\default_user_agent()
Open
Open
$user_agent = sprintf('%s; %s; %s', self::USER_AGENT, $this->client_name, \GuzzleHttp\default_user_agent());
- Exclude checks
Call to method contains
from undeclared class \Respect\Validation\Validator
Open
Open
v::stringType()->not(v::contains("\n"))->assert($password);
- Exclude checks
Class uses undeclared trait \Teto\Object\TypedProperty
Open
Open
class Error_ extends Entity
- Exclude checks
Call to method request
from undeclared class \GuzzleHttp\ClientInterface
Open
Open
return $http->request('POST', static::getPathToOAuthToken($factory->client), [
- Exclude checks
Class uses undeclared trait \Teto\Object\PrivateGetter
Open
Open
final class Mastodon
- Exclude checks
Call to method intVal
from undeclared class \Respect\Validation\Validator
Open
Open
v::intVal()->min(0)->assert($options['since_id']);
- Exclude checks
Doc-block of $scope
in __construct
contains phpdoc param type string[]
which is incompatible with the param type ?\Baguette\Mastodon\Service\Scope
declared in the signature Open
Open
* @param string[] $scope
- Exclude checks
Call to method stringType
from undeclared class \Respect\Validation\Validator
Open
Open
v::stringType()->assert($toot_string);
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param Scope|string|string[]':
after Scope|string|string[],
did not see an element name (will guess based on comment order) Open
Open
* @param Scope|string|string[]
- Exclude checks
Cannot access private property \Baguette\Mastodon\Mastodon->client
defined at src/Mastodon.php:29
Open
Open
$response = $service->client->requestAPI($method, $path, $options, $service->session);
- Exclude checks
Doc-block of $flash
in last_flash
is phpdoc param type array
which is not a permitted replacement of the nullable param type ?array
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param array $flash
- Exclude checks
Reference to constant INFO
from undeclared class \Monolog\Logger
Open
Open
$logger->pushHandler(new StreamHandler($fp, Logger::INFO, true, null, true));
- Exclude checks