Static call to non-static method

Created on 19 April 2022, almost 3 years ago
Updated 8 February 2023, almost 2 years 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.71.5 2024