Commit Graph

67 Commits

Author SHA1 Message Date
Kamil Kokot
f3eca984d2 Do not require base URL set with Mink 2019-10-10 17:38:33 +02:00
Łukasz Chruściel
b056e9b5f0 [HotFix] Force object typehint 2019-09-09 19:52:03 +02:00
Kamil Kokot
a425be697a Initialize contexts registered as services 2019-03-21 17:16:23 +01:00
Kamil Kokot
69d150b3dc Hotfix for weird bug in Sylius 2019-03-17 23:29:56 +01:00
Kamil Kokot
01fe9425a1 Fix bug preventing changes of Mink default session service 2019-03-15 15:21:36 +01:00
Kamil Kokot
13d64ca7cb Allow accessing a context in another context 2019-03-04 13:32:16 +01:00
Alan Poulain
8a972b5b48 Apply suggestions from code review
Co-Authored-By: pamil <kamil@kokot.me>
2019-02-13 12:29:55 +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
717c869ad6 Revert mink parameters autoconfiguration 2019-02-07 11:58:17 +01:00
Kamil Kokot
394b9abdfc Fix support for context initializers 2019-01-30 17:10:20 +01:00
Kamil Kokot
3e1da228d0 Clean up the bundle's extension 2019-01-21 15:24:49 +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
4405596ca1 Make PHPStan passing 2019-01-10 00:10:27 +01:00
Kamil Kokot
05f4fe789f Apply coding standard fixes 2019-01-09 23:47:50 +01:00
Kamil Kokot
6061eaaf62 Test Mink integration 2019-01-09 23:47:24 +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
9b3672d7f2 Make exception messages great again 2018-12-31 16:03:00 +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
0ecd038e61 Make MinkParameters imitate PHP arrays 2018-12-28 15:40:13 +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