Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Incompatible with php 5.6 splat/ellipsis operator "..." #296

Closed funkflute closed 8 years ago

funkflute commented 8 years ago

If an auto-loaded file contains the splat/ellipsis operator "..." (new in php 5.6), the autocompleting fails and doesn't show any classes at all. I had this failing when using Laravel. I had to remove the "..." from these parameters to get complete to work:

https://github.com/laravel/framework/commit/e4d83f0eb21fc6a35f02443ea6f0c090f9536763

EDIT: duh, I had php 5.5 installed