| Summary: | visibility change access | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | itay friedman <itay.f> | ||||||
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | jacek.pospychala, silviya, zhaozhongwei | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 209884 [details]
public to private
fixed Verified. Closing. Ilina Stefanova |
Created attachment 209883 [details] protected to public When creating a class which uses a trait prpoblems occur both ways: 1. when changing visibility of a method from private/protected to public the method isn't shown in an instance of the class. 2. when changing visibility of a method from public to private/protected the method is still shown in an instance of the class. example tests attached 1. produces: junit.framework.AssertionFailedError: EXPECTED COMPLETIONS LIST: ----------------------------- method(sayHello) ACTUAL COMPLETIONS LIST: ----------------------------- 2. produces: junit.framework.AssertionFailedError: EXPECTED COMPLETIONS LIST: ----------------------------- ACTUAL COMPLETIONS LIST: ----------------------------- method(sayHello)