Skip to content

T818 parameter enforce - #827

Merged
niden merged 3 commits into
v6.0.xfrom
T818-parameter-enforce
Nov 17, 2026
Merged

niden merged 3 commits into
v6.0.xfrom
T818-parameter-enforce

Conversation

@niden

@niden niden commented Nov 17, 2026

Copy link
Copy Markdown
Member

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

Phalcon\Container, Phalcon\DataMapper\Pdo\ConnectionLocator, Phalcon\Db\Dialect,
Phalcon\Forms\FormsLocator, Phalcon\Html\TagFactory, Phalcon\Mvc\Model\Manager, the Phalcon\Queue
adapters, Phalcon\Support\Collection and Phalcon\Support\Helper\Arr\Group throwing a TypeError for a
parameter or return value that cphalcon accepts.

Thanks

@niden niden self-assigned this Nov 17, 2026
@niden niden added bug Something isn't working 6.0.0 6.0.0 Release status: medium Bug: Medium labels Nov 17, 2026
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown

Code Metrics Report

v6.0.x (a62f655) T818-parameter-enforce (71580d2) +/-
Coverage 89.1% 89.1% +0.0%
Test Execution Time 3m9s 3m0s -9s
Details
  |                     | v6.0.x (a62f655) |     T818-parameter-enforce     |  +/-  |
  |                     |                  |           (71580d2)            |       |
  |---------------------|------------------|--------------------------------|-------|
+ | Coverage            |            89.1% |                          89.1% | +0.0% |
  |   Files             |             1483 |                           1483 |     0 |
  |   Lines             |            32693 |                          32704 |   +11 |
+ |   Covered           |            29154 |                          29167 |   +13 |
+ | Test Execution Time |             3m9s |                           3m0s |   -9s |

Code coverage of files in pull request scope (91.7% → 91.9%, patch 100.0%)

Files Coverage +/- Patch Coverage Status
src/Container/Container.php 100.0% 0.0% - modified
src/Container/Definition/ServiceDefinition.php 100.0% 0.0% 100.0% modified
src/Container/Resolver/Lazy/GetCall.php 100.0% 0.0% 100.0% modified
src/Container/Resolver/Lazy/Lazy.php 100.0% 0.0% 100.0% modified
src/Container/Resolver/Lazy/LazyFactory.php 100.0% 0.0% - modified
src/Container/Resolver/Lazy/NewCall.php 100.0% 0.0% 100.0% modified
src/Container/Resolver/Lazy/StaticCall.php 100.0% 0.0% - modified
src/Container/Resolver/Resolver.php 98.0% 0.0% - modified
src/DataMapper/Pdo/ConnectionLocator.php 100.0% 0.0% 100.0% modified
src/DataMapper/Pdo/ConnectionLocatorInterface.php 0.0% 0.0% - modified
src/Db/Dialect.php 92.3% +0.3% 100.0% modified
src/Forms/Form.php 100.0% 0.0% 100.0% modified
src/Forms/FormsLocator.php 100.0% 0.0% 100.0% modified
src/Html/TagFactory.php 100.0% 0.0% - modified
src/Mvc/Model/Manager.php 81.8% -0.1% 100.0% modified
src/Mvc/Model/ManagerInterface.php 0.0% 0.0% - modified
src/Queue/Adapter/Traits/SubscriptionConsumerTrait.php 80.0% 0.0% - modified
src/Support/Collection.php 94.9% 0.0% 100.0% modified
src/Support/Helper/Arr/Group.php 100.0% 0.0% 100.0% modified

Reported by octocov

@niden
niden merged commit f33778c into v6.0.x Nov 17, 2026
67 checks passed
@niden
niden deleted the T818-parameter-enforce branch November 17, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.0.0 6.0.0 Release bug Something isn't working status: medium Bug: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant