Skip to content

Commit 71357a0

Browse files
committed
Add missing protect_content and allow_sending_without_reply parameters
1 parent 7bf5721 commit 71357a0

6 files changed

+231
-135
lines changed

.php-cs-fixer.dist.php

+5
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,10 @@
2323
'no_unused_imports' => true,
2424
'single_quote' => true,
2525
'no_extra_blank_lines' => true,
26+
'cast_spaces' => true,
27+
'phpdoc_align' => [
28+
'align' => 'left',
29+
],
30+
'binary_operator_spaces' => true,
2631
])
2732
;

.scrutinizer.yml

+17-19
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
filter:
22
excluded_paths: [tests/*]
33

4-
checks:
5-
php:
6-
remove_extra_empty_lines: true
7-
remove_php_closing_tag: true
8-
remove_trailing_whitespace: true
9-
fix_use_statements:
10-
remove_unused: true
11-
preserve_multiple: false
12-
preserve_blanklines: true
13-
order_alphabetically: true
14-
fix_php_opening_tag: true
15-
fix_linefeed: true
16-
fix_line_ending: true
17-
fix_identation_4spaces: true
18-
fix_doc_comments: true
4+
#checks:
5+
# php:
6+
# remove_extra_empty_lines: true
7+
# remove_php_closing_tag: true
8+
# remove_trailing_whitespace: true
9+
# fix_use_statements:
10+
# remove_unused: true
11+
# preserve_multiple: false
12+
# preserve_blanklines: true
13+
# order_alphabetically: true
14+
# fix_php_opening_tag: true
15+
# fix_linefeed: true
16+
# fix_line_ending: true
17+
# fix_identation_4spaces: true
18+
# fix_doc_comments: true
1919
build:
2020
dependencies:
21-
before:
22-
- composer remove friendsofphp/php-cs-fixer --dev --no-update
23-
- composer remove vimeo/psalm --dev --no-update
24-
21+
override:
22+
- true
2523
tests:
2624
override:
2725
- true

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All Notable changes to `PHP Telegram Bot Api` will be documented in this file
44

5+
## 2.5.0 - YYYY-MM-DD
6+
7+
### Added
8+
- Add missing `protect_content` and `allow_sending_without_reply` parameters to `\TelegramBot\Api\BotApi` methods
9+
510
## 2.4.0 - 2023-05-11
611

712
### Added

0 commit comments

Comments
 (0)