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

update the "CallMap" #1186

Closed
wants to merge 2 commits into from
Closed

update the "CallMap" #1186

wants to merge 2 commits into from

Conversation

voku
Copy link
Contributor

@voku voku commented Jan 9, 2019

-> merge with https://github.com/phpstan/phpstan/pull/1759/files


Maybe a new repository with a php "CallMap" is a good idea, so that other projects can also use it?

And maybe some kind of generator (e.g.: https://github.com/thecodingmachine/safe/tree/master/generator) can also help to automatically apply those fixes?

voku added 2 commits January 9, 2019 01:27
-> merge with https://github.com/phpstan/phpstan/pull/1759/files

---

Maybe a new repository with a php "CallMap" is a good idea, so that other projects can also use it?

And maybe some kind of generator (e.g.: https://github.com/thecodingmachine/safe/tree/master/generator) can also help to automatically apply those fixes?
@coveralls
Copy link

coveralls commented Jan 9, 2019

Coverage Status

Coverage decreased (-0.004%) to 87.531% when pulling 229d516 on voku:callmap_fixes into 596b92a on vimeo:master.

'SQLiteDatabase::lastError' => ['int'],
'SQLiteDatabase::lastInsertRowid' => ['int'],
'SQLiteDatabase::query' => ['SQLiteResult', 'query'=>'string', 'result_type='=>'int', 'error_msg='=>'string'],
'SQLiteDatabase::arrayQuery' => ['array', 'dbhandle'=>'', 'query'=>'string', 'result_type='=>'int', 'decode_binary='=>'bool'],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arrayQuery as a method does not accept dbhandle (at least according to PHP documentation). That's probably true for other methods here as well.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm going through and fixing that now, one sec

@muglug muglug closed this Jan 9, 2019
@muglug
Copy link
Collaborator

muglug commented Jan 9, 2019

Thanks - I applied this myself in dc2f492 and 5b2d796

Added upstream in phan/PHPSignatures#3

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

Successfully merging this pull request may close these issues.

4 participants