question type poasquestion breaks Moodle in php 7

Issue #418 resolved
info ewallah created an issue

When installing php7, php is complaining about Line 29 of question/type/poasquestion/classes/string.php

class string extends \core_text implements \ArrayAccess

When I rename string to a non reserved word, everything works fine (except the poasquestion plugin).

Comments (5)

  1. Oleg Sychev repo owner

    Yes we know of that and addressing it in new release. However, this class was widely used and requires significant work to replace. If you need to use our question types with PHP 7 immediately, let me know and I will make you a beta version.

  2. info ewallah reporter

    No, it is not that urgent. I only use the question type in a test environment to have a better view of all the possibilities. Thanks anyway for your offer.

  3. Log in to comment