Skip to content

Commit

Permalink
Changed directories structure
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-stepien committed Jun 8, 2021
1 parent 78e511a commit 922a7fc
Show file tree
Hide file tree
Showing 21 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $api = new Wargaming\API($lang, $server);

// Test how it works
try {
$data = $api->get('wgn/clans/list', ['search'=>'PSQD']);
$data = $api->get('wgn/clans/list', ['search'=>'PSQD','fields'=>'name,tag,clan_id']);

// Display info about WoT Clan PSQD
var_dump($data);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"autoload": {
"psr-4": {
"Wargaming\\": "Wargaming/"
"Wargaming\\": "src/"
}
},
"conflict": {
Expand Down
2 changes: 1 addition & 1 deletion Wargaming/Api.php → src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Wargaming;

use Exception;
use Wargaming\Language\LanguagePrototype;
use Wargaming\Server\ServerPrototype;
use Wargaming\Language\LanguagePrototype;

/**
* Class takes care of accessing and processing Wargaming API requests.
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/CS.php → src/Language/CS.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class CS
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/DE.php → src/Language/DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class DE
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/EN.php → src/Language/EN.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class EN
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/ES.php → src/Language/ES.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class ES
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/FR.php → src/Language/FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class FR
* @package Wargaming\Language
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions Wargaming/Language/PL.php → src/Language/PL.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class PL
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/RU.php → src/Language/RU.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class RU
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/TH.php → src/Language/TH.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class TH
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/TR.php → src/Language/TR.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class TR
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/VI.php → src/Language/VI.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class VI
* @package Wargaming\Language
Expand Down
2 changes: 0 additions & 2 deletions Wargaming/Language/ZHCN.php → src/Language/ZHCN.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Wargaming\Language;

use Exception;

/**
* Class ZHCN
* @package Wargaming\Language
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 922a7fc

Please sign in to comment.