Skip to content

Commit 8177e21

Browse files
committed
add phpunit and composer files
1 parent b19ef78 commit 8177e21

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

composer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "wsdltophp/packagebascis",
3+
"description": "Holds the basic classes to be used in a package generated by wsdltophp/packagegenerator",
4+
"type": "library",
5+
"keywords" : ["php","models"],
6+
"homepage" : "https://github.com/WsdlToPhp/PackageBase",
7+
"license" : "MIT",
8+
"authors" : [
9+
{
10+
"name": "Mikaël DELSOL",
11+
"email": "[email protected]",
12+
"role": "Owner"
13+
}
14+
],
15+
"support" : {
16+
"email" : "[email protected]"
17+
},
18+
"require": {
19+
"php" : ">=5.3.3"
20+
},
21+
"require-dev": {
22+
"fabpot/php-cs-fixer": "~1.8"
23+
},
24+
"autoload": {
25+
"psr-4": { "WsdlToPhp\\PackageBase\\": "" }
26+
}
27+
}

phpunit.xml.dist

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
5+
backupGlobals="false"
6+
colors="true"
7+
bootstrap="vendor/autoload.php"
8+
>
9+
<php>
10+
<ini name="error_reporting" value="-1" />
11+
</php>
12+
13+
<testsuite name="Test Suite">
14+
<directory>./Tests</directory>
15+
</testsuite>
16+
17+
<filter>
18+
<whitelist>
19+
<directory>./</directory>
20+
<exclude>
21+
<directory>Tests/</directory>
22+
</exclude>
23+
</whitelist>
24+
</filter>
25+
</phpunit>

0 commit comments

Comments
 (0)