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:
5252 - if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
5353 - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
5454 - 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
5556
5657install :
5758 # 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()
7474
7575 /**
7676 * Shuts the kernel down if it was used in the test.
77+ *
78+ * @after
7779 */
78- private function ensureKernelShutdown ()
80+ public function ensureKernelShutdown ()
7981 {
8082 if (null !== $ this ->kernel ) {
8183 $ container = $ this ->kernel ->getContainer ();
@@ -86,14 +88,6 @@ private function ensureKernelShutdown()
8688 }
8789 }
8890
89- /**
90- * Clean up Kernel usage in this test.
91- */
92- protected function tearDown ()
93- {
94- $ this ->ensureKernelShutdown ();
95- }
96-
9791 /**
9892 * @param CompilerPassInterface $compilerPass
9993 */
You can’t perform that action at this time.
0 commit comments