Skip to content

Commit 528bb43

Browse files
author
Petr Gala
authored
Merge pull request #18 from peckadesign/php_82
Podpora jakékoliv implementace symfony/console
2 parents 8244736 + 0d69de3 commit 528bb43

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"require": {
2626
"php": "^7.4 | ^8.0",
2727
"nette/application": "^3.0.0",
28-
"nette/di": "~3.0.0",
29-
"kdyby/console": "~4.0",
28+
"nette/di": "^3.0.0",
29+
"symfony/console": "^3.0|^4.0|^5.0|^6.0",
3030
"supervisorphp/configuration": "^0.3"
3131
},
3232
"require-dev": {

phpstan.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: "#^Call to function is_subclass_of\\(\\) with non\\-empty\\-string\\|true and 'Supervisor\\\\\\\\Configuration\\\\\\\\Section\\\\\\\\Named' will always evaluate to false\\.$#"
5-
count: 1
6-
path: src/DI/SupervisorExtension.php
7-
8-

src/DI/SupervisorExtension.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,9 @@ public function loadConfiguration(): void
4848

4949
$builder->addDefinition($this->prefix('renderCommand'))
5050
->setFactory(RenderCommand::class, [strtr($this->prefix('render'), '.', ':')])
51-
->addTag(ConsoleExtension::TAG_COMMAND)
5251
;
5352
$builder->addDefinition($this->prefix('writeCommand'))
5453
->setFactory(WriteCommand::class, [strtr($this->prefix('write'), '.', ':')])
55-
->addTag(ConsoleExtension::TAG_COMMAND)
5654
;
5755
}
5856

0 commit comments

Comments
 (0)