-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* next: (30 commits) add extra notes typo add missing value add more types in the example update changelog add documentation flag Task methods as private remove dead code run http requests asynchronously remove wip tag simplify code fix code fix reading files asynchronously add proofs remove phpunit tests simplify suspend actions namespace remove old throttle source simplify the task interface dont keep the terminated task in memory as it has no use keep track of the types returned by tasks ...
- Loading branch information
Showing
36 changed files
with
2,038 additions
and
605 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
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,4 +1,2 @@ | ||
/composer.lock | ||
/vendor | ||
/.phpunit.result.cache | ||
/.phpunit.cache |
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,6 +1,6 @@ | ||
<?php | ||
|
||
return Innmind\CodingStandard\CodingStandard::config([ | ||
'tests', | ||
'proofs', | ||
'src', | ||
]); |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
declare(strict_types = 1); | ||
|
||
require 'vendor/autoload.php'; | ||
|
||
use Innmind\BlackBox\{ | ||
Application, | ||
Runner\Load, | ||
Runner\CodeCoverage, | ||
}; | ||
|
||
Application::new($argv) | ||
->when( | ||
\getenv('ENABLE_COVERAGE') !== false, | ||
static fn(Application $app) => $app | ||
->codeCoverage( | ||
CodeCoverage::of( | ||
__DIR__.'/src/', | ||
__DIR__.'/proofs/', | ||
) | ||
->dumpTo('coverage.clover') | ||
->enableWhen(true), | ||
) | ||
->scenariiPerProof(1), | ||
) | ||
->tryToProve(Load::everythingIn(__DIR__.'/proofs/')) | ||
->exit(); |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.