[General] add return types in tests

Review Request #658 — Created March 15, 2019 and submitted

smillernl
Lunr
phpunit8
ML-586
lunr

Corona: add return types in tests
Gravity: add return types in tests
L10n: add return types in tests
Shadow: add return types in tests
Spark: add return types in tests
Spawn: add return types in tests
Sphere: add return types in tests
Vortex: add return types in tests
General: bump phpunit version and update EnvTest



  • 0
  • 0
  • 6
  • 0
  • 6
Description From Last Updated
smillernl
pprkut
  1. 
      
  2. composer.json (Diff revision 1)
     
     
     
     

    what does this do?

    1. It accepts any version of psr/log that is already installed. basically avoiding duplication with Lunr.Halo

    2. From what I understand from the documentation, this is not correct. You specify that Lunr replaces Psr/Log, i.e. "if you need Psr/Log, you can use Lunr instead since it replaces it", declaring Lunr a fork of Psr/Log which is definitely not the case.

      Not even the case where it includes a subpackage makes sense, since we should use self.version then and that won't work either.

  3. 
      
pprkut
  1. 
      
  2. composer.json (Diff revision 1)
     
     

    this can go

  3. composer.json (Diff revision 1)
     
     

    this can go

  4. composer.json (Diff revision 1)
     
     

    if we drop support for PHP 5, this can go

  5. composer.json (Diff revision 1)
     
     

    PHP 7.1 requires xdebug 2.5

  6. 
      
pprkut
  1. 
      
  2. There were 216 errors

    Guess this isn't quite ready yet :-/

    1. Most of it seems to be errors like Call to undefined method Lunr\Spark\Twitter\Tests\SearchApiTest::assertIsArray()

  3. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...