BaguettePHP/mastodon-api

View on GitHub

Showing 443 of 443 total issues

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

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

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

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

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

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

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\functions\ScopeTest::assertInstanceOf
Open

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

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

        $this->assertInstanceOf(SessionStorage::class, $actual->session);
Severity: Critical
Found in tests/functions/SessionTest.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['statuses_count'])  ? $input['statuses_count']  : null, $actual->statuses_count);
Severity: Critical
Found in tests/Entity/AccountTest.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\StatusTest::assertEquals
Open

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