-
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
14 changed files
with
262 additions
and
207 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,6 +1,7 @@ | ||
# export | ||
.git* export-ignore | ||
.*.yml export-ignore | ||
.php_cs* export-ignore | ||
test/ export-ignore | ||
phpunit.* export-ignore | ||
.editorconfig export-ignore |
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/ |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
declare(strict_types = 1); | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->in(__DIR__); | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@PSR2' => true, | ||
'@PhpCsFixer' => true, | ||
'multiline_whitespace_before_semicolons' => [ | ||
'strategy' => 'no_multi_line', | ||
], | ||
'declare_equal_normalize' => [ | ||
'space' => 'single', | ||
], | ||
'method_argument_space' => [ | ||
'on_multiline' => 'ignore', | ||
], | ||
'blank_line_before_statement' => [ | ||
'statements' => [], | ||
], | ||
'concat_space' => [ | ||
'spacing' => 'one', | ||
], | ||
'list_syntax' => [ | ||
'syntax' => 'short', | ||
], | ||
'php_unit_test_class_requires_covers' => false, | ||
'phpdoc_types' => false, | ||
]) | ||
->setFinder($finder); |
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.2 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
language: php | ||
php: | ||
- "7.0" | ||
- "7.1" | ||
- "7.2" | ||
- "nightly" | ||
- "7.3" | ||
before_script: | ||
- "composer install" | ||
- "composer require satooshi/php-coveralls" | ||
- "composer require php-coveralls/php-coveralls" | ||
after_success: | ||
- "travis_retry php vendor/bin/coveralls -v" | ||
- "travis_retry php vendor/bin/php-coveralls -v" |
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,37 @@ | ||
{ | ||
"name": "sop/pkcs8", | ||
"description": "A PHP implementation of PKCS #8 encrypted private-key.", | ||
"homepage": "https://github.com/sop/pkcs8", | ||
"license": "MIT", | ||
"type": "library", | ||
"keywords": [ | ||
"pkcs8", | ||
"encrypt", | ||
"private-key" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Joni Eskelinen", | ||
"email": "jonieske@gmail.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.0", | ||
"sop/asn1": "^3.2.0", | ||
"sop/crypto-encoding": "^0.2.0", | ||
"sop/crypto-types": "^0.2.1", | ||
"sop/crypto-bridge": "^0.2.0", | ||
"sop/pkcs5": "^0.2.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Sop\\PKCS8\\": "lib/PKCS8" | ||
} | ||
} | ||
} | ||
"name": "sop/pkcs8", | ||
"description": "A PHP implementation of PKCS #8 encrypted private-key.", | ||
"homepage": "https://github.com/sop/pkcs8", | ||
"license": "MIT", | ||
"type": "library", | ||
"keywords": [ | ||
"pkcs8", | ||
"encrypt", | ||
"private-key" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Joni Eskelinen", | ||
"email": "jonieske@gmail.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"require": { | ||
"php": ">=7.2", | ||
"sop/asn1": "dev-php72 as 3.4.0", | ||
"sop/crypto-encoding": "dev-php72 as 0.2.0", | ||
"sop/crypto-types": "dev-php72 as 0.2.1", | ||
"sop/crypto-bridge": "dev-php72 as 0.2.0", | ||
"sop/pkcs5": "dev-php72 as 0.2.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Sop\\PKCS8\\": "lib/PKCS8/" | ||
} | ||
} | ||
} |
Oops, something went wrong.