imports:
    - { resource: 'vendor/lmc/coding-standard/easy-coding-standard.yaml' }

parameters:
    skip:
        PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\ForbiddenFunctionsSniff:
            - 'src-tests/bootstrap.php'
            - 'src-tests/ConfigHelper.php'
            - 'src-tests/ConfigProviderTest.php'
            - 'src/bootstrap.php'
            - 'src/Component/Legacy.php'
            - 'src/Listener/TestStartLogListener.php'
            - 'src/Listener/TestStatusListener.php'
            - 'src/Test/AbstractTestCase.php'
            - 'src/WebDriver/RemoteWebDriver.php'
        PHP_CodeSniffer\Standards\Generic\Sniffs\Files\OneClassPerFileSniff.MultipleFound:
            - 'src-tests/Process/Fixtures/InvalidTests/MultipleClassesInFileTest.php'
    exclude_files:
        - 'src-tests/coverage/*'
        - 'src-tests/FunctionalTests/logs/coverage/*'
        - 'src-tests/Utils/Annotations/Fixtures/*'

services:
    PHP_CodeSniffer\Standards\Generic\Sniffs\Files\LineLengthSniff:
        absoluteLineLimit: 120 # To enforce line length limit

imports:
    - { resource: 'vendor/lmc/coding-standard/easy-coding-standard.yaml' }

parameters:
    skip:
        PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\ForbiddenFunctionsSniff:
            - 'src-tests/bootstrap.php'
            - 'src-tests/ConfigHelper.php'
            - 'src-tests/ConfigProviderTest.php'
            - 'src/bootstrap.php'
            - 'src/Component/Legacy.php'
            - 'src/Listener/TestStartLogListener.php'
            - 'src/Listener/TestStatusListener.php'
            - 'src/Test/AbstractTestCase.php'
            - 'src/WebDriver/RemoteWebDriver.php'
        PHP_CodeSniffer\Standards\Generic\Sniffs\Files\OneClassPerFileSniff.MultipleFound:
            - 'src-tests/Process/Fixtures/InvalidTests/MultipleClassesInFileTest.php'
    exclude_files:
        - 'src-tests/coverage/*'
        - 'src-tests/FunctionalTests/logs/coverage/*'
        - 'src-tests/Utils/Annotations/Fixtures/*'

services:
    PHP_CodeSniffer\Standards\Generic\Sniffs\Files\LineLengthSniff:
        absoluteLineLimit: 120 # To enforce line length limit
    PhpCsFixer\Fixer\PhpUnit\PhpUnitExpectationFixer:
        target: '5.6'

Declare phpunit target to avoid false positive codestyle error
Declare phpunit target to avoid false positive codestyle error
