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

Method body replacement #141

Merged
merged 6 commits into from
Feb 19, 2016
Merged

Method body replacement #141

merged 6 commits into from
Feb 19, 2016

Conversation

asgrim
Copy link
Member

@asgrim asgrim commented Oct 28, 2015

Solves part of #134 (ability to replace the statements within a function or method)

Note this requires PR #135 to be merged first, so do not merge please.

Also depends on jeremeamia/super_closure#70 (stable in 2.2.0+ now, which is used by our master now anyway)

@asgrim asgrim self-assigned this Oct 28, 2015
@asgrim asgrim added this to the 1.0.0 milestone Oct 28, 2015
@@ -7,7 +7,8 @@
"nikic/php-parser": "dev-master",
"phpdocumentor/reflection-docblock": "^2.0",
"phpdocumentor/type-resolver": "dev-master",
"zendframework/zend-code": "^2.5@dev"
"zendframework/zend-code": "^2.5@dev",
"jeremeamia/superclosure": "dev-php-parser"
Copy link
Member Author

Choose a reason for hiding this comment

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

Needs replacing before merge

Copy link
Member Author

Choose a reason for hiding this comment

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

(the version, not the whole dependency)

@Ocramius
Copy link
Member

Note: I would not merge this until we first have a stable (tagged) API with the read-only part of better-reflection

@asgrim asgrim modified the milestones: 1.1.0, 1.0.0 Nov 1, 2015
@asgrim
Copy link
Member Author

asgrim commented Nov 1, 2015

@Ocramius agreed. I just created 1.1.0 milestone for future releases

@asgrim asgrim force-pushed the monkey-patching-methods branch 2 times, most recently from 0ff473f to 72be51f Compare November 5, 2015 15:29
@asgrim
Copy link
Member Author

asgrim commented Nov 26, 2015

@asgrim worth rebasing and looking at comments after #151 is merged

@asgrim asgrim force-pushed the monkey-patching-methods branch 2 times, most recently from e3b02b7 to 74a39de Compare February 6, 2016 00:11
@asgrim asgrim changed the title [DO NOT MERGE] Method body replacement [WIP] Method body replacement Feb 6, 2016
@asgrim asgrim force-pushed the monkey-patching-methods branch 2 times, most recently from db6dc72 to 3a738f4 Compare February 19, 2016 11:56
@asgrim asgrim changed the title [WIP] Method body replacement Method body replacement Feb 19, 2016
@asgrim asgrim assigned Ocramius and unassigned asgrim Feb 19, 2016
Ocramius added a commit that referenced this pull request Feb 19, 2016
@Ocramius Ocramius merged commit 8ec5906 into master Feb 19, 2016
@Ocramius Ocramius deleted the monkey-patching-methods branch February 19, 2016 13:32
@Ocramius Ocramius mentioned this pull request Feb 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants