Using a string as the assertion passed to assert() is deprecated since PHP 7.2

Created on 15 July 2025, 20 days ago

Problem/Motivation

phpcs detects

FILE: /var/www/html/web/modules/contrib/jsonapi_schema/src/Controller/JsonApiSchemaController.php
--------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------
 215 | ERROR | Using a string as the assertion passed to assert() is deprecated since PHP 7.2 and removed since PHP 8.0. Found: 'not implemented'
--------------------------------------------------------------------------------------------------------------------------------------------------
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain abelass

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

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

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024