[Halo] General: Add return and parameter types

Review Request #736 — Created Feb. 19, 2021 and submitted

smillernl
Lunr.Halo
feature/general/types
lunr
General: Add return and parameter types


  • 0
  • 0
  • 3
  • 2
  • 5
Description From Last Updated
There are no open issues
pprkut
  1. 
      
  2. src/Lunr/Halo/LunrBaseTest.php (Diff revision 1)
     
     
    The issue has been resolved. Show all issues

    I prefer use statements at the top over using absolute namespaces

  3. src/Lunr/Halo/LunrBaseTest.php (Diff revision 1)
     
     
    The issue has been resolved. Show all issues

    ditto

  4. src/Lunr/Halo/LunrBaseTest.php (Diff revision 1)
     
     
    The issue has been resolved. Show all issues

    ditto

  5. src/Lunr/Halo/LunrBaseTest.php (Diff revision 1)
     
     
     
     
     
    The issue has been dropped. Show all issues

    The reason why we don't re-mark as skipped here is because it's superfluous. It's not expected that you call unmock without having called mock before.

    1. That might be true, but it can still happen.

  6. src/Lunr/Halo/LunrBaseTest.php (Diff revision 1)
     
     
     
    The issue has been dropped. Show all issues

    why drop the return?

    1. because markTestSkipped throws, there is no way it would reach that code.

  7. 
      
smillernl
pprkut
  1. Ship It!
  2. 
      
smillernl
Review request changed

Status: Closed (submitted)

Loading...