From 49abee49b124b85f062fb0c5a254a2dca1d4d306 Mon Sep 17 00:00:00 2001 From: CodeDredd Date: Mon, 20 Apr 2020 21:55:31 +0200 Subject: [PATCH 1/3] refactor(chore): Add pr labeler workflow --- .github/pr-labeler.yml | 3 +++ .github/workflows/pr-labeler.yml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/pr-labeler.yml create mode 100644 .github/workflows/pr-labeler.yml diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml new file mode 100644 index 0000000..fc3b342 --- /dev/null +++ b/.github/pr-labeler.yml @@ -0,0 +1,3 @@ +feature: ['feature/*', 'feat/*'], +fix: 'fix/*', +chore: 'chore/*' \ No newline at end of file diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml new file mode 100644 index 0000000..9c6c65f --- /dev/null +++ b/.github/workflows/pr-labeler.yml @@ -0,0 +1,14 @@ +name: PR Labeler +on: + pull_request: + types: [opened] + +jobs: + pr-labeler: + runs-on: ubuntu-latest + steps: + - uses: TimonVS/pr-labeler-action@v3 + with: + configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 05f3cec7db6a4f3d9c452604bf3c6932fbce6107 Mon Sep 17 00:00:00 2001 From: Gregor Becker Date: Mon, 20 Apr 2020 21:56:49 +0200 Subject: [PATCH 2/3] refactor(chore): Update composer.json & Readme with badges --- README.md | 4 +- composer.json | 104 +++++++++++++++++++++++++------------------------- 2 files changed, 56 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 07ca865..aa6dd9f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # Laravel SOAP Client [![Software License](https://img.shields.io/github/license/codedredd/laravel-soap?style=flat-square)](LICENSE.md) -[![Total Downloads](https://img.shields.io/github/downloads/codedredd/laravel-soap/total)]() +[![Total Downloads](https://img.shields.io/github/downloads/codedredd/laravel-soap/total?style=flat-square)]() +![test](https://img.shields.io/github/workflow/status/codedredd/laravel-soap/test?style=flat-square) +![version](https://img.shields.io/github/v/release/codedredd/laravel-soap?style=flat-square) - [Introduction](#introduction) - [Making Requests](#making-requests) diff --git a/composer.json b/composer.json index a7e42cf..b8f2f51 100644 --- a/composer.json +++ b/composer.json @@ -1,51 +1,53 @@ -{ - "name": "codedredd/laravel-soap", - "description": "A SoapClient wrapper integration for Laravel", - "keywords": ["laravel", "soap", "client", "wrapper"], - "license": "MIT", - "authors": [ - { - "name": "Gregor Becker", - "email": "gregor@codedredd.de" - } - ], - "require": { - "php": ">=7.2.0", - "ext-soap": "*", - "ext-json": "*", - "illuminate/support": "^5.6 || ^6.0 || ^7.0", - "phpro/soap-client": "^1.1", - "php-http/guzzle6-adapter": "^2.0", - "php-http/discovery": "^1.7", - "php-http/message": "^1.8", - "php-http/client-common": "^2.1", - "robrichards/wse-php": "^2.0", - "guzzlehttp/guzzle": "^6.5" - }, - "require-dev": { - "symfony/var-dumper": "^5.0", - "phpunit/phpunit": "^9.1", - "mockery/mockery": "^1.3", - "orchestra/testbench": "^5.1" - }, - "autoload": { - "psr-4": { - "CodeDredd\\Soap\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "CodeDredd\\Soap\\Tests\\": "tests/" - } - }, - "extra": { - "laravel": { - "providers": [ - "CodeDredd\\Soap\\SoapServiceProvider" - ], - "aliases": { - "SOAP": "SoapFacade" - } - } - } -} +{ + "name": "codedredd/laravel-soap", + "description": "A SoapClient wrapper integration for Laravel", + "keywords": ["laravel", "soap", "client", "wrapper"], + "license": "MIT", + "authors": [ + { + "name": "Gregor Becker", + "email": "gregor@codedredd.de" + } + ], + "require": { + "php": ">=7.2.0", + "ext-soap": "*", + "ext-json": "*", + "illuminate/support": "^5.6 || ^6.0 || ^7.0", + "phpro/soap-client": "^1.1", + "php-http/guzzle6-adapter": "^2.0", + "php-http/discovery": "^1.7", + "php-http/message": "^1.8", + "php-http/client-common": "^2.1", + "robrichards/wse-php": "^2.0", + "guzzlehttp/guzzle": "^6.5" + }, + "require-dev": { + "symfony/var-dumper": "^5.0", + "phpunit/phpunit": "^9.1", + "mockery/mockery": "^1.3", + "orchestra/testbench": "^5.1" + }, + "autoload": { + "psr-4": { + "CodeDredd\\Soap\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "CodeDredd\\Soap\\Tests\\": "tests/" + } + }, + "extra": { + "laravel": { + "providers": [ + "CodeDredd\\Soap\\SoapServiceProvider" + ], + "aliases": { + "SOAP": "SoapFacade" + } + } + }, + "minimum-stability": "dev", + "prefer-stable": true +} From 313de1be0f02843514009e19cb6e8928500c2859 Mon Sep 17 00:00:00 2001 From: Gregor Becker Date: Mon, 20 Apr 2020 22:02:26 +0200 Subject: [PATCH 3/3] refactor(chore): change labeler config --- .github/pr-labeler.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml index fc3b342..9c4df5e 100644 --- a/.github/pr-labeler.yml +++ b/.github/pr-labeler.yml @@ -1,3 +1,3 @@ -feature: ['feature/*', 'feat/*'], -fix: 'fix/*', -chore: 'chore/*' \ No newline at end of file +feature: ['feature/*', 'feat/*'] +fix: fix/* +chore: chore/* \ No newline at end of file