Closed yuseferi closed 3 years ago
just for the record for guys that could have a similar problem:
I just updated the version of "friendsofsymfony/rest-bundle": "^2.8",
and the problem was gone :).
For the record: It seems that there are folders missing from 2.7.4 to 2.8.x :/
Hi there, I have this problem, hope somebody knows how to resolve it.
definitation:
part of my composer reqs "ext-ctype": "", "ext-curl": "", "ext-iconv": "", "ext-json": "", "doctrine/annotations": "^1.11", "friendsofsymfony/rest-bundle": "^2.5", "jms/serializer-bundle": "^3.7", "nelmio/alice": "^3.5", "nelmio/api-doc-bundle": "^3.4", "php-http/guzzle6-adapter": "^1.1", "phpdocumentor/reflection-docblock": "^4.3.0", "sensio/framework-extra-bundle": "^5.1", "symfony/console": "^4.1", "symfony/dotenv": "^4.1", "symfony/expression-language": "^4.1", "symfony/flex": "^1.5", "symfony/framework-bundle": "^4.1", "symfony/orm-pack": "^1.0", "symfony/serializer-pack": "^1.0", "symfony/twig-bundle": "^4.1", "symfony/validator": "4.1.*", "symfony/yaml": "^4.1",
body_converter: enabled: true validate: true validation_errors_argument: validationErrors
on
APP_ENV=dev
everything goes well, but when I switch toAPP_ENV=prod
I will face In EndpointRouterCompilerPass.php line 130:Class FOS\RestBundle\Tests\Fixtures\User does not exist
PSR Autoloader "autoload": { "psr-4": { "App\": "src/" } }, "autoload-dev": { "psr-4": { "Tests\App\": "tests/unit", "Tests\Behat\": "tests/behat", "App\Behat\": "behat/bootstrap/" } },
I hope somebody knows a solution for this.
Thanks,