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

[BUG]: Use of "static" in callables is deprecated #16408

Closed
robert-deepnorth opened this issue Aug 17, 2023 · 4 comments
Closed

[BUG]: Use of "static" in callables is deprecated #16408

robert-deepnorth opened this issue Aug 17, 2023 · 4 comments
Assignees
Labels
5.0 The issues we want to solve in the 5.0 release bug A bug report duplicate Duplicate issue. The duplicate issue is referenced in the comments external dependency This issue depends on external issue to be resolved. status: medium Medium

Comments

@robert-deepnorth
Copy link

Describe the bug
PHP throws error while using model's static method find() and findFirst()

To Reproduce

$rows = Robots::find([
    'columns' => 'id',
    'conditions' => 'status_id IN ({ids:array})',
    'bind' => ['ids' => [1, 3]],
]);

Details

  • Phalcon version: 5.2.3
  • PHP Version: 8.2.9
  • Operating System: Centos Stream 8
  • Installation type: installing via remi package manager
    dnf module enable php:remi-8.2
    dnf install php-phalcon5
  • Server: Nginx
@robert-deepnorth robert-deepnorth added bug A bug report status: unverified Unverified labels Aug 17, 2023
@niden
Copy link
Member

niden commented Aug 17, 2023

Related #16263

@niden niden self-assigned this Aug 17, 2023
@niden niden added status: medium Medium external dependency This issue depends on external issue to be resolved. 5.0 The issues we want to solve in the 5.0 release and removed status: unverified Unverified labels Aug 17, 2023
@niden niden added this to Phalcon v5 Aug 17, 2023
@niden niden moved this to Active Sprint in Phalcon v5 Aug 17, 2023
@hakimio
Copy link

hakimio commented Aug 17, 2023

Also zephir-lang/zephir#2405

@Jeckerson Jeckerson self-assigned this Aug 18, 2023
@rudiservo
Copy link
Contributor

@niden Paginator\Adapter\Model has a call_user_func in line 116, that also throws a warning.
line 100 might be the issue.

@niden
Copy link
Member

niden commented Jan 6, 2024

Closing this - duplicate of #16263

Tracking progress there.

@niden niden closed this as completed Jan 6, 2024
@niden niden added the duplicate Duplicate issue. The duplicate issue is referenced in the comments label Jan 6, 2024
@niden niden moved this from Active Sprint to Unverified - Wont Fix - Duplicates in Phalcon v5 Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0 The issues we want to solve in the 5.0 release bug A bug report duplicate Duplicate issue. The duplicate issue is referenced in the comments external dependency This issue depends on external issue to be resolved. status: medium Medium
Projects
Status: Unverified - Wont Fix - Duplicates
Development

No branches or pull requests

5 participants