Fix rotation tests for PHP 8.5

Closes #3562050

Merge request reports

Loading