BaguettePHP/mastodon-api

View on GitHub

Showing 443 of 443 total issues

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

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

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

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

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

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

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

        $this->assertEquals(isset($input['in_reply_to_id'])         ? $input['in_reply_to_id'] : null, $actual->in_reply_to_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['favourites_count']) ? $input['favourites_count'] : null, $actual->favourites_count);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan

Call to undeclared method \Baguette\Mastodon\Grant\GrantTest::assertEquals
Open

        $this->assertEquals($expected, DummyGrant::getPathToOAuthToken($client));
Severity: Critical
Found in tests/Grant/GrantTest.php by phan

Call to method __construct from undeclared class \GuzzleHttp\Psr7\Response
Open

        $response = new Response($status, $headers, $body, $version, $reason);
Severity: Critical
Found in tests/RequesterTestCase.php by phan

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

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

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

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

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

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

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

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

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

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

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

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

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

        $this->assertEquals($expected, $input);
Severity: Critical
Found in tests/Entity/helpersTest.php by phan

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

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

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

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

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

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

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

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

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

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

Call to method __construct from undeclared class \GuzzleHttp\Psr7\Response
Open

        return new \GuzzleHttp\Psr7\Response;
Severity: Critical
Found in tests/Grant/DummyGrant.php by phan
Severity
Category
Status
Source
Language