Skip to content

Commit 159f363

Browse files
committed
fix ci error
1 parent 16b6420 commit 159f363

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: php
22

33
php:
44
# - '7.1'
5-
- '7.2'
5+
# - '7.2'
66
- '7.3'
77
- '7.4'
88

src/AbstractHandler.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,19 @@ public function __construct(Input $input, Output $output, InputDefinition $defin
160160
$this->commentsVars = $this->annotationVars();
161161

162162
$this->init();
163+
164+
$this->afterInit();
163165
}
164166

165167
protected function init(): void
166168
{
167169
}
168170

171+
protected function afterInit(): void
172+
{
173+
// do something...
174+
}
175+
169176
/**
170177
* Configure input definition for command, like symfony console.
171178
*/

0 commit comments

Comments
 (0)