You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
This does not seem to be a bug for me. The content of the file is valid and i dont see my script crashing at all? If Serenata crashes i think the problem lies in the editor and not directly the script.
I suppose it's a matter of opinion. Most text providers are <300K but they differ dramatically in size with NL_be being the largest at ~1M. IMO, 10K is more than enough since it's only used to seed a random text generator. The larger the file the larger the memory footprint.
This lib is ~11M total. The Text.php files together are the majority of that bulk at ~7M.
There's #1802, too. Instead of compression, just make them small.
Summary
See Gert-dev/php-ide-serenata#483. The https://github.com/fzaninotto/Faker/blob/v1.8.0/src/Faker/Provider/nl_BE/Text.php file causes php to crash when Serenata is attempting to index the file. I'm not certain why but the file is quite large (>1M). My workaround is to delete the content of the nowdoc property after line 75.
Versions
fzaninotto/faker
Self-enclosed code snippet for reproduction
This can be reproduced in the Atom editor by installing the php-ide-serenata and indexing a project with
fzaninotto/faker
installed.Expected output
Successful indexing
Actual output
php crash
The text was updated successfully, but these errors were encountered: