Skip to content

Commit 4412a60

Browse files
authored
Merge pull request #3 from clue-labs/resurrect-project
Update project structure to bring in line with ReactPHP and add `.gitattributes` to exclude dev files from exports
2 parents d4cf21f + adc6eb0 commit 4412a60

12 files changed

+39
-13
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/.gitattributes export-ignore
2+
/.github/ export-ignore
3+
/.gitignore export-ignore
4+
/phpunit.xml.dist export-ignore
5+
/tests/ export-ignore

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2012 Igor Wiedler
1+
Copyright (c) 2012 Christian Lück, Cees-Jan Kiewiet, Jan Sorgalla, Chris Boden, Igor Wiedler
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# NOTE: This package is no longer maintained. Use [react/promise](https://github.com/reactphp/promise) instead!
22

3-
# React/Async
3+
# Async
44

5-
Async utilities for React.
5+
Async utilities for [ReactPHP](https://reactphp.org/).
66

77
It is heavily influenced by [async.js](https://github.com/caolan/async).
88

@@ -133,4 +133,4 @@ $ php vendor/bin/phpunit
133133

134134
## License
135135

136-
MIT, see LICENSE.
136+
MIT, see [LICENSE file](LICENSE).

composer.json

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,30 @@
11
{
22
"name": "react/async",
3-
"description": "Async utilities for React.",
4-
"keywords": ["async"],
3+
"description": "Async utilities for ReactPHP",
4+
"keywords": ["async", "ReactPHP"],
55
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Christian Lück",
9+
"homepage": "https://clue.engineering/",
10+
"email": "christian@clue.engineering"
11+
},
12+
{
13+
"name": "Cees-Jan Kiewiet",
14+
"homepage": "https://wyrihaximus.net/",
15+
"email": "reactphp@ceesjankiewiet.nl"
16+
},
17+
{
18+
"name": "Jan Sorgalla",
19+
"homepage": "https://sorgalla.com/",
20+
"email": "jsorgalla@gmail.com"
21+
},
22+
{
23+
"name": "Chris Boden",
24+
"homepage": "https://cboden.dev/",
25+
"email": "cboden@gmail.com"
26+
}
27+
],
628
"require": {
729
"php": ">=5.3.2"
830
},
@@ -14,7 +36,10 @@
1436
"react/event-loop": "You need some kind of event loop for this to make sense."
1537
},
1638
"autoload": {
17-
"psr-0": { "React\\Async": "src" }
39+
"psr-4": { "React\\Async\\": "src/" }
40+
},
41+
"autoload-dev": {
42+
"psr-4": { "React\\Tests\\Async\\": "tests/" }
1843
},
1944
"extra": {
2045
"branch-alias": {

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
processIsolation="false"
1010
stopOnFailure="false"
1111
syntaxCheck="false"
12-
bootstrap="tests/bootstrap.php"
12+
bootstrap="vendor/autoload.php"
1313
>
1414
<testsuites>
1515
<testsuite name="React-Async Test Suite">
16-
<directory>./tests/React/</directory>
16+
<directory>./tests/</directory>
1717
</testsuite>
1818
</testsuites>
1919

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy