From cfa31d648c6bf81667b4cdc16379153bf0752bd6 Mon Sep 17 00:00:00 2001 From: Anton Shevchuk Date: Wed, 5 Dec 2018 10:59:34 +0200 Subject: [PATCH 1/3] Migrate to new version of FontAwesome --- application/modules/twitter/controllers/widgets/auth.php | 2 +- composer.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/application/modules/twitter/controllers/widgets/auth.php b/application/modules/twitter/controllers/widgets/auth.php index 2b39428..14e4714 100644 --- a/application/modules/twitter/controllers/widgets/auth.php +++ b/application/modules/twitter/controllers/widgets/auth.php @@ -21,6 +21,6 @@ */ ?> + class="btn fab fa-twitter-square fa-2x"> Date: Thu, 7 Feb 2019 19:02:48 +0200 Subject: [PATCH 2/3] Updated codestyle and copyright year --- LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index 107f85a..56619f6 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2012-2017 by Bluz PHP Team +Copyright (c) 2012-2019 by Bluz PHP Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From cd43b85c769ef6a52e1275555875460083542e51 Mon Sep 17 00:00:00 2001 From: Anton Shevchuk Date: Fri, 15 Feb 2019 18:25:20 +0200 Subject: [PATCH 3/3] Updated scrutinizer configuration Updated readme --- .gitignore | 3 +++ .scrutinizer.yml | 29 +++++++++++++++++++++++++++++ .travis.yml | 8 +------- README.md | 26 +++++++++++++++----------- composer.json | 2 +- 5 files changed, 49 insertions(+), 19 deletions(-) create mode 100644 .scrutinizer.yml diff --git a/.gitignore b/.gitignore index 4befed3..b7a6953 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ .DS_Store .idea +vendor +composer.lock +composer.phar diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000..8c6ae28 --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,29 @@ +build: + nodes: + analysis: + tests: + override: + - php-scrutinizer-run +checks: + php: + psr2_switch_declaration: true + psr2_class_declaration: true + no_short_open_tag: true + deprecated_code_usage: true + code_rating: true +filter: + excluded_paths: [bin, docs, docker, data, tests, vendor] +tools: + php_analyzer: true + php_code_sniffer: + config: + standard: PSR2 + php_cpd: + enabled: true + excluded_dirs: [bin, docs, docker, data, tests, vendor] + php_loc: + enabled: true + excluded_dirs: [bin, docs, docker, data, tests, vendor] + php_mess_detector: true + php_pdepend: true + sensiolabs_security_checker: true diff --git a/.travis.yml b/.travis.yml index 8578eb2..66310ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: php php: - 7.1 - 7.2 + - 7.3 - master matrix: allow_failures: @@ -32,13 +33,6 @@ script: - php vendor/bin/bluzman test module-$BLUZ_MODULE notifications: email: false - webhooks: - urls: - - https://webhooks.gitter.im/e/b84e6a583d6eea87d0eb - - https://webhooks.gitter.im/e/c4fa557829c5bd992271 - on_success: change # options: [always|never|change] default: always - on_failure: always # options: [always|never|change] default: always - on_start: false # default: false branches: only: - master diff --git a/README.md b/README.md index adce5e5..dc5dadd 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,25 @@ # Module auth-twitter for Bluz Skeleton +## Achievements -[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bluzphp/main) +[![PHP >= 7.1+](https://img.shields.io/packagist/php-v/bluzphp/module-auth-twitter.svg?style=flat)](https://php.net/) -### Achievements +[![Latest Stable Version](https://img.shields.io/packagist/v/bluzphp/module-auth-twitter.svg?label=version&style=flat)](https://packagist.org/packages/bluzphp/module-auth-twitter) -[![Build Status](https://travis-ci.org/bluzphp/module-auth-twitter.svg?branch=master)](https://travis-ci.org/bluzphp/module-auth-twitter) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/bluzphp/module-auth-twitter/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/bluzphp/module-auth-twitter/?branch=master) +[![Build Status](https://img.shields.io/travis/bluzphp/module-auth-twitter/master.svg?style=flat)](https://travis-ci.org/bluzphp/module-auth-twitter) -[![Latest Stable Version](https://poser.pugx.org/bluzphp/module-auth-twitter/v/stable)](https://packagist.org/packages/bluzphp/module-auth-twitter) -[![Total Downloads](https://poser.pugx.org/bluzphp/module-auth-twitter/downloads)](https://packagist.org/packages/bluzphp/module-auth-twitter) +[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/bluzphp/module-auth-twitter.svg?style=flat)](https://scrutinizer-ci.com/g/bluzphp/module-auth-twitter/) -[![License](https://poser.pugx.org/bluzphp/module-auth-twitter/license)](https://packagist.org/packages/bluzphp/module-auth-twitter) +[![Total Downloads](https://img.shields.io/packagist/dt/bluzphp/module-auth-twitter.svg?style=flat)](https://packagist.org/packages/bluzphp/module-auth-twitter) -Usage -------------------------- +[![License](https://img.shields.io/packagist/l/bluzphp/module-auth-twitter.svg?style=flat)](https://packagist.org/packages/bluzphp/module-auth-twitter) + +## Usage ### Install module To install the module run the command: - $ composer require bluzphp/module-auth-twitter +```bash +php /vendor/bin/bluzman module:install auth-twitter +``` ### Configure Create an application at Applications page (https://apps.twitter.com/), @@ -27,4 +29,6 @@ inside *Twitter* section of the `auth.php` configuration. ### Remove module To remove the module, run the command: - $ composer remove bluzphp/module-auth-twitter +```bash +php /vendor/bin/bluzman module:remove auth-twitter +``` diff --git a/composer.json b/composer.json index 6dc39dd..d63d3d0 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "license": "MIT", "description": "bluz twitter auth module", "require": { - "bluzphp/framework": "~7.10", + "bluzphp/framework": "~7.11", "bluzphp/composer-plugin": "~2.1", "bluzphp/module-auth": "~2.0" }