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 1515 "issues" : " https://github.com/mac-cain13/daemonizable-command/issues"
1616 },
1717 "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"
2121 },
2222 "require-dev" : {
2323 "phpunit/phpunit" : " ^8.0 || ^9.0"
Original file line number Diff line number Diff line change 1818 <directory >./tests/</directory >
1919 </testsuite >
2020 </testsuites >
21-
22- <filter >
23- <blacklist >
24- <directory >./vendor</directory >
25- <directory >./tests</directory >
26- </blacklist >
27- </filter >
2821</phpunit >
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ abstract class EndlessCommand extends Command
2626 private $ lastPeakUsage ;
2727
2828 /**
29- * @see Symfony\Component\Console\Command\ Command::__construct()
29+ * @see Command::__construct()
3030 */
3131 public function __construct (string $ name = null )
3232 {
@@ -50,7 +50,7 @@ public function __construct(string $name = null)
5050 }
5151
5252 /**
53- * @see Symfony\Component\Console\Command\ Command::run()
53+ * @see Command::run()
5454 */
5555 public function run (InputInterface $ input , OutputInterface $ output ): int
5656 {
@@ -213,9 +213,9 @@ private function getMemoryInfo(bool $peak = false): array
213213 }
214214
215215 /**
216- * @see Symfony\Component\Console\Command\ Command::setCode()
216+ * @see Command::setCode()
217217 */
218- public function setCode (callable $ code )
218+ public function setCode (callable $ code ): static
219219 {
220220 // Exact copy of our parent
221221 // Makes sure we can access to call it every iteration
You can’t perform that action at this time.
0 commit comments