-
Notifications
You must be signed in to change notification settings - Fork 0
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
8 changed files
with
100 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
tab_width = 4 | ||
end_of_line = lf | ||
|
||
[*.{php}] | ||
[*.{php,json,xml.dist}] | ||
indent_style = space |
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,15 +1,23 @@ | ||
# eclipse project files | ||
# Eclipse project files | ||
/.settings/ | ||
/.buildpath | ||
/.project | ||
/.pydevproject | ||
|
||
# build | ||
# VS Code | ||
/.vscode | ||
|
||
# build files | ||
/build/ | ||
/.*.cache | ||
|
||
# composer | ||
# Composer | ||
/vendor/ | ||
/composer.lock | ||
|
||
# non-dist files | ||
/phpunit.xml | ||
/.php_cs | ||
|
||
# sandbox | ||
/demo/ | ||
/demo/ |
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,17 +1,27 @@ | ||
build: | ||
nodes: | ||
analysis: | ||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
tests-and-coverage: | ||
requires: | ||
- node: analysis | ||
tests: | ||
override: | ||
- command: vendor/bin/phpunit | ||
coverage: | ||
format: clover | ||
file: build/logs/clover.xml | ||
environment: | ||
php: | ||
version: 7.0.20 | ||
tests: | ||
override: | ||
- command: vendor/bin/phpunit | ||
coverage: | ||
format: php-clover | ||
file: build/logs/clover.xml | ||
version: 7.0 | ||
filter: | ||
excluded_paths: | ||
- test/ | ||
dependency_paths: | ||
- vendor/ | ||
checks: | ||
php: | ||
code_rating: true | ||
duplication: false | ||
filter: | ||
excluded_paths: | ||
- test/ |
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
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,32 +1,32 @@ | ||
{ | ||
"name": "sop/aes-kw", | ||
"description": "A PHP library for AES Key Wrap algorithm with padding support.", | ||
"homepage": "https://github.com/sop/aes-kw", | ||
"license": "MIT", | ||
"type": "library", | ||
"keywords": [ | ||
"aes", | ||
"key wrap", | ||
"aes key wrap" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Joni Eskelinen", | ||
"email": "jonieske@gmail.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.0", | ||
"ext-openssl": "*", | ||
"ext-hash": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Sop\\AESKW\\": "lib/AESKW/" | ||
} | ||
} | ||
} | ||
"name": "sop/aes-kw", | ||
"description": "A PHP library for AES Key Wrap algorithm with padding support.", | ||
"homepage": "https://github.com/sop/aes-kw", | ||
"license": "MIT", | ||
"type": "library", | ||
"keywords": [ | ||
"aes", | ||
"key wrap", | ||
"aes key wrap" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Joni Eskelinen", | ||
"email": "jonieske@gmail.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.0", | ||
"ext-openssl": "*", | ||
"ext-hash": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.5" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Sop\\AESKW\\": "lib/AESKW/" | ||
} | ||
} | ||
} |
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,30 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/4.5/phpunit.xsd" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
bootstrap="test/bootstrap.php"> | ||
<testsuites> | ||
<testsuite name="Default"> | ||
<directory>test/tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist | ||
addUncoveredFilesFromWhitelist="true" | ||
processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">lib</directory> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log | ||
type="coverage-clover" | ||
target="build/logs/clover.xml" /> | ||
<log | ||
type="coverage-html" | ||
target="build/coverage" /> | ||
</logging> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.5/phpunit.xsd" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
bootstrap="test/bootstrap.php"> | ||
<testsuites> | ||
<testsuite name="Default"> | ||
<directory>test/tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist addUncoveredFilesFromWhitelist="true" | ||
processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">lib</directory> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log type="coverage-clover" | ||
target="build/logs/clover.xml" /> | ||
<log type="coverage-html" | ||
target="build/coverage" /> | ||
</logging> | ||
</phpunit> |