File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 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
44This changelog references the relevant changes (bug and security fixes) done
55in 3.2 versions.
66
7+ * 3.2.1 (2016-xx-xx)
8+
9+ * Restored and deprecated ` immediate ` option
10+
711* 3.2.0 (2016-08-04)
812
913 * Allow driverless type definitions #953
Original file line number Diff line number Diff line change @@ -497,6 +497,14 @@ protected function getPersistenceNode()
497497 $ node = $ builder ->root ('persistence ' );
498498
499499 $ 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 ()
500508 ->validate ()
501509 ->ifTrue (function ($ v ) { return isset ($ v ['driver ' ]) && 'propel ' === $ v ['driver ' ] && isset ($ v ['listener ' ]); })
502510 ->thenInvalid ('Propel doesn \'t support listeners ' )
You can’t perform that action at this time.
0 commit comments