Skip to content

feat(php-upgrade): Return empty string instead of null for STRING columns in cast()#3

Open
pankajrwr wants to merge 6 commits into
upgradefrom
php8-upgrade
Open

feat(php-upgrade): Return empty string instead of null for STRING columns in cast()#3
pankajrwr wants to merge 6 commits into
upgradefrom
php8-upgrade

Conversation

@pankajrwr

Copy link
Copy Markdown

This change is made to make the localdev submodules compatible with new php version 8.2.
Without this change we have to fall to ?? '' everywhere in foxycart and hApi repos. But with this change we would return empty string instead of null for the columns which are set to be of string type.

Note: Our local and production environments use upgrade branch to pull active-record. Instead of making changes directly to upgrade branch I created a new branch and once we are done with php upgrade, means the php version upgrade changes have been merged to master branch for foxycart and hApi repos, we will merge the php-upgrade branch here to upgrade branch and will point the composer-lock.json back to upgrade branch in hApi repo.

@filipcujanovic filipcujanovic left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code is good

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.

2 participants