PhpMetrics: svg graphs broken in v1.8.3
installed latest version.
ran phpmetrics from the command line
overcame memory limit problem from #188 by doubling memory to 1024M.
Chrome reports javascript errors. Ditto in Firefox and Safari

line 1618 begins
d3=function(){function n(n)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 22 (13 by maintainers)
Commits related to this issue
- #189 svg graphs broken AS @GWillmann proposed, it works fine. — committed to corretge/PhpMetrics by corretge 8 years ago
- fix #189 - we don't use Symfony/StreamOutput now — committed to phpmetrics/PhpMetrics by Halleck45 8 years ago
- Merge pull request #196 from phpmetrics/fix/189-no-images-in-html-report fix #189 - we don't use Symfony/StreamOutput now — committed to phpmetrics/PhpMetrics by Halleck45 8 years ago
It was really hard, but I found the bug \o/
The bug does not concern Twig but the use of
Symfony\Component\Console\Output\StreamOutputcomponent (this component uses streams, withfwrite()andfflush()functions)Way to reproduce:
I can solve this issue using the
file_put_contents()function, but before I want understand : why this bug occurs ?