File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
1
UPGRADE
2
2
=======
3
3
4
+ - [ 1.2.0] ( #1.2.0 )
4
5
- [ 1.1.0] ( #1.1.0 )
5
6
- [ 0.4.0] ( #0.4.0 )
6
7
8
+ ### 1.2.0
9
+
10
+ In the database table ` ta_task_executions ` a new field was introduced. Run following
11
+ command to update the table.
12
+
13
+ ``` bash
14
+ bin/console doctrine:schema:update
15
+ ```
16
+
7
17
### 1.1.0
8
18
9
19
In the database table ` ta_tasks ` a new field was introduced. Run following
Original file line number Diff line number Diff line change 14
14
use Symfony \Component \Console \Command \Command ;
15
15
use Symfony \Component \Console \Input \InputInterface ;
16
16
use Symfony \Component \Console \Output \OutputInterface ;
17
- use Task \Runner \ExitException ;
18
17
use Task \Runner \TaskRunnerInterface ;
19
18
use Task \Scheduler \TaskSchedulerInterface ;
20
19
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function execute(TaskExecutionInterface $execution)
61
61
$ attempts = $ this ->getMaximumAttempts ($ execution ->getHandlerClass ());
62
62
$ lastException = null ;
63
63
64
- for ($ attempt = 0 ; $ attempt < $ attempts ; $ attempt ++ ) {
64
+ for ($ attempt = 0 ; $ attempt < $ attempts ; ++ $ attempt ) {
65
65
try {
66
66
return $ this ->handle ($ execution );
67
67
} catch (FailedException $ exception ) {
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ public function testExecuteRetryException()
173
173
$ attempts = 1 ;
174
174
$ this ->execution ->incrementAttempts ()->will (
175
175
function () use (&$ attempts ) {
176
- $ attempts ++ ;
176
+ ++ $ attempts ;
177
177
178
178
return $ this ;
179
179
}
You can’t perform that action at this time.
0 commit comments