[Lunr] Gravity: Indicate helper attributes as PHPunit mocks

Review Request #726 — Created Nov. 17, 2020 and discarded

smillernl
Lunr
feature/gravity/helper_mock_hints
lunr
Gravity: Indicate helper attributes as PHPunit mocks


  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
What do we gain from this? pprkut pprkut
pprkut
  1. 
      
    1. Better code completion in tests that use this. And more accurate typehints

    2. I don't want to use intersection types until PHP understands them natively. Also, "better code completion" is relative, because for me this would actually break code completion.

  2. 
      
smillernl
smillernl
smillernl
Review request changed

Status: Discarded

Loading...