Commit graph

5 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
1317059bab
style: add linting for openvkctl script (#1222) 2025-01-31 19:17:59 +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
Ilya Prokopenko
008e42b26d
Make openvkctl executable 2022-04-08 12:59:35 +03:00
Celestora
be83a72be2 Add build-images to openvkctl 2022-04-05 15:54:53 +03:00