File tree Expand file tree Collapse file tree 3 files changed +7
-14
lines changed
src/Wrep/Daemonizable/Command Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 15
15
"issues" : " https://github.com/mac-cain13/daemonizable-command/issues"
16
16
},
17
17
"require" : {
18
- "php" : " ^7.2|^ 8.0" ,
19
- "symfony/console" : " ^4.0|^5 .0" ,
20
- "symfony/dependency-injection" : " ^4.0|^5 .0"
18
+ "php" : " >= 8.0" ,
19
+ "symfony/console" : " ^6 .0" ,
20
+ "symfony/dependency-injection" : " ^6 .0"
21
21
},
22
22
"require-dev" : {
23
23
"phpunit/phpunit" : " ^8.0 || ^9.0"
Original file line number Diff line number Diff line change 18
18
<directory >./tests/</directory >
19
19
</testsuite >
20
20
</testsuites >
21
-
22
- <filter >
23
- <blacklist >
24
- <directory >./vendor</directory >
25
- <directory >./tests</directory >
26
- </blacklist >
27
- </filter >
28
21
</phpunit >
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ abstract class EndlessCommand extends Command
26
26
private $ lastPeakUsage ;
27
27
28
28
/**
29
- * @see Symfony\Component\Console\Command\ Command::__construct()
29
+ * @see Command::__construct()
30
30
*/
31
31
public function __construct (string $ name = null )
32
32
{
@@ -50,7 +50,7 @@ public function __construct(string $name = null)
50
50
}
51
51
52
52
/**
53
- * @see Symfony\Component\Console\Command\ Command::run()
53
+ * @see Command::run()
54
54
*/
55
55
public function run (InputInterface $ input , OutputInterface $ output ): int
56
56
{
@@ -213,9 +213,9 @@ private function getMemoryInfo(bool $peak = false): array
213
213
}
214
214
215
215
/**
216
- * @see Symfony\Component\Console\Command\ Command::setCode()
216
+ * @see Command::setCode()
217
217
*/
218
- public function setCode (callable $ code )
218
+ public function setCode (callable $ code ): static
219
219
{
220
220
// Exact copy of our parent
221
221
// Makes sure we can access to call it every iteration
You can’t perform that action at this time.
0 commit comments