-
-
Couldn't load subscription status.
- Fork 34
Typecast for array presentation #491
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #491 +/- ##
============================================
+ Coverage 95.60% 95.74% +0.13%
Complexity 656 656
============================================
Files 41 42 +1
Lines 1617 1621 +4
============================================
+ Hits 1546 1552 +6
+ Misses 71 69 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
src/ActiveQuery.php
Outdated
|
|
||
| /** | ||
| * @psalm-param array<string, mixed> $row | ||
| * @psalm-return ActiveRecordInterface|array<string, mixed> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe declare psalm type for ActiveRecordInterface|array<string, mixed>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
tests/ActiveRecordTest.php
Outdated
| if (in_array(self::db()->getDriverName(), ['oci', 'sqlsrv'], true)) { | ||
| $this->markTestSkipped('Oracle and MSSQL drivers do not support JSON columns.'); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For Oracle and MSSQL should also work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Skip only testLazyRelationViaJson because MSSQL and ORACLE don't support "JSON OVERLAPS"
Wait yiisoft/db#1085