Skip to content

Commit

Permalink
namespace renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
x-fran committed Dec 30, 2021
1 parent a3f5cde commit 088f802
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
},
"autoload": {
"psr-4": {
"Google\\": "src/Google"
"XFran\\GTrends\\": "src/GTrends"
}
},
"autoload-dev": {
"psr-4": {
"GoogleTest\\": "test/GoogleTest"
"XFran\\GTrends\\": "test/GTrends"
}
}
}
12 changes: 6 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

require 'vendor/autoload.php';

use Google\GTrends;
use XFran\GTrends\GTrends;

$options = [
'hl' => 'en-US',
'tz' => 0,
'geo' => 'US',
'time' => 'all',
'category' => 0,
'hl' => 'en-US',
'tz' => 0,
'geo' => 'US',
'time' => 'all',
'category' => 0,
];
$gt = new GTrends($options);

Expand Down
2 changes: 1 addition & 1 deletion src/Google/GTrends.php → src/GTrends/GTrends.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Google;
namespace XFran\GTrends;

use Laminas\Http;
use Laminas\Json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php

namespace GoogleTest;
namespace XFran\GTrends;

use Google\GTrends;
use PHPUnit\Framework\TestCase;

class GTrendsTest extends TestCase
Expand Down

0 comments on commit 088f802

Please sign in to comment.