Alexander Makarov
Alexander Makarov
We should also get YII_ENV through getenv and not trough $_ENV since it's not populated by default. See https://mattallan.me/posts/how-php-environment-variables-actually-work/
Yeah. May consider configuring it to fill getenv() or using https://github.com/symfony/dotenv.
Yeah, maybe removing them is too much :) Maybe... disabling? I'm more about https://github.com/yiisoft/app/blob/master/tests/functional.suite.yml#L12 this config part that mentions a web server but functional tests should not require it.
In order to solve it we need to implement PSR module for Codeception.
https://trello.com/c/wIwCQyeN/112-implement-generic-psr-7-module-for-codeception
@kaznovac we have our own support for PHP templates so using plates with Yii3 doesn't make sense.
Not sure it worth it to create a web interface for it. Developers are usually OK with console.
Yes, that's doable.
How about using environment variable as in https://github.com/yiisoft/yii-console/blob/master/bin/yii#L48?
That should be applied to all templates, not only "app".