Function name, class name, namespace name or constant name can not be reserved keyword 'Trait' (since version 5.4)

Created on 1 August 2025, 4 days ago
FILE: docroot/modules/contrib/ai/modules/ai_search/src/Trait/AiSearchBackendEmbeddingsEngineTrait.php
--------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------
 3 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'Trait' (since version 5.4)
--------------------------------------------------------------------------------------------------------------------------------


FILE: docroot/modules/contrib/ai/modules/ai_search/src/Trait/AiSearchBackendEmbeddingsStrategyTrait.php
---------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------
 3 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'Trait' (since version 5.4)
---------------------------------------------------------------------------------------------------------------------------------
🐛 Bug report
Status

Active

Version

2.0

Component

AI Search

Created by

🇮🇳India Binoli Lalani Gujarat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024