Skip to content

Commit

Permalink
ResultCacheManager - exclude xdebug from the list of loaded extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 27, 2020
1 parent d925608 commit 8ce9207
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Analyser/ResultCache/ResultCacheManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,9 @@ private function save(
*/
private function getMeta(): array
{
$extensions = get_loaded_extensions();
$extensions = array_values(array_filter(get_loaded_extensions(), static function (string $extension): bool {
return $extension !== 'xdebug';
}));
sort($extensions);

return [
Expand Down

0 comments on commit 8ce9207

Please sign in to comment.