yii2-bootstrap5 icon indicating copy to clipboard operation
yii2-bootstrap5 copied to clipboard

Raise min version to `PHP 7.3`, check compatibility `PHP 8.3`.

Open terabytesoftw opened this issue 2 years ago • 2 comments

Q A
Is bugfix?
New feature? ✔️
Breaks BC?

terabytesoftw avatar Oct 04 '23 10:10 terabytesoftw

PR Summary

  • Updated Coding Style for YAML files The .editorconfig file 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.json file 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 their setUp() and tearDown() 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.

what-the-diff[bot] avatar Oct 04 '23 10:10 what-the-diff[bot]

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:

codecov[bot] avatar Oct 04 '23 10:10 codecov[bot]