File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ BREAKING
1515- **FeatureTestTrait: ** When using :ref: `withBodyFormat() <feature-formatting-the-request >`,
1616 the priority of the request body has been changed.
1717 See :ref: `Upgrading Guide <upgrade-437-feature-testing >` for details.
18+ - **Validation: ** The return value of ``Validation::loadRuleGroup() `` has been
19+ changed from "**rules array **" to "**array ** of **rules array ** and **customErrors array **"
20+ (``[rules, customErrors] ``).
1821
1922Message Changes
2023***************
Original file line number Diff line number Diff line change @@ -39,6 +39,19 @@ is not used::
3939
4040Previously, the ``$body `` was used for the request body.
4141
42+ Return value of Validation::loadRuleGroup()
43+ ===========================================
44+
45+ The return value of ``Validation::loadRuleGroup() `` has been changed from
46+ "**rules array **" to "**array ** of **rules array ** and **customErrors array **"
47+ (``[rules, customErrors] ``).
48+
49+ If you use the method, update the code like the following::
50+
51+ $rules = $this->validation->loadRuleGroup($rules);
52+ ↓
53+ [$rules, $customErrors] = $this->validation->loadRuleGroup($rules);
54+
4255Breaking Enhancements
4356*********************
4457
You can’t perform that action at this time.
0 commit comments