1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Updated app to PHP7.3 min supported version, For php8 support

- Updated remaining dependancies
- Upped min versions used
- Updated GH actions to drop 7.2 and include 8.0
- Updated phpunit & tests to 9.x
This commit is contained in:
Dan Brown
2021-03-20 15:35:39 +00:00
parent 44a293f051
commit 829fecd338
9 changed files with 827 additions and 504 deletions

View File

@ -119,7 +119,7 @@ abstract class BrowserKitTest extends TestCase
*/
protected function seeInNthElement($element, $position, $text, $negate = false)
{
$method = $negate ? 'assertNotRegExp' : 'assertRegExp';
$method = $negate ? 'assertDoesNotMatchRegularExpression' : 'assertMatchesRegularExpression';
$rawPattern = preg_quote($text, '/');