Skip to content

Commit

Permalink
Update to use the new Service_Provider contract in common.
Browse files Browse the repository at this point in the history
  • Loading branch information
borkweb committed Jun 24, 2023
1 parent c326688 commit be13e81
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: events, calendar
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.4
Stable tag: 2.0.0
Stable tag: 2.0.1
License: GPL version 3 or any later version
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -37,6 +37,10 @@ We're always interested in your feedback and our [Help Desk](https://support.the

== Changelog ==

= [2.0.1] 2023-06-24 =

* Fix - Update to use the new Service_Provider contract in common.

= [2.0.0] 2022-06-05 =

* Switched to the new extension codebase.
Expand Down
4 changes: 3 additions & 1 deletion src/Tec/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@

namespace Tec\Extensions\Admin_Bar_Plus;

use TEC\Common\Contracts\Service_Provider;

/**
* Register Assets.
*
* @since 1.0.0
*
* @package Tec\Extensions\Admin_Bar_Plus
*/
class Assets extends \tad_DI52_ServiceProvider {
class Assets extends Service_Provider {
/**
* Binds and sets up implementations.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Tec/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

namespace Tec\Extensions\Admin_Bar_Plus;

use TEC\Common\Contracts\Service_Provider;
use Tribe__Main as Common;

/**
Expand All @@ -30,7 +31,7 @@
*
* @package Tec\Extensions\Admin_Bar_Plus;
*/
class Hooks extends \tad_DI52_ServiceProvider {
class Hooks extends Service_Provider {

/**
* Binds and sets up implementations.
Expand Down
3 changes: 2 additions & 1 deletion src/Tec/PUE.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace Tec\Extensions\Admin_Bar_Plus;

use TEC\Common\Contracts\Service_Provider;
use Tribe__PUE__Checker;

/**
Expand All @@ -18,7 +19,7 @@
*
* @package Tec\Extensions\Admin_Bar_Plus;
*/
class PUE extends \tad_DI52_ServiceProvider {
class PUE extends Service_Provider {

/**
* The slug used for PUE.
Expand Down
5 changes: 3 additions & 2 deletions src/Tec/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace Tec\Extensions\Admin_Bar_Plus;

use TEC\Common\Contracts\Service_Provider;
use Tribe__Dependency;

/**
Expand All @@ -18,15 +19,15 @@
*
* @package Tec\Extensions\Admin_Bar_Plus
*/
class Plugin extends \tad_DI52_ServiceProvider {
class Plugin extends Service_Provider {
/**
* Stores the version for the plugin.
*
* @since 1.0.0
*
* @var string
*/
const VERSION = '2.0.0';
const VERSION = '2.0.1';

/**
* Stores the base slug for the plugin.
Expand Down
2 changes: 1 addition & 1 deletion src/Tec/Plugin_Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Plugin_Register extends Abstract_Plugin_Register {
protected $main_class = Plugin::class;
protected $dependencies = [
'parent-dependencies' => [
'Tribe__Events__Main' => '5.1.0-dev',
'Tribe__Events__Main' => '6.1.2-dev',
],
];
}

0 comments on commit be13e81

Please sign in to comment.