Skip to content

Commit 691b6b4

Browse files
committed
Fix Pico compatibility
1 parent 7ee890e commit 691b6b4

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

PicoDeprecated.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* License-Filename: LICENSE
1717
*/
1818

19-
use picocms\Pico\AbstractPlugin as AbstractPicoPlugin;
20-
use picocms\Pico\Pico;
21-
use picocms\Pico\PluginInterface as PicoPluginInterface;
2219
use picocms\PicoDeprecated\Plugin\MainPlugin;
2320
use picocms\PicoDeprecated\PluginApiPluginInterface;
2421
use picocms\PicoDeprecated\PluginInterface;

lib/AbstractPlugin.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@
1212

1313
namespace picocms\PicoDeprecated;
1414

15-
use picocms\Pico\Pico;
1615
use PicoDeprecated;
1716

1817
/**
1918
* Abstract class to extend from when implementing a PicoDeprecated
2019
* compatibility plugin
2120
*
22-
* Please refer to {@see PluginInterface} for more information about how to
21+
* Please refer to {@see PicoPluginInterface} for more information about how to
2322
* develop a PicoDeprecated compatibility plugin.
2423
*
25-
* @see PluginInterface
24+
* @see PicoPluginInterface
2625
*
2726
* @author Daniel Rudolf
2827
* @link http://picocms.org
@@ -34,7 +33,7 @@ abstract class AbstractPlugin implements PluginInterface
3433
/**
3534
* Current instance of Pico
3635
*
37-
* @see PluginInterface::getPico()
36+
* @see PicoPluginInterface::getPico()
3837
*
3938
* @var Pico
4039
*/
@@ -52,7 +51,7 @@ abstract class AbstractPlugin implements PluginInterface
5251
/**
5352
* List of plugins which this plugin depends on
5453
*
55-
* @see PluginInterface::getDependencies()
54+
* @see PicoPluginInterface::getDependencies()
5655
*
5756
* @var string[]
5857
*/

lib/PluginInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
namespace picocms\PicoDeprecated;
1414

15-
use picocms\Pico\Pico;
1615
use PicoDeprecated;
1716

1817
/**

plugins/PluginApi0Plugin.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
namespace picocms\PicoDeprecated\Plugin;
2222

23-
use picocms\Pico\Pico;
2423
use picocms\PicoDeprecated\AbstractPluginApiPlugin;
2524
use PicoDeprecated;
2625
use Twig\Environment as TwigEnvironment;

0 commit comments

Comments
 (0)