Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow to use parameter resolution in configuration for bootstrap key #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 20, 2024

  1. 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'
    ```
    wuchen90 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    65cd347 View commit details
    Browse the repository at this point in the history