Alexander Kurilo
06104478cc
Fix referencing context initializers
...
With definition, that has been used instead of reference, container has
used to created 2 instances of initializer: one with service id, and one
"anonymous", described by spl_object_hash in a container, it breaked
stateful initializers: in my case initializer was also used to reset
state before next scenario/example, and initializing and resetting happened
with different instances of initializer
2019-12-09 13:01:40 +01:00
Kamil Kokot
a425be697a
Initialize contexts registered as services
2019-03-21 17:16:23 +01:00
Kamil Kokot
c54c581e74
Refactor our environment handler to decorate the original one
2019-02-13 00:38:07 +01:00
Kamil Kokot
d74cd251d5
Add more sanity checks
2019-02-12 23:42:41 +01:00
Kamil Kokot
cd792704fa
Add support for class resolvers
2019-02-12 22:56:42 +01:00
Kamil Kokot
394b9abdfc
Fix support for context initializers
2019-01-30 17:10:20 +01:00
Kamil Kokot
736e0d9c1d
Remove notice when checking if fallback to test env is needed
2019-01-16 22:42:20 +01: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
24493cc58c
Minor fixes to the nomenclature
2019-01-11 00:28:22 +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
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
727199bb8a
Rename kernel rebooter
2019-01-10 22:25:05 +01:00
Kamil Kokot
a9b3cdf4a9
Remove all not tested configuration options
2019-01-10 22:19:26 +01:00
Kamil Kokot
f613c43cf2
Refactor the extension file
2019-01-10 22:13:17 +01:00
Kamil Kokot
c5a94dfc0c
Remove untested "env_file" setting
2019-01-10 22:11:56 +01:00
Kamil Kokot
7250dfca76
Get bare Behat scenario running
2019-01-09 22:29:50 +01:00
Kamil Kokot
463c274dbc
Create minimal passing scenario
2018-12-31 16:54:12 +01:00
Kamil Kokot
3ef67d3efc
Simplify configuration
2018-12-31 16:06:05 +01:00
Kamil Kokot
9cc5df85bf
Throw an exception if the bundle isn't registered
2018-12-31 15:48:56 +01:00
Kamil Kokot
5151d30b24
Minor fixes
2018-12-31 15:47:48 +01:00
Kamil Kokot
f334860d5c
Make SymfonyExtension great again
2018-12-28 19:55:49 +01:00
Kamil Kokot
9b6206d47b
Add MinkParameters support
2018-12-28 15:24:33 +01:00
Kamil Kokot
50fc509fb3
SymfonyExtension v2.0: proof of concept
2018-12-28 13:08:51 +01:00
Adrian Zmenda
99db863175
Tweaks after CR: remove obsolete docblocks, fix code formatting to match ECS
2018-12-09 16:11:00 +01:00
Adrian Zmenda
149d41087f
Add symfony 4 configuration loading when bootstrap is null; tweaked formatting, naming, tests and readme
2018-12-09 15:51:11 +01:00
Adrian Zmenda
141074a24e
Tweak README to include new configuration details for Symfony 4, tweak variable name
2018-12-09 15:47:50 +01:00
Adrian Zmenda
09c6530115
Add autoconfiguration for Symfony 4, allow overriding .env setting by using explicit env and debug settings, tweaks
2018-12-09 15:43:50 +01:00
Olivier Soulet
10de8e65d3
Fix #39
2018-10-29 20:51:15 +01:00
Mateusz Zalewski
de853c0fe3
Use dist env file by default
2018-09-20 11:52:20 +02:00
Kamil Kokot
fa42a8e00f
Fix errors reported by PHPStan
2018-08-01 16:11:34 +02:00
Kamil Kokot
79ce0976ab
Merge pull request #35 from pamil/coding-standard
...
Add SyliusLabs/CodingStandard and apply coding standard fixes
2018-08-01 15:56:03 +02:00
Kamil Kokot
725abfd603
Apply coding standard fixes
2018-08-01 15:38:05 +02:00
Kamil Kokot
6af6e49ec5
Remove license comments from PHP files
2018-08-01 15:32:53 +02:00
persata
154dcdce82
Make definitions public, ensures kernels are not inlined and duplicated
2018-07-29 14:36:52 +01:00
Arnaud Langlade
1b492f56d1
#25 fix scenario isolation
2018-03-14 09:06:23 +01:00
Arnaud Langlade
1a39d31f5e
Fix review feedback
2018-03-13 15:34:12 +01:00
Arnaud Langlade
b1059a520c
Symfony4 support
2018-03-03 22:23:11 +01:00
Łukasz Chruściel
10b26478ff
Add support for symfony driver
2018-02-14 15:12:11 +01:00
Kamil Kokot
5e05e35c20
Coding style minor fixes
2017-07-10 23:45:28 +02:00
Kamil Kokot
cfd3cd66e0
Fix typehints
2017-07-10 21:12:06 +02:00
Kamil Kokot
e0b13a79f7
Make use of PHP 7.1 syntax
2017-07-10 20:40:37 +02:00
Kamil Kokot
293d02deb5
Fix symfony_shared container name
2016-11-03 14:38:02 +01:00
Kamil Kokot
0681e81df4
Integrate with CrossContainerExtension
2016-11-03 13:29:59 +01:00
Kamil Kokot
f98a7a1d94
Set up kernel file & bootstrap application if needed
2016-11-03 13:09:59 +01:00