Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
c9ad5722
Unverified
Commit
c9ad5722
authored
Jun 12, 2019
by
Armando Lüscher
Committed by
GitHub
Jun 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into remove_botan
parents
eab30672
89af4d43
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
CHANGELOG.md
CHANGELOG.md
+1
-0
composer.json
composer.json
+1
-1
phpcs.xml
phpcs.xml
+4
-1
CommandTest.php
tests/unit/Commands/CommandTest.php
+1
-1
No files found.
CHANGELOG.md
View file @
c9ad5722
...
...
@@ -6,6 +6,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
## [Unreleased]
### Added
### Changed
-
Use PSR-12 for code style.
### Deprecated
### Removed
-
Botan.io integration completely removed.
...
...
composer.json
View file @
c9ad5722
...
...
@@ -47,7 +47,7 @@
},
"scripts"
:
{
"check-code"
:
[
"
\"
vendor/bin/phpcs
\"
--standard=phpcs.xml -snp
--encoding=utf-8 src/ tests/ --report-width=150
"
"
\"
vendor/bin/phpcs
\"
--standard=phpcs.xml -snp
src/ tests/
"
],
"test"
:
[
"
\"
vendor/bin/phpunit
\"
"
...
...
phpcs.xml
View file @
c9ad5722
...
...
@@ -3,8 +3,11 @@
<description>
PHP Code Sniffer
</description>
<arg
name=
"colors"
/>
<arg
name=
"parallel"
value=
"8"
/>
<arg
name=
"encoding"
value=
"utf-8"
/>
<arg
name=
"report-width"
value=
"150"
/>
<rule
ref=
"PSR2"
/>
<rule
ref=
"PSR
1
2"
/>
<rule
ref=
"Generic.CodeAnalysis.EmptyStatement"
/>
<rule
ref=
"Generic.CodeAnalysis.UselessOverridingMethod"
/>
...
...
tests/unit/Commands/CommandTest.php
View file @
c9ad5722
...
...
@@ -74,7 +74,7 @@ class CommandTest extends TestCase
[
null
],
[
12345
],
[
'something'
],
[
new
\stdClass
],
[
new
\stdClass
()
],
[
$this
->
telegram
],
// only this one is valid
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment