BaguettePHP/mastodon-api

View on GitHub

Showing 443 of 443 total issues

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

        $this->assertEquals($expected['toArray'], toArrayValue($actual));
Severity: Critical
Found in tests/Entity/TagTest.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 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

Class extends undeclared class \PHPUnit_Framework_TestCase
Open

abstract class TestCase extends \PHPUnit_Framework_TestCase
Severity: Critical
Found in tests/TestCase.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\StatusTest::assertEquals
Open

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

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

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

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

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

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

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

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

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

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

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

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

        $this->assertEquals(isset($input['type']) ? $input['type'] : null, $actual->type);
Severity: Critical
Found in tests/Entity/NotificationTest.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\InstanceTest::assertEquals
Open

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

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

        $this->assertEquals(isset($input['acct'])     ? $input['acct']     : null, $actual->acct);
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\helpersTest::assertEquals
Open

        $this->assertEquals($expected, $input);
Severity: Critical
Found in tests/Entity/helpersTest.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 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
Severity
Category
Status
Source
Language