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
103 additions
and
89 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,35 +1,35 @@ | ||
{ | ||
"name": "sop/crypto-bridge", | ||
"description": "A PHP library providing cryptography support for various PKCS applications.", | ||
"homepage": "https://github.com/sop/crypto-bridge", | ||
"license": "MIT", | ||
"type": "library", | ||
"keywords": [ | ||
"pkcs", | ||
"cryptography", | ||
"encrypt", | ||
"decrypt", | ||
"sign", | ||
"verify" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Joni Eskelinen", | ||
"email": "jonieske@gmail.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.0", | ||
"ext-openssl": "*", | ||
"sop/crypto-types": "^0.2.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Sop\\CryptoBridge\\" : "lib/CryptoBridge" | ||
} | ||
} | ||
"name": "sop/crypto-bridge", | ||
"description": "A PHP library providing cryptography support for various PKCS applications.", | ||
"homepage": "https://github.com/sop/crypto-bridge", | ||
"license": "MIT", | ||
"type": "library", | ||
"keywords": [ | ||
"pkcs", | ||
"cryptography", | ||
"encrypt", | ||
"decrypt", | ||
"sign", | ||
"verify" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Joni Eskelinen", | ||
"email": "jonieske@gmail.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.0", | ||
"ext-openssl": "*", | ||
"sop/crypto-types": "^0.2.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.5" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Sop\\CryptoBridge\\": "lib/CryptoBridge" | ||
} | ||
} | ||
} |
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="Unit"> | ||
<directory>test/unit</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="Unit"> | ||
<directory>test/unit</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> |