BaguettePHP/mastodon-api

View on GitHub

Showing 443 of 443 total issues

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

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

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\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\Entity\StatusTest::assertEquals
Open

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

Possibly zero references to use statement for classlike/namespace MockHandler (\GuzzleHttp\Handler\MockHandler)
Open

use GuzzleHttp\Handler\MockHandler;
Severity: Minor
Found in tests/Requester/AccountTest.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\ApplicationTest::assertEquals
Open

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

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

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

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

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

Parameter $http has undeclared type \GuzzleHttp\ClientInterface
Open

    public function auth(GuzzleHttpClient $http, AuthFactory $factory, Scope $scope)
Severity: Minor
Found in tests/Grant/DummyGrant.php by phan

Returning type \GuzzleHttp\Psr7\Response but auth() is declared to return \Psr\Http\Message\ResponseInterface
Open

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

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

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

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

        $this->assertInstanceOf($expected_concrete, $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['avatar'])          ? $input['avatar']          : null, $actual->avatar);
Severity: Critical
Found in tests/Entity/AccountTest.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['username']) ? $input['username'] : null, $actual->username);
Severity: Critical
Found in tests/Entity/MentionTest.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['uri'])     ? $input['uri']     : null, $actual->uri);
Severity: Critical
Found in tests/Entity/StatusTest.php by phan
Severity
Category
Status
Source
Language