Skip to content

Commit

Permalink
Merge pull request #122 from 10up/feature/php-7-4-update
Browse files Browse the repository at this point in the history
Update dependency: abraham/twitteroauth to v1.2.0
  • Loading branch information
jeffpaul authored Mar 5, 2021
2 parents 9d52121 + b09f5a8 commit 1127578
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 41 deletions.
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

0 comments on commit 1127578

Please sign in to comment.