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

Update the comments of the method createQueryTo in ActiveRecordFactory so that the IDE can automatically identify the specific class of ActiveRecord #280

Merged
merged 51 commits into from
Jan 3, 2024

Conversation

niqingyang
Copy link
Contributor

Q A
Is bugfix? ✔️/❌
New feature? ✔️/❌
Breaks BC? ✔️/❌
Fixed issues comma-separated list of tickets # fixed by the PR, if any

niqingyang and others added 26 commits December 9, 2023 16:50
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
…y so that the IDE can automatically identify the specific class of ActiveRecord
Copy link

what-the-diff bot commented Dec 19, 2023

PR Summary

  • Introduction of a Generic Type Parameter
    A modification has happened to the 'createAR' function. Now, users can input different kinds of data, providing more flexibility and versatility with our user's needs. This change allows the method to handle different data types dynamically.

Copy link

codecov bot commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6d9864b) 87.70% compared to head (71b35f2) 87.70%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #280   +/-   ##
=========================================
  Coverage     87.70%   87.70%           
  Complexity      595      595           
=========================================
  Files             7        7           
  Lines          1326     1326           
=========================================
  Hits           1163     1163           
  Misses          163      163           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
@samdark samdark requested review from vjik and Tigrov December 20, 2023 12:13
Copy link
Member

@Tigrov Tigrov left a comment

Choose a reason for hiding this comment

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

Also need to check that tests passed

src/ActiveRecordFactory.php Outdated Show resolved Hide resolved
niqingyang and others added 9 commits December 28, 2023 01:07
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
…y so that the IDE can automatically identify the specific class of ActiveRecord
@niqingyang
Copy link
Contributor Author

Also need to check that tests passed

🎉 It has been tests passed

src/ActiveQuery.php Outdated Show resolved Hide resolved
src/ActiveRecordFactory.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
niqingyang and others added 9 commits January 3, 2024 10:12
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
src/ActiveQuery.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
src/BaseActiveRecord.php Outdated Show resolved Hide resolved
Copy link
Member

@Tigrov Tigrov left a comment

Choose a reason for hiding this comment

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

👍

@Tigrov Tigrov merged commit e32fa0d into yiisoft:master Jan 3, 2024
28 checks passed
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.

4 participants