-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to amphp/amp ^3.0, migrate to fibers!
- removed continueScan from Session, as the command is not supported there - add unit tests
- Loading branch information
Showing
19 changed files
with
398 additions
and
3,756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
/vendor/ | ||
.php-cs-fixer.cache | ||
.phpunit.result.cache | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,45 @@ | ||
{ | ||
"name": "pato05/amphp-clamav", | ||
"description": "An asynchronous clamd wrapper written with amphp/socket", | ||
"type": "library", | ||
"require": { | ||
"php": "^8.0", | ||
"amphp/amp": "^2.6", | ||
"amphp/socket": "^1.2", | ||
"ext-sockets": "*" | ||
"name": "pato05/amphp-clamav", | ||
"description": "An asynchronous clamd wrapper written with amphp/socket", | ||
"type": "library", | ||
"require": { | ||
"php": "^8.0", | ||
"amphp/amp": "^3.0", | ||
"amphp/socket": "^2.0", | ||
"ext-sockets": "*" | ||
}, | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"Amp\\ClamAV\\": "lib/" | ||
}, | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"Amp\\ClamAV\\": "lib/" | ||
}, | ||
"files": [ | ||
"lib/functions.php" | ||
] | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Pato05", | ||
"email": "pato05mc@gmail.com" | ||
} | ||
"files": [ | ||
"lib/functions.php" | ||
] | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Pato05", | ||
"email": "pato05mc@gmail.com" | ||
} | ||
], | ||
"require-dev": { | ||
"amphp/php-cs-fixer-config": "^2.0", | ||
"amphp/file": "^3.0", | ||
"amphp/phpunit-util": "^3.0", | ||
"phpunit/phpunit": "^9.6" | ||
}, | ||
"scripts": { | ||
"check": [ | ||
"@fix", | ||
"@test" | ||
], | ||
"require-dev": { | ||
"amphp/php-cs-fixer-config": "dev-master", | ||
"amphp/file": "^2.0", | ||
"phabel/phabel": "1.0.49.80" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"phabel/phabel": true | ||
} | ||
}, | ||
"extra": { | ||
"phabel": { | ||
"revision": 0 | ||
} | ||
"fix": "@php ./vendor/bin/php-cs-fixer fix", | ||
"test": "@php -dzend.assertions=1 -dassert.exception=1 -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"phabel/phabel": false | ||
} | ||
} | ||
} |
Oops, something went wrong.