Skip to content

Commit f8a1349

Browse files
Laravel 8 support (#14)
1 parent 74e0744 commit f8a1349

File tree

4 files changed

+19
-27
lines changed

4 files changed

+19
-27
lines changed

.phpunit.result.cache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
C:37:"PHPUnit\Runner\DefaultTestResultCache":771:{a:2:{s:7:"defects";a:3:{s:84:"Makeable\SqlCheck\Tests\Feature\HealthySqlDumpTest::it_succeeds_when_file_is_healthy";i:3;s:83:"Makeable\SqlCheck\Tests\Feature\HealthySqlDumpTest::it_fails_when_backup_is_corrupt";i:3;s:102:"Makeable\SqlCheck\Tests\Feature\HealthySqlDumpTest::it_fails_when_sql_process_exceed_the_timeout_limit";i:3;}s:5:"times";a:4:{s:84:"Makeable\SqlCheck\Tests\Feature\HealthySqlDumpTest::it_succeeds_when_file_is_healthy";d:0.523;s:83:"Makeable\SqlCheck\Tests\Feature\HealthySqlDumpTest::it_fails_when_backup_is_corrupt";d:0.085;s:102:"Makeable\SqlCheck\Tests\Feature\HealthySqlDumpTest::it_fails_when_sql_process_exceed_the_timeout_limit";d:0.163;s:87:"Makeable\SqlCheck\Tests\Feature\HealthySqlDumpTest::it_fails_on_insufficient_disk_space";d:0.027;}}}

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ sudo: false
33
language: php
44

55
php:
6-
- 7.2
76
- 7.3
87
- 7.4
98

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"name": "makeabledk/laravel-backup-sql-check",
33
"license": "CC-BY-SA-4.0",
44
"require": {
5-
"php": ">=7.1.0",
5+
"php": ">=7.3.0",
66
"symfony/process": "^5.0"
77
},
88
"require-dev": {
99
"spatie/laravel-backup": "^6.0",
10-
"laravel/laravel": "^7.0",
11-
"orchestra/testbench": "^5.0",
10+
"laravel/laravel": "^8.0",
11+
"orchestra/testbench": "^6.0",
1212
"mockery/mockery": "^1.3"
1313
},
1414
"autoload": {

phpunit.xml

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false">
11-
<testsuites>
12-
<testsuite name="Package Test Suite">
13-
<directory suffix="Test.php">./tests/</directory>
14-
</testsuite>
15-
</testsuites>
16-
<filter>
17-
<whitelist>
18-
<directory suffix=".php">src/</directory>
19-
</whitelist>
20-
</filter>
21-
<php>
22-
<ini name="display_errors" value="1"/>
23-
</php>
24-
</phpunit>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src/</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="Package Test Suite">
10+
<directory suffix="Test.php">./tests/</directory>
11+
</testsuite>
12+
</testsuites>
13+
<php>
14+
<ini name="display_errors" value="1"/>
15+
</php>
16+
</phpunit>

0 commit comments

Comments
 (0)