Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.1.0 #155

Merged
merged 14 commits into from
Mar 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ update_configs:
default_reviewers:
- "echarrod"
- "davidgrayston"
- "emmas-yoti"
- "MrBurtyyy"

default_assignees: ["davidgrayston"]
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/examples export-ignore
/sandbox export-ignore
/tests export-ignore
/phpunit.xml export-ignore
/.gitattributes export-ignore
Expand Down
1 change: 0 additions & 1 deletion .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ $finder = PhpCsFixer\Finder::create()
->exclude('Protobuf')
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
->in(__DIR__ . '/sandbox')
;

return PhpCsFixer\Config::create()
Expand Down
1 change: 0 additions & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
</rule>
<file>src</file>
<file>tests</file>
<file>sandbox</file>
<exclude-pattern>src/Protobuf/*</exclude-pattern>
</ruleset>
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ jobs:
php: "7.2"
- <<: *compatibility
php: "7.3"
- <<: *test
stage: Coverage
name: Coveralls
if: type = pull_request OR branch = master
script:
- composer coveralls
- <<: *test
stage: Analyze
name: Sonarcloud
Expand All @@ -38,6 +32,5 @@ jobs:
organization: "getyoti"
if: type == pull_request OR branch = master
script:
- composer coveralls
- composer coverage-clover
- sonar-scanner

17 changes: 7 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yoti/yoti-php-sdk",
"description": "Yoti SDK for quickly integrating your PHP backend with Yoti",
"version": "3.0.0",
"version": "3.1.0",
"keywords": [
"yoti",
"sdk"
Expand All @@ -10,6 +10,7 @@
"license": "MIT",
"require": {
"php": "^7.1",
"ext-json": "*",
"google/protobuf": "^3.10",
"phpseclib/phpseclib": "^2.0",
"guzzlehttp/guzzle": "^6.4",
Expand All @@ -18,34 +19,30 @@
},
"autoload": {
"psr-4": {
"Yoti\\": "src",
"Yoti\\Sandbox\\": "sandbox/src"
"Yoti\\": "src"
}
},
"require-dev": {
"ext-json": "*",
"phpunit/phpunit": "^7.5 || ^8.5",
"squizlabs/php_codesniffer": "^3.4",
"friendsofphp/php-cs-fixer": "^2.15",
"brainmaestro/composer-git-hooks": "^2.8",
"php-coveralls/php-coveralls": "^2.1",
"phpstan/phpstan-strict-rules": "^0.12.1",
"phpstan/extension-installer": "^1.0"
},
"autoload-dev": {
"psr-4": {
"Yoti\\Test\\": "tests/",
"Yoti\\Sandbox\\Test\\": "sandbox/tests/"
"Yoti\\Test\\": "tests/"
}
},
"scripts": {
"cghooks": "cghooks",
"test": "phpunit",
"coverage-clover": "phpunit --coverage-clover ./coverage/coverage.xml",
"coverage-html": "phpunit --coverage-html ./coverage/report",
"coveralls": [
"@coverage-clover",
"php-coveralls --coverage_clover ./coverage/coverage.xml --json_path ./coverage/coveralls-upload.json"
"fix": [
"php-cs-fixer fix --config=.php_cs.dist -v --using-cache=no --diff-format=udiff --ansi",
"phpcbf"
],
"lint": [
"phpcs",
Expand Down
37 changes: 15 additions & 22 deletions examples/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ parameters:
level: max
paths:
- src
- sandbox/src
excludes_analyse:
- src/Protobuf/*

Expand Down
5 changes: 0 additions & 5 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,11 @@
<testsuites>
<testsuite name="Yoti Test Suite">
<directory>tests/</directory>
<directory>sandbox/</directory>
</testsuite>
<testsuite name="Yoti Sandbox Test Suite">
<directory>sandbox/tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
<directory suffix=".php">sandbox/src</directory>
<exclude>
<directory>src/Protobuf</directory>
</exclude>
Expand Down
9 changes: 0 additions & 9 deletions sandbox/src/Exception/ResponseException.php

This file was deleted.

39 changes: 0 additions & 39 deletions sandbox/src/Profile/Request/Attribute/SandboxAgeVerification.php

This file was deleted.

56 changes: 0 additions & 56 deletions sandbox/src/Profile/Request/Attribute/SandboxAnchor.php

This file was deleted.

Loading