Showing 443 of 443 total issues
Doc-block of $router
in router
is phpdoc param type \Teto\Routing\Router
which is not a permitted replacement of the nullable param type ?\Teto\Routing\Router
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param Router $router
- Exclude checks
Parameter $action
has undeclared type \Teto\Routing\Action
Open
Open
$routes['auth_callback'] = ['GET', '/auth/callback', function (Action $action) {
- Exclude checks
Call to method contains
from undeclared class \Respect\Validation\Validator
Open
Open
v::stringType()->not(v::contains("\n"))->assert($app_name);
- Exclude checks
Saw unextractable annotation for comment '* @Return array'
Open
Open
* @Return array
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Config\DotEnvStorage::normaliseEnvironmentVariable
Open
Open
list($key, $val) = $this->normaliseEnvironmentVariable($line, '');
- Exclude checks
Class uses undeclared trait \Teto\Object\TypedProperty
Open
Open
class Card extends Entity
- Exclude checks
Call to method toArray
from undeclared class \Teto\Object\Helper
Open
Open
return \Teto\Object\Helper::toArray($value);
- Exclude checks
Call to method intVal
from undeclared class \Respect\Validation\Validator
Open
Open
v::intVal()->min(0)->assert($options['max_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
Cannot modify read-only magic property \Baguette\Mastodon\Service\toot->media_ids
defined at src/Service/Toot.php:14
Open
Open
$this->media_ids = $ids;
- Exclude checks
Cannot access private property \Baguette\Mastodon\Mastodon->session
defined at src/Mastodon.php:31
Open
Open
$response = $service->client->requestAPI($method, $path, $options, $service->session);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\AccountTest::assertEquals
Open
Open
$this->assertEquals(isset($input['display_name']) ? $input['display_name'] : null, $actual->display_name);
- Exclude checks
Parameter $action
has undeclared type \Teto\Routing\Action
Open
Open
$routes['index'] = ['GET', '/', function (Action $action) {
- Exclude checks
Call to method __construct
from undeclared class \Teto\Routing\Router
Open
Open
router($router = new \Teto\Routing\Router($routes));
- Exclude checks
Reference to undeclared class \Dotenv\Loader
Open
Open
parent::__construct($file_path);
- Exclude checks
Call to method intType
from undeclared class \Respect\Validation\Validator
Open
Open
v::intType()->min(0)->assert($created_at);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\Status::setProperties
Open
Open
$this->setProperties(mapValues($properties, [
- Exclude checks
Class uses undeclared trait \Teto\Object\TypedProperty
Open
Open
class Tag extends Entity
- 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
Doc-block of $scope
in auth
is phpdoc param type \Baguette\Mastodon\Service\Scope
which is not a permitted replacement of the nullable param type ?\Baguette\Mastodon\Service\Scope
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param Scope $scope
- Exclude checks