Skip to content

Commit 6f70e3e

Browse files
committed
- Removed test files to prevent triggering AV solutions installed. Instead, use the test class itself to perform the test. This won't test, if ClamAV works properly, but that's nothing this test should cover anyway. Furthermore, the test tried to scan files located in /home. I'm somewhat confident, that this fails most of the time (resolves #23)
- Applied PSR-12 related changes - Set minimum PHP version to 8.0 - Updated travis to test against PHP 8.0 & 8.1, removed PHP 7.1 - 7.4 - Added new method fileScanInStream (resolves #21) - Updated composer.lock
1 parent 8ecc74f commit 6f70e3e

File tree

12 files changed

+1930
-99
lines changed

12 files changed

+1930
-99
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
composer.lock
1+
.phpunit.result.cache
22
/vendor/
33
/.idea/

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
dist: focal
2+
13
language: php
24

35
php:
4-
- 7.1
5-
- 7.2
6-
- 7.3
7-
- 7.4
6+
- 8.0
7+
- 8.1
88

99
notifications:
1010
email:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
}
2727
},
2828
"require": {
29-
"php": ">=7.1",
29+
"php": ">=8.0",
3030
"ext-sockets": "*"
3131
},
3232
"require-dev": {
33-
"phpunit/phpunit": "^7.0"
33+
"phpunit/phpunit": "^9"
3434
},
3535
"minimum-stability": "stable"
3636
}

0 commit comments

Comments
 (0)