mirror of
https://github.com/openvk/openvk
synced 2025-02-09 00:09:33 +03:00
* 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.
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"scripts": {
|
|
"fix": "php-cs-fixer fix",
|
|
"lint": "php-cs-fixer fix --dry-run --diff --verbose"
|
|
},
|
|
"require": {
|
|
"php": "~7.3||~8.1",
|
|
"guzzlehttp/guzzle": "^6.5",
|
|
"whichbrowser/parser": "dev-master",
|
|
"james-heinrich/getid3": "^1.9@dev",
|
|
"rybakit/msgpack": "dev-master",
|
|
"wapmorgan/binary-stream": "dev-master",
|
|
"al/emoji-detector": "dev-master",
|
|
"ezyang/htmlpurifier": "dev-master",
|
|
"scssphp/scssphp": "dev-main",
|
|
"lfkeitel/phptotp": "dev-master",
|
|
"chillerlan/php-qrcode": "5.0.2",
|
|
"vearutop/php-obscene-censor-rus": "dev-master",
|
|
"erusev/parsedown": "dev-master",
|
|
"bhaktaraz/php-rss-generator": "dev-master",
|
|
"ext-openssl": "*",
|
|
"ext-simplexml": "*",
|
|
"symfony/console": "5.4.x-dev",
|
|
"wapmorgan/morphos": "dev-master",
|
|
"ext-sodium": "*",
|
|
"php81_bc/strftime": "^0.0.2",
|
|
"ext-iconv": "*"
|
|
},
|
|
"minimum-stability": "beta",
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "^3.68"
|
|
}
|
|
}
|