Skip to content

Commit

Permalink
remove php 7.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ondraondra81 committed Feb 6, 2023
1 parent 5cea363 commit 5544440
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.4', '8.0', '8.1', '8.2']
php-versions: ['8.0', '8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '7.4', '8.0', '8.1', '8.2' ]
php-versions: [ '8.0', '8.1', '8.2' ]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -18,9 +18,7 @@ jobs:
php-version: ${{ matrix.php-versions }}
extensions: openssl, mbstring, json, intl, iconv, xml, tokenizer
coverage: xdebug #optional
- if: "matrix.php <= 7.4"
run: composer update --no-progress --ansi --prefer-lowest
- if: "matrix.php >= 8.0"
- name: Composer dependencies
uses: "ramsey/composer-install@v1"

- name: Run Tests
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ If you does not use Nette you can use [GPWebPay-core](https://github.com/Pixidos
Requirements
------------

| Version | PHP | Nette support | Maintained | Note |
|---------|------------|---------------|------------|-----------------------------------|
| 3.4.x | ^7.4, ^8.0 | ^3.0 | Yes | use GPWebPay-core ^2.2 |
| 3.3.x | ^7.2, 8.0 | ^2.4, ^3.0 | No | use GPWebPay-core ^2.0, BC breaks |
| 3.2.x | ^7.1 | ^2.4, ^3.0 | No | use GPWebPay-core ^2.0, BC breaks |
| 3.1.x | ^7.1 | ^2.4, ^3.0 | No | use GPWebPay-core ^1.0 |
| 3.0.x | ^7.1 | ^2.3 | No | |
| 2.x | ^5.6 | ^2.3 | No | |
| Version | PHP | Nette support | Maintained | Note |
|---------|-----------|---------------|------------|-----------------------------------|
| 3.4.x | ^8.0 | ^3.1 | Yes | use GPWebPay-core ^2.2 |
| 3.3.x | ^7.2, 8.0 | ^2.4, ^3.0 | No | use GPWebPay-core ^2.0, BC breaks |
| 3.2.x | ^7.1 | ^2.4, ^3.0 | No | use GPWebPay-core ^2.0, BC breaks |
| 3.1.x | ^7.1 | ^2.4, ^3.0 | No | use GPWebPay-core ^1.0 |
| 3.0.x | ^7.1 | ^2.3 | No | |
| 2.x | ^5.6 | ^2.3 | No | |


- [nette/di](https://github.com/nette/di)
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@
}
},
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"ext-openssl": "*",
"ext-json": "*",
"nette/di": "^3.0",
"nette/application": "^v3.0.6",
"nette/utils": "^3.2",
"latte/latte": "^2.4 || ^v3.0",
"nette/application": "^v3.1 || ^v4.0",
"nette/utils": "^4.0",
"latte/latte": "^v3.0",
"pixidos/gpwebpay-core": "~2.2",
"nette/bootstrap": "^3.1"
},
"require-dev": {
"nette/http": "^3.0",
"nette/caching": "^3.0",
"nette/finder": "^2.5 || ^3.0",
"nette/finder": "^3.0",
"nette/tester": "^2.4",
"pixidos/coding-standards": "^1.2.0",
"pixidos/coding-standards": "^1.2.2",
"phpstan/phpstan-nette": "^1.2.3",
"roave/security-advisories": "dev-master"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/Components/GPWebPayControlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use GPWebPay\Tests\GPWebPayTestCase;
use Nette\Application\AbortException;
use Nette\Application\UI\TemplateFactory;
use Nette\Bridges\ApplicationLatte\TemplateFactory;
use Pixidos\GPWebPay\Components\GPWebPayControl;
use Pixidos\GPWebPay\Data\RequestInterface;
use Tester\Assert;
Expand Down Expand Up @@ -75,7 +75,7 @@ public function testHandleCheckout(): void
protected function setUp(): void
{
parent::setUp();
$this->prepareContainer(sprintf(__DIR__ . '/../config/webpay.config.neon'));
$this->prepareContainer(__DIR__ . '/../config/webpay.config.neon');
$this->usePresenter('Test');
}

Expand Down

0 comments on commit 5544440

Please sign in to comment.