property_conflict.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. trait PropertyConflictTraitOne
  3. {
  4. /**
  5. * @Note('property-conflict-trait-one')
  6. */
  7. protected $traitAndTraitAndParent = 1;
  8. /**
  9. * @Note('property-conflict-trait-one')
  10. */
  11. protected $unannotatedTraitAndAnnotatedTrait = 1;
  12. /**
  13. * @Note('property-conflict-trait-one')
  14. */
  15. protected $traitAndParentAndChild = 1;
  16. /**
  17. * @Note('property-conflict-trait-one')
  18. */
  19. protected $traitAndChild = 1;
  20. }
  21. trait PropertyConflictTraitTwo
  22. {
  23. /**
  24. * @Note('property-conflict-trait-two')
  25. */
  26. protected $traitAndTraitAndParent = 1;
  27. protected $unannotatedTraitAndAnnotatedTrait = 1;
  28. }
  29. class PropertyConflictBaseTraitTester
  30. {
  31. /**
  32. * @Note('property-conflict-base-trait-tester')
  33. */
  34. protected $traitAndTraitAndParent = 1;
  35. /**
  36. * @Note('property-conflict-base-trait-tester')
  37. */
  38. protected $traitAndParentAndChild = 1;
  39. }
  40. class PropertyConflictTraitTester extends PropertyConflictBaseTraitTester
  41. {
  42. use PropertyConflictTraitTwo, PropertyConflictTraitOne;
  43. /**
  44. * @Note('property-conflict-trait-tester')
  45. */
  46. protected $traitAndChild = 1;
  47. /**
  48. * @Note('property-conflict-trait-tester')
  49. */
  50. protected $traitAndParentAndChild = 1;
  51. }