Showing 443 of 443 total issues
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
Call to undeclared method \Baguette\Mastodon\Grant\GrantTest::assertEquals
Open
Open
$this->assertEquals($expected, DummyGrant::getFormParamsWithSecret($factory));
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Service\TootTest::assertEquals
Open
Open
$this->assertEquals(isset($options['media_ids']) ? $options['media_ids'] : [], $actual->media_ids);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Grant\NoopGrantTest::assertInstanceOf
Open
Open
$this->assertInstanceOf(Grant::class, $actual);
- Exclude checks
Call to method append
from undeclared class \GuzzleHttp\Handler\MockHandler
Open
Open
$this->guzzle_mock_handler->append($response);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\AccountTest::assertEquals
Open
Open
$this->assertEquals(isset($input['statuses_count']) ? $input['statuses_count'] : null, $actual->statuses_count);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\CardTest::assertEquals
Open
Open
$this->assertEquals(isset($input['url']) ? $input['url'] : null, $actual->url);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\CardTest::assertEquals
Open
Open
$this->assertEquals(isset($input['title']) ? $input['title'] : null, $actual->title);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\CardTest::assertEquals
Open
Open
$this->assertEquals($expected['toArray'], toArrayValue($actual));
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open
Open
$this->assertEquals(isset($input['visibility']) ? $input['visibility'] : null, $actual->visibility);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\functions\SessionTest::assertInstanceOf
Open
Open
$this->assertInstanceOf(SessionStorage::class, $actual->session);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\AccountTest::assertEquals
Open
Open
$this->assertEquals(isset($input['url']) ? $input['url'] : null, $actual->url);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open
Open
$this->assertEquals(isset($input['url']) ? $input['url'] : null, $actual->url);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\CardTest::assertEquals
Open
Open
$this->assertEquals(isset($input['description']) ? $input['description'] : null, $actual->description);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\Error_Test::assertEquals
Open
Open
$this->assertEquals($expected['toArray'], toArrayValue($actual));
- Exclude checks
Reference to undeclared property \Baguette\Mastodon\Entity\Status->in_reply_to_account_id
(Did you mean expr->in_reply_to_accountid) Open
Open
$this->assertEquals(isset($input['in_reply_to_account_id']) ? $input['in_reply_to_account_id'] : null, $actual->in_reply_to_account_id);
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open
Open
$this->assertEquals(isset($input['media_attachments']) ? $input['media_attachments'] : null, $actual->media_attachments);
- Exclude checks
Static call to undeclared method \Baguette\Mastodon\TestCase::setUp
Open
Open
parent::setUp();
- Exclude checks
Call to method __construct
from undeclared class \GuzzleHttp\Handler\MockHandler
Open
Open
$this->guzzle_mock_handler = new MockHandler;
- Exclude checks
Call to undeclared method \Baguette\Mastodon\Entity\AccountTest::assertEquals
Open
Open
$this->assertEquals(isset($input['created_at']) ? new \DateTimeImmutable($input['created_at']) : null, $actual->created_at);
- Exclude checks