Repository navigation
Conversation
Every other php-db package marks its test directory, PHPUnit config, mago config and CI files export-ignore, so a consumer's vendor directory gets the source and the licence only. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The workflow overrides mago's php-version per matrix leg, and from 8.4 the formatter drops the parentheses around new in member access, so the check passed on 8.3 and failed on 8.4 and 8.5. phpdb and phpdb-mysql pin parentheses-around-new-in-member-access for the same reason. PHPUnit 12 reports a failed ini_set as a warning, and this config runs with failOnWarning, so the xdebug.max_nesting_level line failed the coverage leg, where the driver is pcov and xdebug is not loaded. This suite does not nest, and phpdb-mysql on PHPUnit 12 carries no ini lines either. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
.gitattributesevery other php-db package has, so a consumer'svendordirectory receives the source and the licence only: the test directory, PHPUnit and mago configuration, the mutation config, and the CI files are markedexport-ignore.The first CI run on this branch also found two configuration defects, fixed here:
php-versionper matrix leg, and from 8.4 the formatter drops the parentheses aroundnewin member access. Formatting passed on 8.3 and failed on 8.4 and 8.5.parentheses-around-new-in-member-accessis now pinned, as phpdb and phpdb-mysql already do.ini_setas a warning, and the config runs withfailOnWarning, soxdebug.max_nesting_levelfailed the coverage leg, where pcov is the driver and xdebug is not loaded. Removed; phpdb-mysql on PHPUnit 12 carries noinilines for the same reason.