Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Ensure the parser runs properly on major PHP frameworks/libraries #148

Open
18 of 20 tasks
nevadascout opened this issue Sep 13, 2016 · 16 comments
Open
18 of 20 tasks

Ensure the parser runs properly on major PHP frameworks/libraries #148

nevadascout opened this issue Sep 13, 2016 · 16 comments

Comments

@nevadascout
Copy link
Member

nevadascout commented Sep 13, 2016

Frameworks (✓ means parsing successfully)


Libraries

@nevadascout
Copy link
Member Author

nevadascout commented Sep 20, 2016

These frameworks all need retesting once the issues marked against them are resolved.

Update: re-ran, only Yii 1 is now failing to parse (due to memory leak)

@nevadascout
Copy link
Member Author

Deferring to 0.2.2 release

@nevadascout nevadascout modified the milestones: 0.2.2, 0.2.1 Sep 24, 2016
@Novynn
Copy link

Novynn commented Sep 29, 2016

Could we also add Zend Framework 1 to the list? 1.12.20 is the latest. Still failing to finishing parsing with it included as of Crane v0.2.1.

EDIT: Re-ran the parser after it froze up and it worked!

@nevadascout
Copy link
Member Author

I've added Zend Framework 1, thanks for the suggestion!

@mpotoc
Copy link

mpotoc commented Oct 18, 2016

Is it possible to make Phalcon also work? I tried and tried with Phalcon stubs to get them working, but no luck so far. Am i wrong or not possible to do that yet?

@ichiriac
Copy link
Collaborator

ichiriac commented Nov 1, 2016

@mpotoc you mean you would like to parse files like these one : https://github.com/phalcon/cphalcon/blob/master/phalcon/acl.zep ?

@mpotoc
Copy link

mpotoc commented Nov 2, 2016

@ichiriac yes something like that, i am using phpstorm (university license until mid 2017) and in there you can add external libraries like Phalcon Dev Tools, which have stubs folder under IDE folder and you can link this in phpstorm to get full Phalcon namespace, etc. intellisense. Is something like this possible in VS Code with your extension, or will be anytime soon? Still have 8 month to decide stay on Storm and buy it or start using something else.

Thanks

@nevadascout
Copy link
Member Author

@mpotoc Yes, we are planning to add a feature that lets you get intellisense for libraries that are outside the workspace folder. This change will also let you define filetypes other than .php that the parser should parse.

@mpotoc
Copy link

mpotoc commented Nov 2, 2016

@ichiriac perfect, will look for updates of your extension. Thanks a lot for the answer.

@nevadascout nevadascout modified the milestones: 0.2.5, 0.3.0 Nov 2, 2016
@kiatng
Copy link

kiatng commented Nov 28, 2016

Is it possible to add Magento 1.9.x and 2.x to the list? For Magento 1.9.x, it stops at 66 of 9748 / 0.7%

@ichiriac
Copy link
Collaborator

@kiatng they are now in the php-parser token tests en ensure their parsing (bugfixing in progress)

@scottsb
Copy link

scottsb commented Jan 4, 2017

@ichiriac would that apply to Magento 2 as well, do you think? It also locks up having partially indexed.

@ichiriac
Copy link
Collaborator

ichiriac commented Jan 4, 2017

@scottsb already done, here the list of projects already passing :
https://github.com/glayzzle/php-parser-dev/tree/master/test/token

@codewp
Copy link

codewp commented Jan 29, 2017

Is it possible to adding Wordpress to this list?
Indexing stuck at 48%

@ichiriac
Copy link
Collaborator

hi @codewp, it's done & tests passes with the latest version - now we need to release crane in order to fix all these bugs

@nevadascout
Copy link
Member Author

nevadascout commented Mar 4, 2017

As of Crane 0.3.0, all major libraries in this list now parse without any errors

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants