Skip to content

Commit

Permalink
Update package/namespace to WPEmergeThemeCore
Browse files Browse the repository at this point in the history
  • Loading branch information
atanas-dev committed May 3, 2020
1 parent 2b056eb commit 6fa53b2
Show file tree
Hide file tree
Showing 19 changed files with 70 additions and 70 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"autoload": {
"psr-4": {
"WPEmergeTheme\\": "src/"
"WPEmergeThemeCore\\": "src/"
},
"files": [
"config.php"
Expand Down
4 changes: 2 additions & 2 deletions config.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/
Expand Down
8 changes: 4 additions & 4 deletions src/Application/ApplicationMixin.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php
/**
* @package WPEmerge
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Application;
namespace WPEmergeThemeCore\Application;

use WPEmergeTheme\Theme\Theme;
use WPEmergeThemeCore\Theme\Theme;

/**
* Can be applied to your App class via a "@mixin" annotation for better IDE support.
Expand Down
6 changes: 3 additions & 3 deletions src/Assets/Assets.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Assets;
namespace WPEmergeThemeCore\Assets;

use WPEmerge\Helpers\MixedType;

Expand Down
6 changes: 3 additions & 3 deletions src/Assets/AssetsServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Assets;
namespace WPEmergeThemeCore\Assets;

use WPEmerge\ServiceProviders\ServiceProviderInterface;

Expand Down
10 changes: 5 additions & 5 deletions src/Assets/Manifest.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Assets;
namespace WPEmergeThemeCore\Assets;

use WPEmergeTheme\Concerns\JsonFileNotFoundException;
use WPEmergeTheme\Concerns\ReadsJsonTrait;
use WPEmergeThemeCore\Concerns\JsonFileNotFoundException;
use WPEmergeThemeCore\Concerns\ReadsJsonTrait;

class Manifest {
use ReadsJsonTrait {
Expand Down
6 changes: 3 additions & 3 deletions src/Avatar/Avatar.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Avatar;
namespace WPEmergeThemeCore\Avatar;

use WP_Comment;

Expand Down
6 changes: 3 additions & 3 deletions src/Avatar/AvatarServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Avatar;
namespace WPEmergeThemeCore\Avatar;

use WPEmerge\ServiceProviders\ServiceProviderInterface;

Expand Down
6 changes: 3 additions & 3 deletions src/Concerns/JsonFileInvalidException.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Concerns;
namespace WPEmergeThemeCore\Concerns;

use Exception;

Expand Down
6 changes: 3 additions & 3 deletions src/Concerns/JsonFileNotFoundException.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Concerns;
namespace WPEmergeThemeCore\Concerns;

use Exception;

Expand Down
6 changes: 3 additions & 3 deletions src/Concerns/ReadsJsonTrait.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Concerns;
namespace WPEmergeThemeCore\Concerns;

use WPEmerge\Support\Arr;

Expand Down
8 changes: 4 additions & 4 deletions src/Config/Config.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Config;
namespace WPEmergeThemeCore\Config;

use WPEmergeTheme\Concerns\ReadsJsonTrait;
use WPEmergeThemeCore\Concerns\ReadsJsonTrait;

class Config {
use ReadsJsonTrait {
Expand Down
6 changes: 3 additions & 3 deletions src/Config/ConfigServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Config;
namespace WPEmergeThemeCore\Config;

use WPEmerge\ServiceProviders\ServiceProviderInterface;

Expand Down
6 changes: 3 additions & 3 deletions src/Image/Image.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Image;
namespace WPEmergeThemeCore\Image;

use WPEmerge\Helpers\MixedType;

Expand Down
6 changes: 3 additions & 3 deletions src/Image/ImageServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Image;
namespace WPEmergeThemeCore\Image;

use WPEmerge\ServiceProviders\ServiceProviderInterface;

Expand Down
6 changes: 3 additions & 3 deletions src/Sidebar/Sidebar.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Sidebar;
namespace WPEmergeThemeCore\Sidebar;

class Sidebar {
/**
Expand Down
6 changes: 3 additions & 3 deletions src/Sidebar/SidebarServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Sidebar;
namespace WPEmergeThemeCore\Sidebar;

use WPEmerge\ServiceProviders\ServiceProviderInterface;

Expand Down
30 changes: 15 additions & 15 deletions src/Theme/Theme.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Theme;
namespace WPEmergeThemeCore\Theme;

use WPEmerge\Application\Application;

Expand All @@ -32,45 +32,45 @@ public function __construct( $app ) {
}

/**
* Shortcut to \WPEmergeTheme\Assets\Assets.
* Shortcut to \WPEmergeThemeCore\Assets\Assets.
*
* @return \WPEmergeTheme\Assets\Assets
* @return \WPEmergeThemeCore\Assets\Assets
*/
public function assets() {
return $this->app->resolve( 'wpemerge_theme.assets.assets' );
}

/**
* Shortcut to \WPEmergeTheme\Avatar\Avatar.
* Shortcut to \WPEmergeThemeCore\Avatar\Avatar.
*
* @return \WPEmergeTheme\Avatar\Avatar
* @return \WPEmergeThemeCore\Avatar\Avatar
*/
public function avatar() {
return $this->app->resolve( 'wpemerge_theme.avatar.avatar' );
}

/**
* Shortcut to \WPEmergeTheme\Config\Config.
* Shortcut to \WPEmergeThemeCore\Config\Config.
*
* @return \WPEmergeTheme\Config\Config
* @return \WPEmergeThemeCore\Config\Config
*/
public function config() {
return $this->app->resolve( 'wpemerge_theme.config.config' );
}

/**
* Shortcut to \WPEmergeTheme\Image\Image.
* Shortcut to \WPEmergeThemeCore\Image\Image.
*
* @return \WPEmergeTheme\Image\Image
* @return \WPEmergeThemeCore\Image\Image
*/
public function image() {
return $this->app->resolve( 'wpemerge_theme.image.image' );
}

/**
* Shortcut to \WPEmergeTheme\Sidebar\Sidebar.
* Shortcut to \WPEmergeThemeCore\Sidebar\Sidebar.
*
* @return \WPEmergeTheme\Sidebar\Sidebar
* @return \WPEmergeThemeCore\Sidebar\Sidebar
*/
public function sidebar() {
return $this->app->resolve( 'wpemerge_theme.sidebar.sidebar' );
Expand Down Expand Up @@ -104,9 +104,9 @@ public function partial( $partial, $child = '', $context = [] ) {
}

/**
* Alias for WPEmergeTheme\Assets\Assets::getThemeUri().
* Alias for WPEmergeThemeCore\Assets\Assets::getThemeUri().
*
* @see \WPEmergeTheme\Assets\Assets::getThemeUri
* @see \WPEmergeThemeCore\Assets\Assets::getThemeUri
* @return string
*/
public function uri() {
Expand Down
6 changes: 3 additions & 3 deletions src/Theme/ThemeServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @package WPEmergeTheme
* @package WPEmergeThemeCore
* @author Atanas Angelov <[email protected]>
* @copyright 2017-2019 Atanas Angelov
* @copyright 2017-2020 Atanas Angelov
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
* @link https://wpemerge.com/
*/

namespace WPEmergeTheme\Theme;
namespace WPEmergeThemeCore\Theme;

use WPEmerge\ServiceProviders\ServiceProviderInterface;

Expand Down

0 comments on commit 6fa53b2

Please sign in to comment.