Closed Tigrov closed 12 months ago
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ❌ |
Breaks BC? | ❌ |
Fixed issues | - |
Simplified Database Queries in src/MigrationBuilder.php
The code in this file has been optimized to make it simpler and more efficient to execute SQL statements in the database. A more streamlined approach has been adopted, using the bindValues
and getRawSql
methods. This increases the readability and maintainability of the code.
Improved Testing in tests/Common/AbstractMigrationBuilderTest.php
The mechanism for performing database tests has been updated. A more explicit declaration of SQL query strings has been included, while the manner in which these queries are executed has been improved. These changes take into consideration the changes made in the src/MigrationBuilder.php
as well. The updated assertion also gives a clearer test feedback by including the SQL query string outcome in the assertion message. This ensures our tests are more robust and reliable.
No Significant Changes to tests/Support/Migrations/M231015155500ExecuteSql.php
There appears to be no important changes made in this file as no discernible difference is seen in this part of the PR.
Attention: 5 lines
in your changes are missing coverage. Please review.
Comparison is base (
2ef6724
) 99.79% compared to head (83f0445
) 0.00%.:exclamation: Current head 83f0445 differs from pull request most recent head 7dc0830. Consider uploading reports for the commit 7dc0830 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.