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

Introduce a Runkit support class #15

Merged
merged 4 commits into from
Oct 26, 2020
Merged

Conversation

stevegrunwell
Copy link
Member

@stevegrunwell stevegrunwell commented Oct 26, 2020

Since the runkit_* functions have been deprecated in newer versions of PHP, introduce a Runkit helper class that will try to use the runkit7_* version (if they exist).

In order to get things passing, this also adds the missing typehints originally from another PR, so this also closes #13.

Since the `runkit_*` functions have been deprecated in newer versions of PHP, introduce a `Runkit` helper class that will try to use the `runkit7_*` version (if they exist).
@stevegrunwell stevegrunwell added enhancement New feature or request code quality Improve the quality of the codebase labels Oct 26, 2020
@stevegrunwell stevegrunwell added this to the Version 0.2.0 milestone Oct 26, 2020
Since our code relies on PHPUnit being present, this will cause PHPUnit Bridge (simple-phpunit) to install the version, ensuring it's available to PHPStan.
@stevegrunwell stevegrunwell merged commit 582f8db into develop Oct 26, 2020
@stevegrunwell stevegrunwell deleted the feature/runkit-proxy branch October 26, 2020 18:33
@stevegrunwell stevegrunwell mentioned this pull request Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improve the quality of the codebase enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant