Skip to content

Fix compatibility with Rector 2.8 - #17

Merged
cedric-anne merged 1 commit into
mainfrom
fix/rector-2.8-compat
Nov 2, 2026
Merged

cedric-anne merged 1 commit into
mainfrom
fix/rector-2.8-compat

Conversation

@trasher

@trasher trasher commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Fix

  [ERROR] Could not process "/var/www/glpi/src/Glpi/Api/API.php" file, due to:   
         "System error: "Call to a member function getOldTokens() on null"      
         Run Rector with "--debug" option and post the report here: https://github.com/rectorphp/rector/issues/new". On line:
         85                                                                     

 [ERROR] Could not process "/var/www/glpi/src/Glpi/Search/FilterableTrait.php"  
         file, due to:                                                          
         "System error: "Call to a member function getOldTokens() on null"      
         Run Rector with "--debug" option and post the report here: https://github.com/rectorphp/rector/issues/new". On line:
         85                                                                     

See glpi-project/glpi#26173

@trasher
trasher requested a review from cedric-anne November 2, 2026 08:32
@cedric-anne
cedric-anne merged commit 75c6785 into main Nov 2, 2026
2 checks passed
@cedric-anne
cedric-anne deleted the fix/rector-2.8-compat branch November 2, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants