| Summary: | trait proposal | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | itay friedman <itay.f> | ||||
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ganoro, jacek.pospychala, silviya | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
I think that this is the bug:
<?php
namespace One {
trait Dtest {
function foo1() {
echo 44;
}
}
class Agree {
use D;
}
function funky(){
return 0;
}
}
namespace foo {
use One;
class B {
use Dte|
}
}
?>
The given example is a simple (not php 5.4 related)
please disregard my last comment it's related to another issue fixed Verified. Closing Ilina Stefanova |
Created attachment 210243 [details] example test traits aren't proposed in a class use... statement example test attached produces: junit.framework.AssertionFailedError: EXPECTED COMPLETIONS LIST: ----------------------------- type(TESTA) type(TESTB) ACTUAL COMPLETIONS LIST: -----------------------------