From 3378b539172305d6c9881df4f9aaa7072d025c48 Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 23 Aug 2023 14:41:41 +0900 Subject: [PATCH 1/2] fix: replace "Github" with "GitHub" --- README.md | 2 +- src/Language/en/ShieldOAuthLang.php | 2 +- src/Language/fr/ShieldOAuthLang.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5af86dd..934ef6b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![Latest Stable Version](http://poser.pugx.org/datamweb/shield-oauth/v?style=for-the-badge)](https://packagist.org/packages/datamweb/shield-oauth) [![Total Downloads](http://poser.pugx.org/datamweb/shield-oauth/downloads?style=for-the-badge)](https://packagist.org/packages/datamweb/shield-oauth) [![Latest Unstable Version](http://poser.pugx.org/datamweb/shield-oauth/v/unstable?style=for-the-badge)](https://packagist.org/packages/datamweb/shield-oauth) [![License](http://poser.pugx.org/datamweb/shield-oauth/license?style=for-the-badge)](https://packagist.org/packages/datamweb/shield-oauth) [![PHP Version Require](http://poser.pugx.org/datamweb/shield-oauth/require/php?style=for-the-badge)](https://packagist.org/packages/datamweb/shield-oauth) -`Shield OAuth` helps you to provide the possibility of login or registering users through the OAuth service. Currently, `Shield OAuth` supports `Google OAuth` and `Github OAuth` by default, but it allows you to implement it for any other service, including **Yahoo**, **Facebook**, **Twitter**, **LinkedIn**, **GitLab** and ... +`Shield OAuth` helps you to provide the possibility of login or registering users through the OAuth service. Currently, `Shield OAuth` supports `Google OAuth` and `GitHub OAuth` by default, but it allows you to implement it for any other service, including **Yahoo**, **Facebook**, **Twitter**, **LinkedIn**, **GitLab** and ... In `Shield OAuth`, it has been considered to be easy to use by developers and the possibility of expansion to connect to other services in the shortest possible time. diff --git a/src/Language/en/ShieldOAuthLang.php b/src/Language/en/ShieldOAuthLang.php index 6290e4d..46c156d 100644 --- a/src/Language/en/ShieldOAuthLang.php +++ b/src/Language/en/ShieldOAuthLang.php @@ -27,7 +27,7 @@ // Errors List For all OAuth 'Github' => [ - 'github' => 'Github', + 'github' => 'GitHub', 'not_allow' => "Now you can't login or register with GitHub!", ], 'Google' => [ diff --git a/src/Language/fr/ShieldOAuthLang.php b/src/Language/fr/ShieldOAuthLang.php index 478d5f8..532ad64 100644 --- a/src/Language/fr/ShieldOAuthLang.php +++ b/src/Language/fr/ShieldOAuthLang.php @@ -27,7 +27,7 @@ // Errors List For all OAuth 'Github' => [ - 'github' => 'Github', + 'github' => 'GitHub', 'not_allow' => 'Vous ne pouvez pas vous connecter ou vous inscrire avec GitHub maintenant!', ], 'Google' => [ From cf8fe4c1aee114747e95bc9738b3e6e1b255383f Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 23 Aug 2023 14:42:05 +0900 Subject: [PATCH 2/2] style: composer cs-fix --- src/Database/Migrations/2022-10-20-182737_ShieldOAuth.php | 1 - src/Language/en/ShieldOAuthLang.php | 1 - src/Language/fr/ShieldOAuthLang.php | 1 - 3 files changed, 3 deletions(-) diff --git a/src/Database/Migrations/2022-10-20-182737_ShieldOAuth.php b/src/Database/Migrations/2022-10-20-182737_ShieldOAuth.php index 5a5422b..466cb11 100644 --- a/src/Database/Migrations/2022-10-20-182737_ShieldOAuth.php +++ b/src/Database/Migrations/2022-10-20-182737_ShieldOAuth.php @@ -44,7 +44,6 @@ public function up(): void 'constraint' => '1000', 'null' => true, ], - ]; $this->forge->addColumn('users', $fields); diff --git a/src/Language/en/ShieldOAuthLang.php b/src/Language/en/ShieldOAuthLang.php index 46c156d..9a47580 100644 --- a/src/Language/en/ShieldOAuthLang.php +++ b/src/Language/en/ShieldOAuthLang.php @@ -33,7 +33,6 @@ 'Google' => [ 'google' => 'Google', 'not_allow' => "Now you can't login or register with Google!", - ], // 'Yahoo' => [ // 'yahoo' => 'Yahoo', diff --git a/src/Language/fr/ShieldOAuthLang.php b/src/Language/fr/ShieldOAuthLang.php index 532ad64..4915448 100644 --- a/src/Language/fr/ShieldOAuthLang.php +++ b/src/Language/fr/ShieldOAuthLang.php @@ -33,7 +33,6 @@ 'Google' => [ 'google' => 'Google', 'not_allow' => 'Vous ne pouvez pas vous connecter ou vous inscrire avec Google maintenant!', - ], // 'Yahoo' => [ // 'yahoo' => 'Yahoo',