From 3f635dc975919f40a3d5b170442b69825ddabe42 Mon Sep 17 00:00:00 2001 From: apoca Date: Mon, 18 Mar 2019 10:22:50 +0000 Subject: [PATCH] added support to scrutinizer ci --- .scrutinizer.yml | 12 +++++++++++- README.md | 9 +++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 25ff370..3a24f7f 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,5 +1,15 @@ +build: + environment: + php: 7.2 + filter: - excluded_paths: [tests/*] + excluded_paths: + - "tests/*" + - "routes/*" + - "config/*" + - "stubs/*" + dependency_paths: + - "vendor/*" checks: php: diff --git a/README.md b/README.md index 18cefef..ed99615 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Total Downloads](https://poser.pugx.org/apoca/laravel-sibs-payments/downloads)](https://packagist.org/packages/apoca/laravel-sibs-payments) [![License](https://poser.pugx.org/apoca/laravel-sibs-payments/license)](https://packagist.org/packages/apoca/laravel-sibs-payments) -Laravel library to communicate with SIBS - Open Payment Platform. The library includes payments: VISA, MASTER, AMEX, VPAY, MAESTRO, VISADEBIT, VISAELECTRON. +Laravel library to communicate with [SIBS - Open Payment Platform](https://www.sibs-international.com/). The library includes payments: VISA, MASTER, AMEX, VPAY, MAESTRO, VISADEBIT, VISAELECTRON. ## Contents @@ -34,7 +34,7 @@ If you don't use auto-discovery, add the ServiceProvider to the providers array Apoca\Sibs\SibsServiceProvider::class, ``` -If you want to use the facade to log messages, add this to your facades in app.php: +If you want to use the facade, add this to your facades in app.php: ```php 'Sibs' => Apoca\Sibs\Facade\Sibs::class, @@ -64,7 +64,6 @@ $request = [ ]; $response = Sibs::checkout($request)->pay(); ``` -[See oficial SIBS api reference](https://sibs.docs.onlinepayments.pt/) #### Response @@ -75,7 +74,7 @@ $response = Sibs::checkout($request)->pay(); "id":"8ac7a4a26982228701698db398cf05ee", "paymentType":"DB", "paymentBrand":"VISA", - "amount":"92.00", + "amount":"102.34", "currency":"EUR", "descriptor":"2302.8463.4825 OPP_Channel ", "result":{ @@ -99,6 +98,8 @@ $response = Sibs::checkout($request)->pay(); } ``` +[See oficial SIBS api reference](https://sibs.docs.onlinepayments.pt/) + ## Feedback We'd love to get feedback on how you're using lambda-resize-image and things we could add to make this tool better. Feel free to contact us at vieira@miguelvieira.com.pt