Closed vjik closed 6 months ago
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ❌ |
Breaks BC? | ❌ |
Fixed issues | - |
Introduced a new feature enhancement
Updated the project change log (CHANGELOG.md
) to include the details of a new feature improvement (Enh #251).
Updated the 'View' class for easier use
Adjusted the blueprint (constructor) of the View
class in a couple of core files (src/View.php
and src/WebView.php
) to make the input parameter $basePath
optional. This makes it simpler for the users to utilize this function.
Improved error handling in getBasePath()
method
The getBasePath()
method in src/ViewTrait.php
is modified to raise a specific type of error (LogicException
) if the $basePath
is not set. This change improves system robustness and makes error debugging more efficient.
Included new system checks
Integrated a new test in tests/ViewTest.php
to ascertain how the getBasePath()
function behaves when $basePath
is missing. This will ensure the reliability of the function under such scenarios.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.26%. Comparing base (
57372ba
) to head (92051b7
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.