Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency: abraham/twitteroauth to v1.2.0 #122

Merged
merged 3 commits into from
Mar 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=10s --health-retries=10
strategy:
matrix:
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3']
php-versions: ['7.2', '7.3']

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ add_filter( 'dt_blacklisted_meta', function( $blacklisted_metas ) {

## Requirements

- PHP 7.0+
- PHP 7.2+
- [WordPress](http://wordpress.org) 4.7+

## Installation
Expand Down
2 changes: 1 addition & 1 deletion autoshare-for-twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Disclaimer: TWITTER, TWEET, RETWEET and the Twitter logo are trademarks of Twitter, Inc. or its affiliates.
* Version: 1.0.3
* Requires at least: 4.7
* Requires PHP: 7.0
* Requires PHP: 7.2
* Author: 10up
* Author URI: https://10up.com
* License: GPL-2.0-or-later
Expand Down
12 changes: 0 additions & 12 deletions bin/composer-5.6.json

This file was deleted.

9 changes: 0 additions & 9 deletions bin/test.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
set -e

if [[ '5.6' == $PHP_VERSION || '7.0' == $PHP_VERSION || '7.1' == $PHP_VERSION ]]; then
php -v
rm composer.lock composer.json
cp bin/composer-5.6.json composer.json
composer install
composer run setup-local-tests
composer run test
fi;

if [[ '7.2' == $PHP_VERSION ]]; then
php -v
composer install
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"abraham/twitteroauth": "^0.7.4"
"abraham/twitteroauth": "1.2.0"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
Expand Down
107 changes: 92 additions & 15 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: 10up, johnwatkins0, adamsilverstein, scottlee, dinhtungdu
Tags: twitter, tweet, autoshare, auto-share, auto share, share, social media
Requires at least: 4.7
Tested up to: 5.4.2
Requires PHP: 7.0
Requires PHP: 7.2
Stable tag: 1.0.3
License: GPL-2.0-or-later
License URI: https://spdx.org/licenses/GPL-2.0-or-later.html
Expand Down