diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 415b3b8..1830377 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,6 +7,4 @@ updates: time: "21:00" open-pull-requests-limit: 10 ignore: - - dependency-name: phpunit/phpunit - versions: - - "^4.8" \ No newline at end of file + - dependency-name: phpunit/phpunit \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8b8c9f..d4ef718 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: phpunit: strategy: matrix: - php_version: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4] + php_version: [7.4, 8.0, 8.1] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.gitignore b/.gitignore index bf3faa4..2c097a4 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ phpunit.functional.xml composer.lock /vendor /.idea -/.vscode \ No newline at end of file +/.vscode +.phpunit.result.cache \ No newline at end of file diff --git a/composer.json b/composer.json index 7484df7..da63f58 100644 --- a/composer.json +++ b/composer.json @@ -18,14 +18,15 @@ ], "minimum-stability": "stable", "require": { - "php": ">=5.6", + "php": "^7.4 || ^8.0", "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "guzzlehttp/guzzle": "^6.2" + "guzzlehttp/guzzle": "^7.0.0", + "guzzlehttp/psr7": "^1.7 || ^2.0" }, "require-dev": { - "phpunit/phpunit": "^5.7", + "phpunit/phpunit": "^9.0", "squizlabs/php_codesniffer": "~3.7" }, "autoload": { diff --git a/phpunit.xml b/phpunit.xml index a62f2b9..fa7c2b9 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -9,17 +9,23 @@ convertNoticesToExceptions="true" convertWarningsToExceptions="true" > + ./tests/ - - + + + src/goplus - + src/lib - + + \ No newline at end of file diff --git a/src/lib/client/Model/ParseAbiDataRequest.php b/src/lib/client/Model/ParseAbiDataRequest.php index b2c527e..4d1fdfd 100644 --- a/src/lib/client/Model/ParseAbiDataRequest.php +++ b/src/lib/client/Model/ParseAbiDataRequest.php @@ -16,7 +16,7 @@ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 1.0 - * + * * Generated by: https://github.com/swagger-api/swagger-codegen.git * Swagger Codegen version: 3.0.45 */ @@ -195,10 +195,10 @@ public function getModelName() public function getTranscationTypeAllowableValues() { return [ - self::TRANSCATION_TYPE_COMMON - self::TRANSCATION_TYPE_ETH_SIGN_TYPED_DATA_V4 - self::TRANSCATION_TYPE_PERSONAL_SIGN - self::TRANSCATION_TYPE_ETH_SIGN + self::TRANSCATION_TYPE_COMMON, + self::TRANSCATION_TYPE_ETH_SIGN_TYPED_DATA_V4, + self::TRANSCATION_TYPE_PERSONAL_SIGN, + self::TRANSCATION_TYPE_ETH_SIGN, ]; }