Skip to content

Commit

Permalink
[core] Drop php 5.6 and php 7.0 support (RSS-Bridge#2224)
Browse files Browse the repository at this point in the history
  • Loading branch information
em92 authored and floviolleau committed Jan 25, 2022
1 parent c207ec4 commit 6dbf290
Show file tree
Hide file tree
Showing 9 changed files with 220 additions and 264 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
php-versions: ['7.1', '7.2', '7.3', '7.4']
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['5.6', '7.4']
php-versions: ['7.1', '7.4']
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,6 @@ on:
branches: [ master ]

jobs:
phpunit6:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['7.0', '7.1', '7.2']
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- run: composer global require phpunit/phpunit ^6
- run: phpunit --configuration=phpunit.xml --include-path=lib/

phpunit7:
runs-on: ubuntu-20.04
strategy:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RSS-Bridge hashtag (#rss-bridge) search on Twitter, in Atom format (as displayed
Requirements
===

RSS-Bridge requires PHP 5.6 or higher with following extensions enabled:
RSS-Bridge requires PHP 7.1 or higher with following extensions enabled:

- [`openssl`](https://secure.php.net/manual/en/book.openssl.php)
- [`libxml`](https://secure.php.net/manual/en/book.libxml.php)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"rss": "https://github.com/RSS-Bridge/rss-bridge/commits/master.atom"
},
"require": {
"php": ">=5.6",
"php": ">=7.1",
"ext-mbstring": "*",
"ext-curl": "*",
"ext-openssl": "*",
Expand All @@ -30,7 +30,7 @@
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^6 || ^7"
"phpunit/phpunit": "^7"
},
"suggest": {
"ext-memcached": "Allows to use memcached as cache type",
Expand Down
Loading

0 comments on commit 6dbf290

Please sign in to comment.