Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a1b2e5

Browse files
committed
Bump tarantool/client version to v0.10
1 parent 3f2c3c5 commit 7a1b2e5

File tree

6 files changed

+8
-165
lines changed

6 files changed

+8
-165
lines changed

‎.github/workflows/qa.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ jobs:
1010
strategy:
1111
matrix:
1212
operating-system: [ubuntu-latest]
13-
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
13+
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1']
1414
runs-on: ${{ matrix.operating-system }}
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
1818

19-
- name: Setup PHP, with composer and extensions
19+
- name: Setup PHP
2020
uses: shivammathur/setup-php@v2
2121
with:
2222
php-version: ${{ matrix.php-versions }}
23-
extensions: msgpack
2423
coverage: none
2524

2625
- name: Get composer cache directory
@@ -53,7 +52,6 @@ jobs:
5352
uses: shivammathur/setup-php@v2
5453
with:
5554
php-version: '8.0'
56-
extensions: msgpack
5755
coverage: none
5856

5957
- name: Get composer cache directory

‎README.md‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ It is based on [rybakit/phpunit-extras](https://github.com/rybakit/phpunit-extra
1515
* [Lua](#lua)
1616
* [Sql](#sql)
1717
* [Requirements](#requirements)
18-
* [ClientPacker](#clientpacker)
1918
* [LuaCondition](#luacondition)
2019
* [TarantoolVersion](#tarantoolversion)
2120
* [Expectations](#expectations)
@@ -152,27 +151,6 @@ public function testExecuteQueryFetchesAllRows() : void
152151

153152
Requirements allow skipping tests based on preconditions.
154153

155-
#### ClientPacker
156-
157-
*Format:*
158-
159-
```
160-
@requires clientPacker <packer>
161-
```
162-
where `<packer>` is either `pure`, `pecl`, or a fully qualified class name, e.g. `Tarantool\Client\Packer\PurePacker`.
163-
164-
*Example:*
165-
166-
```php
167-
/**
168-
* @requires clientPacker pure
169-
*/
170-
public function testPackerUnpacksBigIntegerAsDecimal() : void
171-
{
172-
// ...
173-
}
174-
```
175-
176154
#### LuaCondition
177155

178156
*Format:*

‎composer.json‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.1|^8",
14+
"php": "^7.2.5|^8",
1515
"composer/semver": "^1.5",
1616
"composer/package-versions-deprecated": "^1.4",
17-
"rybakit/phpunit-extras": "^0.2.3",
18-
"symfony/expression-language": "^3.3|^4|^5",
19-
"tarantool/client": "^0.8|^0.9"
17+
"rybakit/phpunit-extras": "^0.2.4",
18+
"symfony/expression-language": "^3.3|^4|^5|^6",
19+
"tarantool/client": "^0.10"
2020
},
2121
"require-dev": {
22-
"php": "^7.1.3|^8",
23-
"ext-msgpack": "*",
24-
"friendsofphp/php-cs-fixer": "^2.14",
25-
"rybakit/msgpack": "*",
22+
"php": "^7.2.5|^8",
23+
"friendsofphp/php-cs-fixer": "^2.19",
2624
"vimeo/psalm": "^3.9|^4"
2725
},
2826
"autoload": {

‎src/Annotation/Annotations.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Tarantool\Client\Client;
1919
use Tarantool\PhpUnit\Annotation\Processor\LuaProcessor;
2020
use Tarantool\PhpUnit\Annotation\Processor\SqlProcessor;
21-
use Tarantool\PhpUnit\Annotation\Requirement\ClientPackerRequirement;
2221
use Tarantool\PhpUnit\Annotation\Requirement\LuaConditionRequirement;
2322
use Tarantool\PhpUnit\Annotation\Requirement\TarantoolVersionRequirement;
2423

@@ -35,7 +34,6 @@ protected function createAnnotationProcessorBuilder() : AnnotationProcessorBuild
3534
return $this->createBaseAnnotationProcessorBuilder()
3635
->addProcessor(new LuaProcessor($client))
3736
->addProcessor(new SqlProcessor($client))
38-
->addRequirement(new ClientPackerRequirement($client))
3937
->addRequirement(new LuaConditionRequirement($client))
4038
->addRequirement(new TarantoolVersionRequirement($client))
4139
;

‎src/Annotation/Requirement/ClientPackerRequirement.php‎

Lines changed: 0 additions & 54 deletions
This file was deleted.

‎tests/Annotation/Requirement/ClientPackerRequirementTest.php‎

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /