Skip to content

Commit

Permalink
Merge pull request #155 from getyoti/release-3.1.0
Browse files Browse the repository at this point in the history
Release 3.1.0
  • Loading branch information
davidgrayston committed Mar 20, 2020
2 parents 59f5353 + 3b2efe8 commit f0e68f1
Show file tree
Hide file tree
Showing 119 changed files with 6,414 additions and 1,658 deletions.
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

0 comments on commit f0e68f1

Please sign in to comment.