Merge branch '2.0'

* 2.0:
  Minor improvements to CI config
  Fix docs to reflect extension configuration: change 'kernel.file' to 'kernel.path'
  Use right namespace for service definition
This commit is contained in:
Kamil Kokot
2019-05-17 17:19:31 +08:00
4 changed files with 22 additions and 10 deletions

View File

@@ -93,7 +93,7 @@ If you're not, you need to register your context as a public service and define
# app/config/config_test.yml (Symfony 3)
services:
App\Tests\DemoContext:
App\Tests\Behat\DemoContext:
public: true
arguments:
- "@kernel"
@@ -139,7 +139,7 @@ If you're not, you need to register your context as a public service and define
# app/config/config_test.yml (Symfony 3)
services:
App\Tests\DemoContext:
App\Tests\Behat\DemoContext:
public: true
arguments:
- "%kernel.environment%"

View File

@@ -12,7 +12,7 @@ default:
bootstrap: ~
kernel:
class: ~
file: ~
path: ~
environment: ~
debug: ~
```
@@ -30,7 +30,7 @@ default:
If you do not pass any, it would look for either `App\Kernel` (Symfony 4) or `AppKernel` (Symfony 3).
If none are found, an exception would be thrown and you would be required to specify it explicitly.
* **`kernel.file`**:
* **`kernel.path`**:
It is a path to the file containing the application kernel class. You might want to set it if your kernel is not
autoloaded by Composer's autoloaded.