Static call to non-static method

Created on 19 April 2022, about 2 years ago
Updated 8 February 2023, over 1 year ago

Problem:

Phan tool reported SEVERITY_CRITICAL issue:
- PhanStaticCallToNonStatic. Line 30 in advagg/advagg.inc: "Static call to non-static method \apachesolr_views_handler_filter::trim."

Steps to reproduce:

run Phan tool ('minimum_target_php_version' => '8.0')

Proposed resolution:

To make the method trim() static.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ΎBelarus alena_stanul

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024