Showing 443 of 443 total issues
Class uses undeclared trait \Teto\Object\ReadOnly
Open
Open
final class Mastodon
- Exclude checks
Cannot modify read-only magic property \Baguette\Mastodon\Service\authorization->scope
defined at src/Service/Authorization.php:13
Open
Open
$this->scope = $scope;
- Exclude checks
Class uses undeclared trait \Teto\Object\PrivateGetter
Open
Open
class Toot
- Exclude checks
Saw an @param annotation for scopes,
but it was not found in the param list of function __construct($toot_string, array $options)
Open
Open
* @param string[] $scopes
- Exclude checks
Call to undeclared function \GuzzleHttp\json_decode()
(Did you mean \json_decode() or \json_encode()) Open
Open
return Entity\map($class, \GuzzleHttp\json_decode($response->getBody(), true));
- Exclude checks
Reference to undeclared class \Dotenv\Loader
Open
Open
parent::__construct($file_path);
- Exclude checks
Call to method contains
from undeclared class \Respect\Validation\Validator
Open
Open
v::stringType()->not(v::contains("\n"))->assert($username);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Config\DotEnvStorage::normaliseEnvironmentVariable
Open
Open
list($key, $val) = $this->normaliseEnvironmentVariable($line, '');
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\Notification::setProperties
Open
Open
$this->setProperties(mapValues($properties, [
- Exclude checks
Possibly zero references to use statement for classlike/namespace ClassStub
(\Symfony\Component\VarDumper\Caster\ClassStub)
Open
Open
use Symfony\Component\VarDumper\Caster\ClassStub;
- Exclude checks
Call to method intVal
from undeclared class \Respect\Validation\Validator
Open
Open
v::intVal()->min(0)->assert($options['since_id']);
- Exclude checks
Cannot modify read-only magic property \Baguette\Mastodon\Service\AuthFactory->client_id
defined at src/Service/AuthFactory.php:16
Open
Open
$this->client_id = $client_id;
- Exclude checks
Class uses undeclared trait \Teto\Object\PrivateGetter
Open
Open
class Authorization
- Exclude checks
Call to method intType
from undeclared class \Respect\Validation\Validator
Open
Open
v::intType()->assert($options['in_reply_to_id']);
- Exclude checks
Call to method in
from undeclared class \Respect\Validation\Validator
Open
Open
v::in(Toot::$VISIBILITIES)->assert($options['visibility']);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Config\DotEnvStorageTest::assertEquals
Open
Open
$this->assertEquals($expected['getUsernameAndPassword'], $actual->getUsernameAndPassword());
- Exclude checks
Possibly zero references to use statement for classlike/namespace Mastodon
(\Baguette\Mastodon)
Open
Open
use Baguette\Mastodon;
- Exclude checks
Parameter $client
has undeclared type \GuzzleHttp\Client
(Did you mean class \Baguette\Mastodon\Client) Open
Open
public function setAPIHttpClient(\GuzzleHttp\Client $client)
- Exclude checks
Class uses undeclared trait \Teto\Object\TypedProperty
Open
Open
class Status extends Entity
- Exclude checks
Doc-block of $http
in auth
contains phpdoc param type \Baguette\Mastodon\Grant\Client
which is incompatible with the param type \GuzzleHttp\ClientInterface
declared in the signature Open
Open
* @param Client $http
- Exclude checks