[Config] Adjust autoload include so it's no longer conditional

Review Request #1094 — Created Jan. 17, 2024 and submitted

pprkut
Lunr.Config
1093
1095
146b986...
lunr

Adjust autoload include so it's no longer conditional

Fixes phpcs error: File is being conditionally included; use "include_once" instead

GitHub actions run: https://github.com/pprkut/lunr.config/actions/runs/7556660743

  • 0
  • 0
  • 0
  • 1
  • 1
Description From Last Updated
b.stoop
  1. 
      
  2. tests/phpstan.autoload.inc.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
     

    What is the advantage of this change?

    1. Same as last time around https://reviews.lunr.nl/r/1070/ ;)

    2. Sure, but still why prefer it this way?

    3. because phpcs complains about it, same as last time

  3. 
      
smillernl
  1. Ship It!
  2. 
      
pprkut
b.stoop
  1. Ship It!
  2. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release/0.8.x (807b87e)
Loading...