[Lunr.Locator] Core: Add PHPStan extension for ServiceLocator

Review Request #829 — Created May 5, 2022 and submitted

smillernl
Lunr.Locator
feature/core/phpstan_locator
MM-5
lunr
Core: Add PHPStan extension for ServiceLocator


  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
pprkut
  1. 
      
  2. Would a leading \ matter/be possible here?

  3. This may be too naive. config works, but request depends on override() being called before.

    1. I think as a general rule request also works. I can remove it, but you'll be left with a bunch of errors.

    2. But that's a general rule for /us/, not for any user of Lunr.Locator. We would have to make it a configurable option, where you could provide a list of identifiers that are allowed even though the recipe is missing.

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

Status: Closed (submitted)

Loading...