1
0
mirror of https://github.com/danog/amp.git synced 2024-12-11 17:09:40 +01:00
Commit Graph

83 Commits

Author SHA1 Message Date
Aaron Piotrowski
5f6db028ab
Initial fiber support 2020-09-24 12:53:32 -05:00
Niklas Keller
05483cdbef
Enforce timer interval as minimum time to execution (#319)
Co-authored-by: Aaron Piotrowski <aaron@trowski.com>
2020-07-14 21:45:35 +02:00
Niklas Keller
8ee469be90 Improve type definition for Amp\call 2020-04-19 15:38:36 +02:00
Niklas Keller
a75164b66b Add psalm static analysis on level 6
This also fixes mixed types in some cases.
2020-03-28 12:23:46 +01:00
Niklas Keller
a87c630531 Fix branch alias 2020-03-22 08:13:28 +01:00
Niklas Keller
4d849191e5
Fix build on Travis (#281) 2019-09-21 23:17:45 +02:00
Niklas Keller
c12828081f Fix exceptions bubbling from Coroutine::__destruct
This has been an edge case potentially hiding some exceptions. The tests have been refactored to error if the loop has watchers leaking from one test to another test.
2019-05-31 11:38:02 -05:00
Aaron Piotrowski
19bcf9b33d
Use shared style repo 2019-02-25 23:09:26 -06:00
Eugene Kirillov
bbd083ffc9 Update contributing.md 2018-03-16 15:42:32 +02:00
Niklas Keller
f2579bd0ea Add phpstan 2017-12-05 08:48:41 +01:00
Aaron Piotrowski
c260e2ea51
Define target platform in composer.json and fix .travis.yml 2017-12-02 10:18:59 -06:00
Niklas Keller
62e7956c93 Minor changes to composer.json for v2.0.0 2017-06-15 17:50:28 +02:00
Niklas Keller
dd5f7ffd95 Add 'event-loop' keyword to composer.json 2017-05-09 12:31:17 +02:00
Niklas Keller
79ab41e5bf Update php-cs-fixer to version 2 and upgrade rules
This also fixes the code style according to the new rules.
2017-04-24 16:22:02 +02:00
Niklas Keller
8caae2253f Allow recording stacktraces to debug double resolution 2017-03-29 17:25:44 +02:00
Niklas Keller
6f48a4b82f Increase PHPUnit version, as builds seem to hang with --prefer-lowest otherwise 2017-03-17 13:00:10 +01:00
Aaron Piotrowski
7ad10f5d7d Add support for React promises 2017-03-11 09:17:43 -06:00
Niklas Keller
fe88413a17 Upgrade to PHPUnit 6
This commit removes Humbug, as it's no longer maintained and not
compatible with PHPUnit 6.
2017-03-11 14:57:03 +01:00
Niklas Keller
dd8993b98e Fix AsyncInterop → Amp in ErrorHandler 2017-03-10 22:09:49 +01:00
Niklas Keller
0be9ae9ade Switch from AsyncInterop\Promise to Amp\Promise 2017-03-10 21:58:46 +01:00
Niklas Keller
e64bbfb9f5 Add Loop::set, auto-wrapping, fixup things 2017-03-10 21:31:57 +01:00
Niklas Keller
21561661a2 Fixup after repository merge 2017-03-10 19:19:32 +01:00
Niklas Keller
dfa3b82485 Require PHPUnit 5.7 to remove warning on PHP 7.2 2017-01-07 19:41:04 +01:00
Niklas Keller
7e40a05dc7 Require PHPUnit 5 as lowest version 2017-01-07 18:31:25 +01:00
Niklas Keller
c7aa4590bf Fix promise test requirement 2017-01-07 15:53:55 +01:00
Niklas Keller
ae69e92266 Update to promise 0.4.0 and event-loop 0.5.0, add humbug config 2017-01-07 13:47:45 +01:00
Niklas Keller
0b899f5bcd Change namespace to AsyncInterop 2017-01-07 12:23:28 +01:00
Aaron Piotrowski
0659f6f3ee Update to loop standard v0.4 2016-12-29 16:54:10 -06:00
Aaron Piotrowski
5651240615 Update to promise spec v0.3
Dropped strict-types due to spec requiring weak types in callbacks.
2016-12-29 16:29:27 -06:00
Bob Weinand
2c0d6064af Update for setErrorHandler() & getWatcherId + new test with stop() 2016-12-23 01:43:09 +01:00
Aaron Piotrowski
9927ad5b4f Awaitable → Promise 2016-11-14 13:59:21 -06:00
Aaron Piotrowski
94e66ce08b Update loop standard dependency 2016-09-09 18:05:13 -05:00
Aaron Piotrowski
3755a3c9e9 Update loop dependency 2016-09-09 17:58:53 -05:00
Bob Weinand
7c9a004024 Fix composer build (0.2 for event-loop) 2016-08-15 15:47:26 +02:00
Bob Weinand
f82999bb1b Update according to most recent spec changes 2016-08-14 22:27:52 +02:00
Aaron Piotrowski
69ec812bc0 Require PHP 7 2016-08-11 14:52:40 -05:00
Aaron Piotrowski
bf716f4efe Merge pull request #48 from mickaelandrieu/patch-1 2016-07-25 11:17:40 -05:00
Aaron Piotrowski
5da5fd5662 Update phpunit version 2016-07-25 11:11:35 -05:00
Mickaël Andrieu
c3674022bd updated PHP CS Fixer to new organization 2016-07-23 00:43:16 +02:00
Aaron Piotrowski
0925a59db2 Update branch alias 2016-07-20 08:53:58 -05:00
Aaron Piotrowski
ade997688a Merge branch 'awaitable' into v2 2016-07-18 23:20:05 -05:00
Aaron Piotrowski
3f654cbd5b Initial tests plus some fixes 2016-07-12 11:20:06 -05:00
Aaron Piotrowski
ff1e57a7cd Fix autoloader namespace 2016-05-27 14:55:19 -05:00
Bob Weinand
572c99bb85 Initial commit 2016-05-27 03:25:55 +02:00
Aaron Piotrowski
6d263ffb84 Drop Awaitable from namespace 2016-05-23 22:48:28 -05:00
Aaron Piotrowski
c7f64ce2c0 Initial commit 2016-05-21 09:44:52 -05:00
Niklas Keller
de76032225 Add branch alias for dev-master 2015-08-18 13:41:13 +02:00
Bob Weinand
bceb6f15d9 Try fixing coveralls 2015-08-07 17:20:45 +02:00
Bob Weinand
5ed70577fc Fully move coveralls integration into .travis.yml 2015-08-02 21:59:44 +02:00
Bob Weinand
f32fb8373b Add phpdbg coverage on travis 2015-08-01 23:36:59 +02:00