Skip to content

Commit c7ad483

Browse files
Prepare release 4.0, fix PHP 8 tests and CHANGELOG
1 parent 506f1ab commit c7ad483

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
## 4.0.0 (2020-12-28)
6+
57
* **Breaking** Specification update to latest Slack official version - see slackapi/slack-api-specs#44
68
* added methods:
79
* `/admin.conversations.*`
@@ -19,7 +21,9 @@
1921
* ease up the patching process:
2022
* in the patched json file, sort endpoint query parameters by their `name` attributes, to keep a consistent order
2123
* auto-merge `objs_user` and `objs_conversation` polymorphic properties in order to keep the patch hunks as small as possible
22-
* Upgrade to JanePHP version 6.2
24+
* Upgrade to JanePHP version 6.3
25+
* Add support for PHP 8
26+
* **Specification override** Fix some `ts` from float to string
2327

2428
## 3.0.2 (2020-10-20)
2529

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
{
99
"name": "Loïck Piera",
1010
"email": "pyrech@gmail.com"
11+
},
12+
{
13+
"name": "JoliCode",
14+
"email": "coucou@jolicode.com"
1115
}
1216
],
1317
"autoload": {

tests/WritingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testItCanPostAttachment()
3636
]);
3737

3838
self::assertInstanceOf(ChatPostMessagePostResponse200::class, $response);
39-
self::assertContains($response->getMessage()->getAttachments()[0]->getImageUrl(), 'https://jolicode.com/images/valeurs_huma.png');
39+
self::assertStringContainsString($response->getMessage()->getAttachments()[0]->getImageUrl(), 'https://jolicode.com/images/valeurs_huma.png');
4040
}
4141

4242
public function testItCanPostMessageWithBlock()

0 commit comments

Comments
 (0)