Browse Source

Upgrade dependencies

shalvah 5 years ago
parent
commit
c7740eae2b

+ 12 - 12
composer.json

@@ -15,27 +15,27 @@
         }
     ],
     "require": {
-        "php": ">=7.0.0",
-        "fzaninotto/faker": "~1.8",
-        "illuminate/routing": "^5.5|^6.0",
-        "illuminate/support": "^5.5|^6.0",
-        "illuminate/console": "^5.5|^6.0",
+        "php": ">=7.2.0",
+        "fzaninotto/faker": "^1.8",
+        "illuminate/routing": "^5.7|^6.0",
+        "illuminate/support": "^5.7|^6.0",
+        "illuminate/console": "^5.7|^6.0",
         "mpociot/documentarian": "^0.3.0",
         "mpociot/reflection-docblock": "^1.0.1",
         "ramsey/uuid": "^3.8",
-        "league/flysystem": "^1.0"
+        "league/flysystem": "^1.0",
+        "nunomaduro/collision": "^3.0"
     },
     "require-dev": {
-        "orchestra/testbench": "3.5.* || 3.6.* || 3.7.*",
-        "phpunit/phpunit": "^6.0.0 || ^7.4.0",
-        "dingo/api": "2.0.0-alpha1",
+        "orchestra/testbench": "^3.7.0 || ^4.0",
+        "phpunit/phpunit": "^7.5.0",
+        "dingo/api": "^2.3.0",
         "mockery/mockery": "^1.2.0",
         "league/fractal": "^0.17.0",
-        "phpstan/phpstan": "^0.9.0 || ^0.10.0 || ^0.11.15"
+        "phpstan/phpstan": "^0.11.15"
     },
     "suggest": {
-        "league/fractal": "Required for transformers support",
-        "nunomaduro/collision": "For better reporting of errors that are thrown when generating docs"
+        "league/fractal": "Required for transformers support"
     },
     "autoload": {
         "psr-4": {

+ 1 - 9
tests/GenerateDocumentationTest.php

@@ -19,15 +19,7 @@ class GenerateDocumentationTest extends TestCase
 {
     use TestHelpers;
 
-    /**
-     * Setup the test environment.
-     */
-    public function setUp()
-    {
-        parent::setUp();
-    }
-
-    public function tearDown()
+    public function tearDown(): void
     {
         Utils::deleteDirectoryAndContents('/public/docs');
     }

+ 1 - 1
tests/Unit/DingoGeneratorTest.php

@@ -16,7 +16,7 @@ class DingoGeneratorTest extends GeneratorTestCase
         ];
     }
 
-    public function setUp()
+    public function setUp(): void
     {
         parent::setUp();
 

+ 1 - 1
tests/Unit/GeneratorTestCase.php

@@ -48,7 +48,7 @@ abstract class GeneratorTestCase extends TestCase
     /**
      * Setup the test environment.
      */
-    public function setUp()
+    public function setUp(): void
     {
         parent::setUp();
 

+ 1 - 1
tests/Unit/RouteMatcherTest.php

@@ -15,7 +15,7 @@ class RouteMatcherTest extends TestCase
      */
     private $matcher;
 
-    protected function setUp()
+    protected function setUp(): void
     {
         parent::setUp();
         $this->matcher = new RouteMatcher();