* 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>
* 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.
* ci(actions): try using docker/build-push-action
no pushes yet ofc
* ci(actions): try using multilines to provide env vars
* ci(actions): use full form env vars providing
* ci(actions): try load flag
* ci(actions): add uploading of built images as artifacts
* ci(actions): use oci export type
* ci(actions): try generating metadata with docker/metadata-action@v5
* ci(actions): individual tagging policy fo db images
* ci(actions): improve prefixes for db images
* ci: use matrix for different platforms
* ci(actions): move DB images building to a different job
* ci(actions): add labels to images
* ci(actions): add running on pull_requests
* ci(actions): return pushing to registry