top-think / think-orm

Think ORM——the PHP Database&ORM Framework
Apache License 2.0
413 stars 171 forks source link

Apply fixes from StyleCI #522

Closed yunwuxin closed 3 months ago

yunwuxin commented 6 months ago

This pull request applies code style fixes from an analysis carried out by StyleCI.


For more information, click here.

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 6.53153% with 415 lines in your changes are missing coverage. Please review.

Project coverage is 12.24%. Comparing base (e35f497) to head (a0bfe55).

Files Patch % Lines
src/model/concern/RelationShip.php 0.00% 61 Missing :warning:
src/db/BaseQuery.php 4.87% 39 Missing :warning:
src/db/connector/Mongo.php 0.00% 39 Missing :warning:
src/model/relation/HasManyThrough.php 0.00% 39 Missing :warning:
src/model/concern/Attribute.php 0.00% 26 Missing :warning:
src/model/relation/BelongsTo.php 0.00% 21 Missing :warning:
src/model/relation/HasOne.php 0.00% 18 Missing :warning:
src/model/relation/MorphTo.php 0.00% 17 Missing :warning:
src/model/relation/HasMany.php 0.00% 15 Missing :warning:
src/Paginator.php 0.00% 14 Missing :warning:
... and 21 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 3.0 #522 +/- ## ========================================= Coverage 12.24% 12.24% Complexity 2965 2965 ========================================= Files 64 64 Lines 7129 7129 ========================================= Hits 873 873 Misses 6256 6256 ``` | [Flag](https://app.codecov.io/gh/top-think/think-orm/pull/522/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=top-think) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/top-think/think-orm/pull/522/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=top-think) | `12.24% <6.53%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=top-think#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.