[Corona] PHPCS fixes

Review Request #859 — Created Aug. 1, 2022 and submitted

d.cova
Lunr
cs-corona
73d40a2...
lunr

style formatting according to the Lunr code standard

ran unit tests

  • 0
  • 0
  • 14
  • 0
  • 14
Description From Last Updated
smillernl
  1. 
      
  2. Review name is wrong

  3. 
      
d.cova
smillernl
  1. Still wrong

    1. How come?

    2. Compare it to any other review and see

  2. 
      
d.cova
smillernl
  1. 
      
  2. This should have a class name

  3. src/Lunr/Corona/JsonView.php (Diff revision 1)
     
     
     
     
     
     
     

    I'm not sure this adheres to codestyle either. I'd rather keep the single line or construct the message betore this.

  4. src/Lunr/Corona/MsgpackView.php (Diff revision 1)
     
     

    Same here

  5. It's not passing the provider, it's passing the name of the invalid controller

  6. 
      
smillernl
d.cova
smillernl
  1. 
      
  2. Should use the Exception import instead of using a FQDN

  3. 
      
d.cova
smillernl
  1. Ship It!
  2. 
      
pprkut
  1. 
      
  2. src/Lunr/Corona/CompactJsonView.php (Diff revision 3)
     
     
     

    classes in the same namespace don't get use statements

  3. src/Lunr/Corona/HTMLView.php (Diff revision 3)
     
     
     

    classes in the same namespace don't get use statements

  4. src/Lunr/Corona/JsonView.php (Diff revision 3)
     
     
     

    classes in the same namespace don't get use statements

  5. src/Lunr/Corona/MsgpackView.php (Diff revision 3)
     
     
     

    classes in the same namespace don't get use statements

  6. src/Lunr/Corona/RequestResultHandler.php (Diff revision 3)
     
     
     

    classes in the same namespace don't get use statements

  7. src/Lunr/Corona/View.php (Diff revision 3)
     
     
     

    classes in the same namespace don't get use statements

  8. src/Lunr/Corona/View.php (Diff revision 3)
     
     
     

    Should stay

  9. 
      
d.cova
d.cova
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (39c1fb5)
Loading...