BaguettePHP/mastodon-api

View on GitHub
src/Service/AuthFactory.php

Summary

Maintainability
A
0 mins
Test Coverage

Cannot modify read-only magic property \Baguette\Mastodon\Service\AuthFactory->client_secret defined at src/Service/AuthFactory.php:17
Open

        $this->client_secret = $client_secret;
Severity: Minor
Found in src/Service/AuthFactory.php by phan

Call to undeclared function \GuzzleHttp\json_decode() (Did you mean \json_decode() or \json_encode())
Open

        return Authorization::fromObject(\GuzzleHttp\json_decode($res->getBody()));
Severity: Critical
Found in src/Service/AuthFactory.php by phan

Class uses undeclared trait \Teto\Object\PrivateGetter
Open

class AuthFactory
Severity: Critical
Found in src/Service/AuthFactory.php by phan

Cannot modify read-only magic property \Baguette\Mastodon\Service\AuthFactory->client defined at src/Service/AuthFactory.php:15
Open

        $this->client = $client;
Severity: Minor
Found in src/Service/AuthFactory.php by phan

Cannot modify read-only magic property \Baguette\Mastodon\Service\AuthFactory->grant defined at src/Service/AuthFactory.php:18
Open

        $this->grant = $grant;
Severity: Minor
Found in src/Service/AuthFactory.php by phan

Cannot modify read-only magic property \Baguette\Mastodon\Service\AuthFactory->client_id defined at src/Service/AuthFactory.php:16
Open

        $this->client_id = $client_id;
Severity: Minor
Found in src/Service/AuthFactory.php by phan

There are no issues that match your filters.

Category
Status