File tree 3 files changed +11
-19
lines changed
3 files changed +11
-19
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ Console commands for [Apitte](https://github.com/apitte/core).
21
21
22
22
## Version
23
23
24
- | State | Version | Branch | PHP | Composer |
25
- | -------------| --------------| ----------| ----------| -------------------------------------------------|
26
- | development | ` ^0.6.0 ` | ` master ` | ` >= 7.1 ` | ` minimum-stability: dev ` , ` prefer-stable: true ` |
27
- | stable | ` ^0.5.0 ` | ` master ` | ` >= 7.1 ` | |
28
- | stable | ` ^0.3.0 ` | ` master ` | ` >= 5.6 ` | |
24
+ | State | Version | Branch | Nette | PHP |
25
+ | -------------| ---------| ----------| -------| ---------|
26
+ | dev | ` ^0.7 ` | ` master ` | 3.0+ | ` ^7.2 ` |
27
+ | stable | ` ^0.6 ` | ` master ` | 3.0+ | ` ^7.2 ` |
28
+ | stable | ` ^0.5 ` | ` master ` | 2.4 | ` >=7.1 ` |
29
+ | stable | ` ^0.3 ` | ` master ` | 2.4 | ` >=5.6 ` |
29
30
30
31
## Maintainers
31
32
Original file line number Diff line number Diff line change 16
16
},
17
17
"require-dev" : {
18
18
"apitte/negotiation" : " ^0.6.0" ,
19
- "nette/di" : " ~2.4.15" ,
20
19
"ninjify/nunjuck" : " ^0.2.0" ,
21
20
"ninjify/qa" : " ^0.8.0" ,
22
21
"phpstan/extension-installer" : " ^1.0" ,
25
24
"phpstan/phpstan-shim" : " ^0.11" ,
26
25
"phpstan/phpstan-strict-rules" : " ^0.11"
27
26
},
28
- "conflict" : {
29
- "apitte/negotiation" : " <0.6.0" ,
30
- "nette/di" : " <2.4.15"
31
- },
32
27
"autoload" : {
33
28
"psr-4" : {
34
29
"Apitte\\ Console\\ " : " src"
41
36
},
42
37
"extra" : {
43
38
"branch-alias" : {
44
- "dev-master" : " 0.6 .x-dev"
39
+ "dev-master" : " 0.7 .x-dev"
45
40
}
46
41
}
47
42
}
Original file line number Diff line number Diff line change 3
3
namespace Apitte \Console \DI ;
4
4
5
5
use Apitte \Console \Command \RouteDumpCommand ;
6
- use Apitte \Core \DI \Plugin \AbstractPlugin ;
7
- use Apitte \Core \DI \Plugin \PluginCompiler ;
6
+ use Apitte \Core \DI \Plugin \Plugin ;
8
7
9
- final class ConsolePlugin extends AbstractPlugin
8
+ final class ConsolePlugin extends Plugin
10
9
{
11
10
12
- public const PLUGIN_NAME = 'console ' ;
13
-
14
- public function __construct (PluginCompiler $ compiler )
11
+ public static function getName (): string
15
12
{
16
- parent ::__construct ($ compiler );
17
- $ this ->name = self ::PLUGIN_NAME ;
13
+ return 'console ' ;
18
14
}
19
15
20
16
public function beforePluginCompile (): void
You can’t perform that action at this time.
0 commit comments