Skip to content
Permalink
Browse files

Nette 3

  • Loading branch information...
mabar authored and f3l1x committed Jun 13, 2019
1 parent 675642b commit b99dd2477d650514eb706580f43cc92ce71fc381
Showing with 11 additions and 19 deletions.
  1. +6 −5 README.md
  2. +1 −6 composer.json
  3. +4 −8 src/DI/ConsolePlugin.php
@@ -21,11 +21,12 @@ Console commands for [Apitte](https://github.com/apitte/core).

## Version

| State | Version | Branch | PHP | Composer |
|-------------|--------------|----------|----------|-------------------------------------------------|
| development | `^0.6.0` | `master` | `>= 7.1` | `minimum-stability: dev`, `prefer-stable: true` |
| stable | `^0.5.0` | `master` | `>= 7.1` | |
| stable | `^0.3.0` | `master` | `>= 5.6` | |
| State | Version | Branch | Nette | PHP |
|-------------|---------|----------|-------|---------|
| dev | `^0.7` | `master` | 3.0+ | `^7.2` |
| stable | `^0.6` | `master` | 3.0+ | `^7.2` |
| stable | `^0.5` | `master` | 2.4 | `>=7.1` |
| stable | `^0.3` | `master` | 2.4 | `>=5.6` |

## Maintainers

@@ -16,7 +16,6 @@
},
"require-dev": {
"apitte/negotiation": "^0.6.0",
"nette/di": "~2.4.15",
"ninjify/nunjuck": "^0.2.0",
"ninjify/qa": "^0.8.0",
"phpstan/extension-installer": "^1.0",
@@ -25,10 +24,6 @@
"phpstan/phpstan-shim": "^0.11",
"phpstan/phpstan-strict-rules": "^0.11"
},
"conflict": {
"apitte/negotiation": "<0.6.0",
"nette/di": "<2.4.15"
},
"autoload": {
"psr-4": {
"Apitte\\Console\\": "src"
@@ -41,7 +36,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "0.6.x-dev"
"dev-master": "0.7.x-dev"
}
}
}
@@ -3,18 +3,14 @@
namespace Apitte\Console\DI;
use Apitte\Console\Command\RouteDumpCommand;
use Apitte\Core\DI\Plugin\AbstractPlugin;
use Apitte\Core\DI\Plugin\PluginCompiler;
use Apitte\Core\DI\Plugin\Plugin;
final class ConsolePlugin extends AbstractPlugin
final class ConsolePlugin extends Plugin
{
public const PLUGIN_NAME = 'console';
public function __construct(PluginCompiler $compiler)
public static function getName(): string
{
parent::__construct($compiler);
$this->name = self::PLUGIN_NAME;
return 'console';
}
public function beforePluginCompile(): void

0 comments on commit b99dd24

Please sign in to comment.
You can’t perform that action at this time.