cakephp3-bootstrap-helpers
cakephp3-bootstrap-helpers copied to clipboard
WIP: Helpers keep default config for robustness
It's a try to prevent addition in Cake helpers will break the code.
Bootstrap helper is in $helperConfig and merged to $_defaultConfig. This way, templates and widgets always have a correct default and follow framework.
Work in progress, need to do all helpers if good way.
Codecov Report
Merging #195 (96ef936) into cake4-bs4-1.0.0 (2767409) will increase coverage by
0.68%. The diff coverage is73.33%.
@@ Coverage Diff @@
## cake4-bs4-1.0.0 #195 +/- ##
=====================================================
+ Coverage 86.63% 87.32% +0.68%
- Complexity 380 382 +2
=====================================================
Files 19 19
Lines 1190 1183 -7
=====================================================
+ Hits 1031 1033 +2
+ Misses 159 150 -9
| Impacted Files | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| src/View/Helper/FormHelper.php | 85.32% <73.33%> (+0.16%) |
60.00 <24.00> (+2.00) |
|
| src/View/Widget/ColumnSelectBoxWidget.php | 0.00% <0.00%> (ø) |
3.00% <0.00%> (ø%) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 2767409...96ef936. Read the comment docs.