BaguettePHP/mastodon-api

View on GitHub

Showing 443 of 443 total issues

Call to method __construct from undeclared class \GuzzleHttp\Client (Did you mean class \Baguette\Mastodon\Client)
Open

        $this->client->setAPIHttpClient(new \GuzzleHttp\Client([
Severity: Critical
Found in tests/RequesterTestCase.php by phan

Call to undeclared method \Baguette\Mastodon\functions\SessionTest::assertInstanceOf
Open

        $this->assertInstanceOf(Mastodon\Client::class, $actual->client);
Severity: Critical
Found in tests/functions/SessionTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AccountTest::assertEquals
Open

        $this->assertEquals(isset($input['followers_count']) ? $input['followers_count'] : null, $actual->followers_count);
Severity: Critical
Found in tests/Entity/AccountTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AccountTest::assertEquals
Open

        $this->assertEquals(isset($input['following_count']) ? $input['following_count'] : null, $actual->following_count);
Severity: Critical
Found in tests/Entity/AccountTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AccountTest::assertEquals
Open

        $this->assertEquals(isset($input['avatar_static'])   ? $input['avatar_static']   : null, $actual->avatar_static);
Severity: Critical
Found in tests/Entity/AccountTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\Error_Test::assertEquals
Open

        $this->assertEquals(isset($input['error']) ? $input['error'] : null, $actual->error);
Severity: Critical
Found in tests/Entity/Error_Test.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\MentionTest::assertEquals
Open

        $this->assertEquals($expected['toArray'], toArrayValue($actual));
Severity: Critical
Found in tests/Entity/MentionTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\NotificationTest::assertEquals
Open

        $this->assertEquals(isset($input['account']) ? $input['account'] : null, $actual->account);
Severity: Critical
Found in tests/Entity/NotificationTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['mentions'])    ? $input['mentions']    : null, $actual->mentions);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Service\TootTest::assertSame
Open

        $this->assertSame($toot_string, $actual->toot_string);
Severity: Critical
Found in tests/Service/TootTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open

        $this->assertEquals(isset($input['text_url'])    ? $input['text_url']    : null, $actual->text_url);
Severity: Critical
Found in tests/Entity/AttachmentTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\InstanceTest::assertEquals
Open

        $this->assertEquals(isset($input['email'])  ? $input['email']  : null, $actual->email);
Severity: Critical
Found in tests/Entity/InstanceTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\InstanceTest::assertEquals
Open

        $this->assertEquals($expected['toArray'], toArrayValue($actual));
Severity: Critical
Found in tests/Entity/InstanceTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\MentionTest::assertEquals
Open

        $this->assertEquals(isset($input['url'])      ? $input['url']      : null, $actual->url);
Severity: Critical
Found in tests/Entity/MentionTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['id'])      ? $input['id']      : null, $actual->id);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['url'])     ? $input['url']     : null, $actual->url);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\TagTest::assertEquals
Open

        $this->assertEquals(isset($input['url'])  ? $input['url']  : null, $actual->url);
Severity: Critical
Found in tests/Entity/TagTest.php by phan

Call to undeclared method \Baguette\Mastodon\functions\SessionTest::assertInstanceOf
Open

        $this->assertInstanceOf(Mastodon\Mastodon::class, $actual);
Severity: Critical
Found in tests/functions/SessionTest.php by phan

Call to undeclared method \Baguette\Mastodon\functions\TootTest::assertInstanceOf
Open

        $this->assertInstanceOf(Toot::class, $actual);
Severity: Critical
Found in tests/functions/TootTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\StatusTest::assertEquals
Open

        $this->assertEquals(isset($input['reblogged'])    ? $input['reblogged']    : null, $actual->reblogged);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan
Severity
Category
Status
Source
Language