-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
121 additions
and
39 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,7 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = LF | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.yml] | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 |
---|---|---|
|
@@ -3,12 +3,6 @@ | |
"license": "MIT", | ||
"description": "Fiddling with the monad concept in php", | ||
"keywords": [ "monad" ], | ||
"authors": [ | ||
{ | ||
"name": "Thorsten Schmitt-Rink", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.6.0", | ||
"symfony/property-access": "~3.1" | ||
|
@@ -41,9 +35,6 @@ | |
"/vendor" | ||
] | ||
}, | ||
"suggest": { | ||
"ext-fileinfo": "to handle mimetype guessing locally" | ||
}, | ||
"scripts": { | ||
"test": [ | ||
"@php-lint", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,34 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<phpunit backupGlobals="false" | ||
backupStaticAttributes="false" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
syntaxCheck="true" | ||
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html --> | ||
<phpunit | ||
backupGlobals = "false" | ||
backupStaticAttributes = "false" | ||
colors = "true" | ||
convertErrorsToExceptions = "true" | ||
convertNoticesToExceptions = "true" | ||
convertWarningsToExceptions = "true" | ||
processIsolation = "false" | ||
stopOnFailure = "false" | ||
syntaxCheck = "true" | ||
bootstrap = "vendor/autoload.php" | ||
> | ||
<testsuites> | ||
<testsuite name="All Tests"> | ||
<testsuite name="Configr-Tests"> | ||
<directory>src/</directory> | ||
<directory>tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<logging> | ||
<log type="coverage-html" target="build/coverage" title="monatic - coverage" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="70"/> | ||
<log type="coverage-clover" target="build/logs/clover.xml"/> | ||
<pmd> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Project_CRAP" threshold="5,30"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Class_DepthOfInheritanceTree" threshold="6"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Class_EfferentCoupling" threshold="20"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Class_ExcessiveClassLength" threshold="500"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Class_ExcessivePublicCount" threshold="20"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Class_TooManyFields" threshold="15"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Class_TooManyMethods" threshold="20"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Function_CodeCoverage" threshold="35,70"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Function_CRAP" threshold="30"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Function_CyclomaticComplexity" threshold="20"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Function_ExcessiveMethodLength" threshold="100"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Function_ExcessiveParameterList" threshold="10"/> | ||
<rule class="PHPUnit_Util_Log_PMD_Rule_Function_NPathComplexity" threshold="200"/> | ||
</pmd> | ||
</logging> | ||
<filter> | ||
<whitelist> | ||
<directory>src/</directory> | ||
<directory suffix=".php">src</directory> | ||
<directory suffix=".php">tests/</directory> | ||
</whitelist> | ||
</filter> | ||
|
||
<logging> | ||
<log type="coverage-clover" target="build/logs/clover.xml"/> | ||
<log type="coverage-html" target="build/logs/coverage-html" | ||
charset="UTF-8" | ||
yui="true" | ||
highlight="true" | ||
lowUpperBound="60" | ||
highLowerBound="80"/> | ||
</logging> | ||
</phpunit> |
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