yii2-bootstrap5
yii2-bootstrap5 copied to clipboard
Raise min version to `PHP 7.3`, check compatibility `PHP 8.3`.
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ✔️ |
| Breaks BC? | ❌ |
PR Summary
-
Updated Coding Style for YAML files The
.editorconfigfile was changed to standardize the indent size to 2 for all YAML files. This helps maintain a consistent code format across the codebase. -
Updated PHP and PHPUnit Version Requirements The
composer.jsonfile was updated to require at least PHP version 7.3 and PHPUnit version 9.6. This ensures our code stays compatible with recent versions of these tools, benefiting from their latest features and improvements. -
Improved Testing Several test files (
AccordionTest.php,ActiveFieldDefaultFormCheckTest.php,ActiveFieldTest.php,ActiveFormTest.php,ButtonDropdownTest.php,CarouselTest.php,LinkPagerTest.php,ModalTest.php,NavBarTest.php,NavTest.php,OffcanvasTest.php,PopoverTest.php,TabsTest.php,ToastTest.php,ToggleButtonGroupTest.php,TestCase.php,TranslationTest.php) have been updated to use more accurate and expressive assertions in their tests. This enhances the precision of our unit tests and makes them easier to understand. -
Enhanced Test Setup and Teardown Certain test files (
TestCase.php,TranslationTest.php) now include return types for theirsetUp()andtearDown()methods. This enforces stronger type safety in our test suite. -
Deprecated Method Removal Obsolete PHPUnit methods have been replaced throughout the codebase, ensuring we stay up-to-date with latest best practices in testing.
Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella: