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

Reflect::on final #5

Open
nickl- opened this issue Feb 28, 2013 · 2 comments
Open

Reflect::on final #5

nickl- opened this issue Feb 28, 2013 · 2 comments

Comments

@nickl-
Copy link
Member

nickl- commented Feb 28, 2013

Implement final classes, properties, methods etc.

@jasir says this is a contender /juzna/php-enhancer

I secretly hopesetAccessible would just automagically do the trick, but I'm just lazy.

Any ideas, heads up, tried this before? Let us know...

@jasir
Copy link

jasir commented Mar 1, 2013

I think way is to have own autoloader, which really strips "final" tokens from the file. It is not possible to do through annotation, I have made the research. No mocking library can do it now, even my favourite mockista.https://github.com/janmarek/mockista

@nickl-
Copy link
Member Author

nickl- commented Mar 1, 2013

That sounds like a challenge, did you see what we do for MockAbstract? see @a33502a933

I can't imagine that is going to have to change much even. As we're not dependent on autoload to make changes but now I am just speculating. I didn't find much I liked about php-enhancer though, we like php just fine, no need to "enhance" it, imho.

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

No branches or pull requests

2 participants