History log of /dokuwiki/_test/tests/inc/parser/lexer.test.php (Results 1 – 8 of 8)
Revision Date Author Comments
# 2a113f46 03-Mar-2024 FailedCode <xeres666@googlemail.com>

Tests: The at() matcher has been deprecated

fixes #3811

Replaces at() with withConsecutive() in these tests:

- TestOfLexer::testSinglePattern
- TestOfLexer::testMultiplePattern
- TestOfLexerModes:

Tests: The at() matcher has been deprecated

fixes #3811

Replaces at() with withConsecutive() in these tests:

- TestOfLexer::testSinglePattern
- TestOfLexer::testMultiplePattern
- TestOfLexerModes::testIsolatedPattern
- TestOfLexerModes::testModeChange
- TestOfLexerModes::testNesting
- TestOfLexerModes::testSingular
- TestOfLexerModes::testUnwindTooFar
- TestOfLexerHandlers::testModeMapping
- TestOfLexerByteIndices::testIndex
- TestOfLexerByteIndices::testIndexLookaheadEqual
- TestOfLexerByteIndices::testIndexLookaheadNotEqual
- TestOfLexerByteIndices::testIndexLookbehindEqual
- TestOfLexerByteIndices::testIndexLookbehindNotEqual

show more ...


# fe2e97f6 03-Dec-2020 Andreas Gohr <andi@splitbrain.org>

PHP 8: rename match() to apply() in Lexer #3298


# be906b56 04-May-2018 Andreas Gohr <andi@splitbrain.org>

moved all parsing related namespaces to their own


# de226116 04-May-2018 Andreas Gohr <andi@splitbrain.org>

adjusted the Lexer for PSR-2


# db5867f1 09-Aug-2016 Andreas Gohr <andi@splitbrain.org>

fix tests for newer PHPUnit. fixes #1643

getMock is deprecated in new PHPUnit versions and createMock is the
recommended replacement. However that one is not available in older
PHPUnit releases. Sin

fix tests for newer PHPUnit. fixes #1643

getMock is deprecated in new PHPUnit versions and createMock is the
recommended replacement. However that one is not available in older
PHPUnit releases. Since we still support older PHP releases we have to
support older PHPUnit releases as well.

This add some compatibility functions to our TestCase class and replaces
all calls to getMock. Tested with PHPUnit 4.6.6 and 5.5.0.

show more ...


# 26e22ab8 15-May-2015 Christopher Smith <chris@jalakai.co.uk>

Changes for PHP 7 Compatibility
- replace PHP4 style class constructor function names (based on
class name) with php 5 __construct()
Also remove some '&' reference operators used with objects
And a

Changes for PHP 7 Compatibility
- replace PHP4 style class constructor function names (based on
class name) with php 5 __construct()
Also remove some '&' reference operators used with objects
And add some object type hints

show more ...


# 050f8f4d 01-May-2012 Andreas Gohr <andi@splitbrain.org>

removed unecessary requiresin unit tests


# f8369d7d 18-Apr-2012 Tobias Sarnowski <sarnowski@cosmocode.de>

moved _testing to _test