Skip to content

Commit

Permalink
Feature/add interfaces (#36)
Browse files Browse the repository at this point in the history
* Move transport object to the transport folder

* Move DataHelper to helper folder

* Add CbrfDailyService

* Change CbrfDaily to interface
  • Loading branch information
liquetsoft committed Dec 2, 2023
1 parent 953378e commit c3f012f
Show file tree
Hide file tree
Showing 37 changed files with 751 additions and 514 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ test: ## Run tests

coverage: ## Run tests with coverage
$(php_composer_script) coverage

release: ## Run all preparations before release
$(php_composer_script) fixer
$(php_composer_script) linter
$(php_composer_script) test
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "liquetsoft/cbrfservice",
"description": "Component for bank of Russia daily web service",
"type": "library",
"keywords": ["php", "banks", "currency rate", "soap", "service"],
"keywords": ["php", "currency", "currency rate"],
"license": "MIT",
"require": {
"php": ">=8.1",
Expand All @@ -12,7 +12,6 @@
"require-dev": {
"phpunit/phpunit": "^9.0",
"friendsofphp/php-cs-fixer": "^3.0",
"sebastian/phpcpd": "^6.0",
"vimeo/psalm": "^5.0"
},
"autoload": {
Expand All @@ -31,7 +30,6 @@
"fixer": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -vv --allow-risky=yes",
"linter": [
"vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -vv --allow-risky=yes --dry-run --stop-on-violation",
"vendor/bin/phpcpd ./ --exclude vendor --exclude tests",
"vendor/bin/psalm --show-info=true --php-version=$(php -r \"echo phpversion();\")"
]
},
Expand Down
Loading

0 comments on commit c3f012f

Please sign in to comment.