Skip to content

Commit

Permalink
Minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Nov 25, 2018
1 parent 8f25be7 commit aecfdda
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .php_cs.dist
Expand Up @@ -8,6 +8,8 @@ This software may be modified and distributed under the terms
of the MIT license. See the LICENSE file for details.';

$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/src/u2f/src')
->in(__DIR__.'/src/u2f/tests')
->in(__DIR__.'/src/webauthn/src')
->in(__DIR__.'/src/webauthn/tests')
;
Expand Down
1 change: 1 addition & 0 deletions infection.json.dist
Expand Up @@ -2,6 +2,7 @@
"timeout": 20,
"source": {
"directories": [
"src/u2f",
"src/webauthn",
"src/symfony"
],
Expand Down
1 change: 1 addition & 0 deletions src/webauthn/.gitignore
@@ -0,0 +1 @@
composer.lock
21 changes: 21 additions & 0 deletions src/webauthn/LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Spomky-Labs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
32 changes: 32 additions & 0 deletions src/webauthn/phpunit.xml.dist
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="vendor/autoload.php"
colors="true">
<testsuites>
<testsuite name="Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="-1" />
<ini name="intl.default_locale" value="en" />
<ini name="intl.error_level" value="0" />
<ini name="memory_limit" value="-1" />
</php>
<filter>
<whitelist>
<directory suffix=".php">./</directory>
<exclude>
<directory>./vendor</directory>
<directory>./tests/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>

0 comments on commit aecfdda

Please sign in to comment.