← Back to team overview

mahara-contributors team mailing list archive

[Bug 2008840] [NEW] Regex error on PHP 8 Behat steps

 

Public bug reported:

TO fix the following error

In RegexPatternPolicy.php line 70:
                                                                                                                                                                                                                                                                                                    
  The regex `/^(?:\I )echo the line "([^"]*)"$/` is invalid: Return type of GuzzleHttp\Cookie\CookieJar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/2008840

Title:
  Regex error on PHP 8 Behat steps

Status in Mahara:
  New

Bug description:
  TO fix the following error

  In RegexPatternPolicy.php line 70:
                                                                                                                                                                                                                                                                                                      
    The regex `/^(?:\I )echo the line "([^"]*)"$/` is invalid: Return type of GuzzleHttp\Cookie\CookieJar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/2008840/+subscriptions



Follow ups