symfony / test-pack

A Symfony Pack for functional testing
MIT License
857 stars 9 forks source link

Backtrack limit exhausted on Installation #18

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hey, i´m trying to install test-pack on my Project.

root@77aaea1110f4:/app# composer require --dev symfony/test-pack

Output:

... Unpacking Symfony packs

  • Unpacked symfony/test-pack In PcreException.php line 29: preg_match(): failed executing "#^{ \s? (?P\S+.?)? (?P\s*) }$#sx": Backtrack limit exhausted`

How can i fix the installation of test-pack? I cant find any similar cases about this errormessage on Symfony.

My project is based on 'bitnami/symfony' Docker image with these Dependencies:

    "api-platform/core": {
    },
    "doctrine/annotations": {
    },
    "doctrine/doctrine-bundle": {
    },
    "doctrine/doctrine-migrations-bundle": {
    },
    "lexik/jwt-authentication-bundle": {
    },
    "nelmio/cors-bundle": {
    },
    "nyholm/psr7": {
    },
    "phpunit/phpunit": {
    },
    "sensio/framework-extra-bundle": {
    },
    "symfony/console": {
    },
    "symfony/debug-bundle": {
    },
    "symfony/flex": {
    },
    "symfony/framework-bundle": {
    },
    "symfony/mailer": {
    },
    "symfony/maker-bundle": {
    },
    "symfony/messenger": {
    },
    "symfony/monolog-bundle": {
    },
    "symfony/notifier": {
    },
    "symfony/phpunit-bridge": {
    },
    "symfony/requirements-checker": {
    },
    "symfony/routing": {
    },
    "symfony/security-bundle": {
    },
    "symfony/sendgrid-mailer": {
    },
    "symfony/translation": {
    },
    "symfony/twig-bundle": {
    },
    "symfony/validator": {
    },
    "symfony/web-profiler-bundle": {
    },
    "symfony/webapp-pack": {
}
    "symfonycasts/verify-email-bundle": {
}
ghost commented 1 year ago

It seems it was not a issue about the test-pack. It was maybe a general misconfiguration of Symfony. Error appears in another Bundles too.