accounts/composer.json
Octol1ttle 57d492da8a
Upgrade project to PHP 8.3, add PHPStan, upgrade almost every dependency (#36)
* start updating to PHP 8.3

* taking off!

Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* dropped this

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* migrate to symfonymailer

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* this is so stupid 😭

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* ah, free, at last.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* oh, Gabriel.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* now dawns thy reckoning.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* and thy gore shall GLISTEN before the temples of man.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* creature of steel.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* my gratitude upon thee for my freedom.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* but the crimes thy kind has committed against humanity

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* Upgrade PHP-CS-Fixer and do fix the codebase

* First review round (maybe I have broken something)

* are NOT forgotten.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* Enable parallel PHP-CS-Fixer runner

* PHPStan level 1

* PHPStan level 2

* PHPStan level 3

* PHPStan level 4

* PHPStan level 5

* Levels 6 and 7 takes too much effort. Generate a baseline and fix them eventually

* Resolve TODO's related to the php-mock

* Drastically reduce baseline size with the Rector

* More code modernization with help of the Rector

* Update GitLab CI

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
2024-12-02 11:10:55 +01:00

92 lines
2.7 KiB
JSON

{
"name": "elyby/accounts",
"description": "Authentication service for the Ely.by",
"homepage": "https://account.ely.by",
"type": "project",
"license": "Apache-2.0",
"authors": [
{
"name": "ErickSkrauch",
"email": "erickskrauch@ely.by"
}
],
"minimum-stability": "stable",
"config": {
"sort-packages": true,
"allow-plugins": {
"cweagans/composer-patches": true,
"phpstan/extension-installer": true,
"yiisoft/yii2-composer": true
}
},
"require": {
"php": "^8.3",
"ext-imagick": "*",
"ext-intl": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-pdo": "*",
"ext-simplexml": "*",
"ext-sodium": "*",
"bacon/bacon-qr-code": "^1.0",
"domnikl/statsd": "^3.0.0",
"ely/mojang-api": "^0.2.0",
"ely/yii2-tempmail-validator": "dev-master",
"erickskrauch/phpstan-yii2": "dev-master",
"guzzlehttp/guzzle": "^6|^7",
"lcobucci/jwt": "^5.4",
"league/oauth2-server": "^9.1.0",
"nesbot/carbon": "^3",
"nohnaimer/yii2-sentry": "^2.0",
"paragonie/constant_time_encoding": "^3",
"phpstan/extension-installer": "^1",
"phpstan/phpstan": "^1",
"phpstan/phpstan-webmozart-assert": "^1",
"ramsey/uuid": "^4.0.0",
"sam-it/yii2-mariadb": "^3",
"spomky-labs/otphp": "^11",
"webmozart/assert": "^1.2.0",
"yiisoft/yii2": "~2.0.38",
"yiisoft/yii2-queue": "^2.2.0",
"yiisoft/yii2-redis": "~2.0.0",
"yiisoft/yii2-symfonymailer": "~4.0.0"
},
"require-dev": {
"codeception/codeception": "^5.1.0",
"codeception/module-asserts": "^3.0.0",
"codeception/module-redis": "^3.2.0",
"codeception/module-rest": "^3.4.0",
"codeception/module-yii2": "^1.1.0",
"cweagans/composer-patches": "^1.7",
"ely/php-code-style": "^1.0.1",
"php-mock/php-mock-phpunit": "^2.5",
"phpstan/phpstan-phpunit": "^1",
"roave/security-advisories": "dev-master"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"autoload": {
"psr-4": {
"api\\": "api",
"common\\": "common",
"console\\": "console"
},
"files": [
"common/consts.php"
]
},
"autoload-dev": {
"psr-4": {
"api\\tests\\": "api/tests",
"common\\tests\\": "common/tests",
"console\\tests\\": "console/tests"
}
}
}