File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ CHANGELOG for 3.2.x
4
4
This changelog references the relevant changes (bug and security fixes) done
5
5
in 3.2 versions.
6
6
7
+ * 3.2.1 (2016-xx-xx)
8
+
9
+ * Restored and deprecated ` immediate ` option
10
+
7
11
* 3.2.0 (2016-08-04)
8
12
9
13
* Allow driverless type definitions #953
Original file line number Diff line number Diff line change @@ -497,6 +497,14 @@ protected function getPersistenceNode()
497
497
$ node = $ builder ->root ('persistence ' );
498
498
499
499
$ node
500
+ ->beforeNormalization ()
501
+ ->ifTrue (function ($ v ) { return isset ($ v ['immediate ' ]); })
502
+ ->then (function ($ v ) {
503
+ @trigger_error ('The immediate configuration key is deprecated since version 3.2 and will be removed in 4.0. ' , E_USER_DEPRECATED );
504
+
505
+ return $ v ;
506
+ })
507
+ ->end ()
500
508
->validate ()
501
509
->ifTrue (function ($ v ) { return isset ($ v ['driver ' ]) && 'propel ' === $ v ['driver ' ] && isset ($ v ['listener ' ]); })
502
510
->thenInvalid ('Propel doesn \'t support listeners ' )
You can’t perform that action at this time.
0 commit comments