propelorm / Propel2

Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
http://propelorm.org/
MIT License
1.26k stars 393 forks source link

Fix up redundant type casts #1954

Closed michbeck closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Base: 88.63% // Head: 88.56% // Decreases project coverage by -0.08% :warning:

Coverage data is based on head (e5f55db) compared to base (5531e13). Patch coverage: 90.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1954 +/- ## ============================================ - Coverage 88.63% 88.56% -0.08% - Complexity 8019 8051 +32 ============================================ Files 243 243 Lines 24549 24590 +41 ============================================ + Hits 21759 21777 +18 - Misses 2790 2813 +23 ``` | Flag | Coverage Δ | | |---|---|---| | 5-max | `88.56% <90.00%> (-0.08%)` | :arrow_down: | | 7.4 | `88.56% <90.00%> (-0.08%)` | :arrow_down: | | agnostic | `67.29% <80.00%> (-0.11%)` | :arrow_down: | | mysql | `69.08% <50.00%> (-0.06%)` | :arrow_down: | | pgsql | `69.11% <50.00%> (-0.07%)` | :arrow_down: | | sqlite | `67.08% <50.00%> (-0.08%)` | :arrow_down: | 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=propelorm#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm) | Coverage Δ | | |---|---|---| | [src/Propel/Generator/Manager/AbstractManager.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvTWFuYWdlci9BYnN0cmFjdE1hbmFnZXIucGhw) | `76.25% <ø> (-1.12%)` | :arrow_down: | | [src/Propel/Generator/Manager/ReverseManager.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvTWFuYWdlci9SZXZlcnNlTWFuYWdlci5waHA=) | `73.23% <0.00%> (ø)` | | | [src/Propel/Generator/Manager/SqlManager.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvTWFuYWdlci9TcWxNYW5hZ2VyLnBocA==) | `82.35% <ø> (-0.99%)` | :arrow_down: | | [src/Propel/Runtime/Adapter/Pdo/MysqlAdapter.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9SdW50aW1lL0FkYXB0ZXIvUGRvL015c3FsQWRhcHRlci5waHA=) | `63.63% <ø> (-1.59%)` | :arrow_down: | | [src/Propel/Runtime/Collection/OnDemandIterator.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9SdW50aW1lL0NvbGxlY3Rpb24vT25EZW1hbmRJdGVyYXRvci5waHA=) | `90.90% <ø> (-2.64%)` | :arrow_down: | | [src/Propel/Runtime/ActiveQuery/Criteria.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9SdW50aW1lL0FjdGl2ZVF1ZXJ5L0NyaXRlcmlhLnBocA==) | `87.81% <66.66%> (ø)` | | | [src/Propel/Generator/Builder/Om/ObjectBuilder.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvQnVpbGRlci9PbS9PYmplY3RCdWlsZGVyLnBocA==) | `93.85% <100.00%> (ø)` | | | [...rc/Propel/Generator/Command/TestPrepareCommand.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvQ29tbWFuZC9UZXN0UHJlcGFyZUNvbW1hbmQucGhw) | `94.62% <100.00%> (ø)` | | | [src/Propel/Generator/Model/Column.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvTW9kZWwvQ29sdW1uLnBocA==) | `95.96% <100.00%> (ø)` | | | [src/Propel/Generator/Model/ForeignKey.php](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvTW9kZWwvRm9yZWlnbktleS5waHA=) | `94.80% <100.00%> (ø)` | | | ... and [39 more](https://codecov.io/gh/propelorm/Propel2/pull/1954?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.