Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i can generate index , but cant't most is 0 function #105

Open
chairping opened this issue Aug 10, 2017 · 4 comments
Open

i can generate index , but cant't most is 0 function #105

chairping opened this issue Aug 10, 2017 · 4 comments

Comments

@chairping
Copy link

[2017-08-10 15:55:48] completer.INFO: processing application/Bootstrap.php [] []
[2017-08-10 15:55:48] completer.INFO: Traversing with 1 walkers [] []
[2017-08-10 15:55:48] completer.INFO: Parsing: [0.051778078079224]s [] []
[2017-08-10 15:55:48] completer.DEBUG: Processing 1 classes [] []
[2017-08-10 15:55:48] completer.DEBUG: Processing 0 interfaces [] []
[2017-08-10 15:55:48] completer.DEBUG: Processing 0 functions [] []
[2017-08-10 15:55:48] completer.DEBUG: Processing node Bootstrap [] []
[2017-08-10 15:55:48] completer.DEBUG: Indexing: [0.054563999176025]s [] []
[2017-08-10 15:55:48] completer.DEBUG: Memory: 53835096 [] []
[2017-08-10 15:55:48] completer.INFO: Progress: 3% [] []
[2017-08-10 15:55:48] completer.INFO: processing application/controllers/Cart.php [] []
[2017-08-10 15:55:48] completer.INFO: Traversing with 1 walkers [] []
[2017-08-10 15:55:48] completer.INFO: Parsing: [0.071152210235596]s [] []
[2017-08-10 15:55:48] completer.DEBUG: Processing 1 classes [] []
[2017-08-10 15:55:48] completer.DEBUG: Processing 0 interfaces [] []
[2017-08-10 15:55:48] completer.DEBUG: Processing 0 functions [] []

php -v
PHP 5.6.30 (cli) (built: Mar 11 2017 09:56:27)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

@mkusher
Copy link
Member

mkusher commented Aug 10, 2017

and what is the problem? 0 functions just mean you don't have functions in your php files, only classes

@chairping
Copy link
Author

My English is very bad, I mean my php files have many functions , but padawan can't get them.

@mkusher
Copy link
Member

mkusher commented Aug 11, 2017

@chenping684 can u show example of such file?

@halftan
Copy link
Contributor

halftan commented Aug 22, 2017

@chenping684 If your functions are class methods, then they are not counted as functions. They are included in the Processing 1 classes line.

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

No branches or pull requests

3 participants