Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve edge case handling of db_schema.xml #105

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

convenient
Copy link
Contributor

@convenient convenient commented Jul 12, 2023

When only whitespace or comments (like licence info etc) were added to a db_schema.xml file, and you ran with -vvv and --php-strict-errors you would get an exception with

could not work out db schema changes for this diff

This is not really necessary, and gets in the way of debugging actual errors when using -vvv --php-strict-errors

Checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • Tests have been ran / updated

When only whitespace or comments were added to a db_schema.xml file, and you ran with `-vvv and --php-strict-errors` you would get an exception with

```
could not work out db schema changes for this diff
```

This is not really necessary, and gets in the way of debugging actual errors when using `-vvv --php-strict-errors`
@convenient convenient merged commit 4e944da into master Jul 13, 2023
@convenient convenient deleted the dbschema-reduce-severity-of-no-changes-handling branch July 13, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant