Skip to content

Commit 7daf866

Browse files
committed
Added lib
1 parent ce0ceaf commit 7daf866

7 files changed

+824
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vendor
2+
.phpunit.result.cache

composer.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "amranich/ajax-dispatcher",
3+
"type": "library",
4+
"license": "MIT",
5+
"authors": [
6+
{
7+
"name": "El Amrani Chakir",
8+
"email": "[email protected]"
9+
}
10+
],
11+
"minimum-stability": "stable",
12+
"autoload": {
13+
"psr-4": {
14+
"AmraniCh\\": "src/"
15+
}
16+
},
17+
"require-dev": {
18+
"ext-json": "*",
19+
"phpunit/phpunit": "^9",
20+
"filp/whoops": "^2.14",
21+
"symfony/var-dumper": "^5.3"
22+
}
23+
}

phpunit.xml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php"
3+
colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true"
4+
convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false"
5+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
6+
<coverage>
7+
<include>
8+
<directory suffix=".php">src/</directory>
9+
</include>
10+
</coverage>
11+
<testsuites>
12+
<testsuite name="unit tests">
13+
<directory>tests</directory>
14+
</testsuite>
15+
</testsuites>
16+
<php>
17+
<env name="APP_ENV" value="testing"/>
18+
</php>
19+
</phpunit>

0 commit comments

Comments
 (0)