Tweak Composer setup

This commit is contained in:
Alex Cabal 2024-05-15 18:54:22 -05:00
parent 3c54255775
commit 47e8d13ba8
2 changed files with 30 additions and 15 deletions

View file

@ -1,16 +1,31 @@
{
"license": "CC0-1.0",
"require-dev": {
"phpstan/phpstan": "^1.7.14",
"thecodingmachine/phpstan-safe-rule": "^1.2.0"
},
"autoload": {
"psr-4": {"": "lib/"},
"files": ["lib/Constants.php"]
},
"platform":{
"php": "8.1.2"
},
"config":{
"optimize-autoloader": true
},
"autoload-dev": {
"psr-4": {
"": "lib/"
},
"files": [
"lib/Constants.php"
]
},
"autoload": {
"classmap": [
"lib/"
],
"files": [
"lib/Constants.php"
]
},
"require-dev": {
"phpstan/phpstan": "^1.11.1",
"thecodingmachine/phpstan-safe-rule": "^1.2.0"
},
"require": {
"thecodingmachine/safe": "^2.5.0",
"phpmailer/phpmailer": "^6.6.0",

14
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "aa0e1da3ba30e8eccb1a3329165a496c",
"content-hash": "b0f9117ed0fa1c3563107eca1d2a77b9",
"packages": [
{
"name": "brick/math",
@ -896,16 +896,16 @@
"packages-dev": [
{
"name": "phpstan/phpstan",
"version": "1.11.0",
"version": "1.11.1",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "666cb1703742cea9cc80fee631f0940e1592fa6e"
"reference": "e524358f930e41a2b4cca1320e3b04fc26b39e0b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/666cb1703742cea9cc80fee631f0940e1592fa6e",
"reference": "666cb1703742cea9cc80fee631f0940e1592fa6e",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/e524358f930e41a2b4cca1320e3b04fc26b39e0b",
"reference": "e524358f930e41a2b4cca1320e3b04fc26b39e0b",
"shasum": ""
},
"require": {
@ -950,7 +950,7 @@
"type": "github"
}
],
"time": "2024-05-13T06:02:22+00:00"
"time": "2024-05-15T08:00:59+00:00"
},
{
"name": "thecodingmachine/phpstan-safe-rule",
@ -1017,5 +1017,5 @@
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.3.0"
"plugin-api-version": "2.6.0"
}