Commit graph

9 commits

Author SHA1 Message Date
def76226b7
feat(core): add phpstan for static analysis (#1223)
* feat: add phpstan for static analysis

* ci(actions): add phpstan action

* ci(actions): do analysing inside docker container

* fix(FetchToncoinTransactions): add var declaration

* fix(ServiceAPI/Wall): add var declaration

* fix(bootstrap): remove case-insensitive false vars

* fix(VKAPI/Handlers/Board): change parameters order

* fix(VKAPIRequestHandler): set fail's return type as never

* fix(VKAPI/Handlers/Groups): add array declaration

* fix(VKAPI/Handlers/Newsfeed): add return_banned declaration

* fix(VKAPI/Handlers/Notes): move $nodez declaration up

* fix(phpstan): most of the things and stupid lines of code

* fix(lint)

* fix(phpstan): less errors

* fix(lint): again. cuz i forgot about it

* fix(stan): all errors are gone now =3

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
2025-03-09 16:03:33 +03:00
6ec54a379d
feat: add linting of code (#1220)
* feat(lint): add php-cs-fixer for linting

Removing previous CODE_STYLE as it was not enforced anyway and using PER-CS 2.0.

This is not the reformatting commit.

* style: format code according to PER-CS 2.0 with php-cs-fixer

* ci(actions): add lint action

Resolves #1132.
2025-01-31 18:20:13 +03:00
veselcraft
26b8b23aae
Coin: Add ability to see how much voices you reveiced trough notifications 2022-06-02 14:07:31 +03:00
veselcraft
10040332ed
Coin: Code cleanup 2022-05-23 16:13:02 +03:00
veselcraft
fb6c9d3963
Coin: Clear up the code 2022-05-23 15:36:19 +03:00
veselcraft
85cd1c7554
Coin: Clean up the code 2022-05-09 15:12:14 +03:00
veselcraft
13f0cc8a66
Coin: cleanup code 2022-05-07 18:49:14 +03:00
veselcraft
04ab845382
Coin: Add dialog with QR-code and requisites + tweak config 2022-05-07 15:42:25 +03:00
veselcraft
16bc311bbc
Coin: A very early implementation of Toncoin fetching
It actually works! But there is a several problems:
1. Notification displays 0 coins instead of real number. Maybe @celestora will fix it idk
2. There is no real configuration of server, currency (rn there is TONs per 1 coin), regex or precise (aka count cents)

There is a lot of work, like integrating interactive interface with TON address and QR code, etcetera...

And btw only CLI is available right now. openvkcli fetch-ton command should be putted into cron, just to regularly check for new transactions :D

Related to #474
2022-05-07 02:33:22 +03:00