8000 minor #30779 Remove obsolete code (fabpot) · symfony/symfony@2041924 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2041924

Browse files
committed
minor #30779 Remove obsolete code (fabpot)
This PR was merged into the 4.3-dev branch. Discussion ---------- Remove obsolete code | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a | License | MIT | Doc PR | n/a The bug referenced was fixed in 7.0 beta 3 (php/php-src@668ecaa) Commits ------- 8d25319 removed obsolete code
2 parents e9e2f21 + 8d25319 commit 2041924

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,6 @@ public static function stripComments($source)
826826

827827
$output .= $rawChunk;
828828

829-
// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
830829
unset($tokens, $rawChunk);
831830
gc_mem_caches();
832831

src/Symfony/Component/Routing/Loader/AnnotationFileLoader.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public function load($file, $type = null)
6060
$collection->addCollection($this->loader->load($class, $type));
6161
}
6262

63-
// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
6463
gc_mem_caches();
6564

6665
return $collection;

src/Symfony/Component/Translation/Extractor/PhpExtractor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public function extract($resource, MessageCatalogue $catalog)
8383
foreach ($files as $file) {
8484
$this->parseTokens(token_get_all(file_get_contents($file)), $catalog);
8585

86-
// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
8786
gc_mem_caches();
8887
}
8988
}

0 commit comments

Comments
 (0)
0