Skip to content

Commit

Permalink
Merge pull request open-lms-open-source#56 from kabalin/phpdbg-memory…
Browse files Browse the repository at this point in the history
…-limit

PHPUnitCommand: Disable memory limit for phpdbg run
  • Loading branch information
stronk7 authored Nov 27, 2020
2 parents d2390e9 + 43cfb26 commit f9b4e1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
This resolves an issue where an "Unable to find local grunt" message was reported when code was structured in a legacy
format. See #46 for more details.

### Changed
- `moodle-plugin-ci phpunit` when coverage report is included, phpdbg is called with ignore memory limits param
to avoid memory exhaused errors.

## [3.0.3] - 2020-10-16
### Changed
- Updated version of [moodle-local_codechecker](https://github.com/moodlehq/moodle-local_codechecker) to v2.9.8.
Expand Down
2 changes: 1 addition & 1 deletion src/Command/PHPUnitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private function resolveBinary(InputInterface $input)
return '';
}

return 'phpdbg -qrr ';
return 'phpdbg -d memory_limit=-1 -qrr ';
}

/**
Expand Down

0 comments on commit f9b4e1b

Please sign in to comment.