14 Commits

Author SHA1 Message Date
wuchen90
65cd3478b2 fix: allow to use parameter resolution in configuration for bootstrap key
In PhpStorm, I've got an issue with path resolution for the bootstrap file.
I don't know why the path in which Behat runs is always the folder `features`.
So Behat always fails trying to look for `/project/root/path/features/config/bootstrap.php`.

With this fix, bootstrap file will be resolved based on the base path.
Plus, people will be allowed to use the parameter `%paths.base%` to define a custom bootstrap file path.
E.g.:

```yaml
default:
  extensions:
    FriendsOfBehat\SymfonyExtension:
      bootstrap: '%paths.base%/custom/bootstrap.php'
```
2024-06-20 17:19:24 +02:00
javer
a063036c13 Add Symfony 6 support 2021-12-13 14:35:43 +02:00
Geoffrey Bachelet
880893206f Fallback to configured environment when no server/env environment is found 2020-04-28 19:01:56 -04:00
Kamil Kokot
de59f04531 Fallback to the "test" environment if no server/env variable is set 2019-01-16 22:28:49 +01:00
Kamil Kokot
f736a4aaf1 Allow "APP_ENV" and "APP_DEBUG" server/env variables set in bootstrap to affect kernel arguments 2019-01-16 21:30:11 +01:00
Kamil Kokot
39cdb2074a Allow to configure kernel using server & env variables 2019-01-16 17:19:36 +01:00
Kamil Kokot
d6701d785c Implement bootstrap file autodiscovering 2019-01-11 00:24:59 +01:00
Kamil Kokot
fa3c02720c Implement bootstrap loading 2019-01-11 00:10:32 +01:00
Kamil Kokot
be8081d580 Allow to configure the application kernel's debug setting 2019-01-10 23:29:11 +01:00
Kamil Kokot
8dcd3e9d4d Allow to configure the application kernel's custom environment 2019-01-10 23:25:19 +01:00
Kamil Kokot
01f458149e Test default kernel configuration 2019-01-10 23:22:06 +01:00
Kamil Kokot
7687e756f1 Implement kernel autodiscovering 2019-01-10 23:03:02 +01:00
Kamil Kokot
ab70d2993d Test loading kernel based on classname and path 2019-01-10 22:47:17 +01:00
Kamil Kokot
3f7f9ccdbb Test loading kernel based on classname 2019-01-10 22:43:54 +01:00