diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 58e1328..d600b04 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,19 +2,20 @@ name: Tests on: push: - branches: [ master ] + branches: + - master pull_request: - branches: [ master ] + branches: + - master jobs: build: - runs-on: ubuntu-latest strategy: fail-fast: false matrix: - php: [ "8.1","8.0", "7.4", "7.3", "7.2" ] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] steps: - uses: actions/checkout@v2 diff --git a/.gitignore b/.gitignore index 830929c..32c3d92 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ composer.lock .idea .project /.phpunit.result.cache +/.phpunit.cache \ No newline at end of file diff --git a/composer.json b/composer.json index b71faf0..9aed41b 100755 --- a/composer.json +++ b/composer.json @@ -11,17 +11,17 @@ ], "require": { "php": "^7.1 || ^8.0", - "illuminate/container": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/http": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/routing": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/container": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0 || ^11.0", + "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0 || ^11.0", + "illuminate/http": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0 || ^11.0", + "illuminate/routing": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0 || ^11.0", "cloudconvert/cloudconvert-php": "^3.1.0", - "symfony/psr-http-message-bridge": "^1.2|^2.0", + "symfony/psr-http-message-bridge": "^1.2|^2.0 || ^7.0", "nyholm/psr7": "^1.2" }, "require-dev": { - "phpunit/phpunit": "^7.0|^8.0|^9.5.10", - "orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.0|^7.0|^8.0", + "phpunit/phpunit": "^7.0|^8.0|^9.5.10 || ^10.5", + "orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.0|^7.0|^8.0 || ^9.0", "php-http/guzzle7-adapter": "^1.0" }, "autoload": { diff --git a/phpunit.xml b/phpunit.xml index 422eeac..09d46e7 100755 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,17 +1,9 @@ - - - - ./tests/ - - + + + + ./tests/ + ./tests/TestCase.php + +