diff --git a/composer.json b/composer.json index 6e5de3f..a93a035 100644 --- a/composer.json +++ b/composer.json @@ -21,12 +21,12 @@ }, "autoload": { "psr-4": { - "PDFGeneratorAPI\\": "src/" + "ActualReports\\PDFGeneratorAPI\\": "src/" } }, "autoload-dev": { "psr-4": { - "PDFGeneratorAPI\\Tests\\": "tests/" + "ActualReports\\PDFGeneratorAPI\\Tests\\": "tests/" } } } diff --git a/src/Client.php b/src/Client.php index d63cb7a..97540d0 100644 --- a/src/Client.php +++ b/src/Client.php @@ -3,7 +3,7 @@ * Created by tanel @14.11.17 11:13 */ -namespace PDFGeneratorAPI; +namespace ActualReports\PDFGeneratorAPI; use GuzzleHttp\Exception\RequestException; use Psr\Http\Message\ResponseInterface; diff --git a/src/Exception.php b/src/Exception.php index 2c7b466..da364b5 100644 --- a/src/Exception.php +++ b/src/Exception.php @@ -3,7 +3,7 @@ * Created by tanel @14.11.17 11:45 */ -namespace PDFGeneratorAPI; +namespace ActualReports\PDFGeneratorAPI; class Exception extends \Exception { diff --git a/tests/Client.php b/tests/Client.php index c39ce48..a596b2d 100644 --- a/tests/Client.php +++ b/tests/Client.php @@ -3,14 +3,14 @@ * Created by tanel @14.11.17 11:23 */ -namespace PDFGeneratorAPI\Tests; +namespace ActualReports\PDFGeneratorAPI\Tests; -use PDFGeneratorAPI\Exception; +use ActualReports\PDFGeneratorAPI\Exception; class Client extends \PHPUnit_Framework_TestCase { /** - * @var \PDFGeneratorAPI\Client + * @var \ActualReports\PDFGeneratorAPI\Client */ protected $client; protected $token = '61e5f04ca1794253ed17e6bb986c1702'; @@ -23,7 +23,7 @@ public function setUp() { parent::setUp(); - $this->client = new \PDFGeneratorAPI\Client($this->token, $this->secret, $this->workspace); + $this->client = new \ActualReports\PDFGeneratorAPI\Client($this->token, $this->secret, $this->workspace); $this->client->setBaseUrl($this->host.'/api/v3'); }