File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ before_install:
52
52
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
53
53
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
54
54
- if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
55
+ - echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
55
56
56
57
install :
57
58
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
Original file line number Diff line number Diff line change @@ -74,8 +74,10 @@ protected function createKernel()
74
74
75
75
/**
76
76
* Shuts the kernel down if it was used in the test.
77
+ *
78
+ * @after
77
79
*/
78
- private function ensureKernelShutdown ()
80
+ public function ensureKernelShutdown ()
79
81
{
80
82
if (null !== $ this ->kernel ) {
81
83
$ container = $ this ->kernel ->getContainer ();
@@ -86,14 +88,6 @@ private function ensureKernelShutdown()
86
88
}
87
89
}
88
90
89
- /**
90
- * Clean up Kernel usage in this test.
91
- */
92
- protected function tearDown ()
93
- {
94
- $ this ->ensureKernelShutdown ();
95
- }
96
-
97
91
/**
98
92
* @param CompilerPassInterface $compilerPass
99
93
*/
You can’t perform that action at this time.
0 commit comments