BaguettePHP/mastodon-api

View on GitHub

Showing 443 of 443 total issues

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

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

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

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

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

        $this->assertEquals(isset($options['sensitive'])      ? $options['sensitive']      : null, $actual->sensitive);
Severity: Critical
Found in tests/Service/TootTest.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\Entity\AccountTest::assertEquals
Open

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

Static call to undeclared method \Baguette\Mastodon\TestCase::setUp
Open

        parent::setUp();
Severity: Critical
Found in tests/RequesterTestCase.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\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\Entity\ApplicationTest::assertEquals
Open

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

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

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

        $this->assertEquals(isset($input['status'])  ? $input['status']  : null, $actual->status);
Severity: Critical
Found in tests/Entity/NotificationTest.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 method __construct from undeclared class \GuzzleHttp\Psr7\Response
Open

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

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

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

Cannot access private property \Baguette\Mastodon\Mastodon->client defined at src/Mastodon.php:29
Open

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

Property \Baguette\Mastodon\RequesterTestCase->guzzle_mock_handler has undeclared type \GuzzleHttp\Handler\MockHandler
Open

    private $guzzle_mock_handler;
Severity: Minor
Found in tests/RequesterTestCase.php by phan
Severity
Category
Status
Source
Language