Cleanup in composer.json. Added PHP-CodeSniffer as Dev-Dependency.

This commit is contained in:
Markus Birth 2022-02-12 04:38:52 +01:00
parent 5aac8fb9c9
commit a81734cdc3
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A
3 changed files with 19 additions and 7 deletions

2
.gitignore vendored
View File

@ -1,4 +1,5 @@
# application stuff # application stuff
/node_modules/
/uploads/* /uploads/*
/templates_c/* /templates_c/*
/serendipity_config_local.inc.php /serendipity_config_local.inc.php
@ -53,5 +54,6 @@ DEADJOE
/.project /.project
.DS_Store .DS_Store
*.git *.git
/tags.lock
tests/phpunit.xml tests/phpunit.xml
vagrant/* vagrant/*

View File

@ -9,12 +9,23 @@
], ],
"require": { "require": {
"php": ">=7.0 <9.0", "php": ">=7.0 <9.0",
"ext-pcre": "*",
"ext-xml": "*",
"filp/whoops": "^2.14", "filp/whoops": "^2.14",
"foxy/foxy": "^1.0.0", "foxy/foxy": "^1.0.0",
"katzgrau/klogger": "~1.0", "katzgrau/klogger": "~1.0",
"smarty/smarty": "~3.1.33", "smarty/smarty": "~3.1.33",
"voku/simple-cache": "4.*" "voku/simple-cache": "4.*"
}, },
"require-dev": {
"squizlabs/php_codesniffer": "^3.6"
},
"suggest": {
"ext-gd": "Install for graphics handling.",
"ext-iconv": "Install for language handling.",
"ext-zlib": "Install for compression handling.",
"ext-mbstring": "Install for better international language support."
},
"autoload": { "autoload": {
"psr-4": { "": "lib/" }, "psr-4": { "": "lib/" },
"classmap": [ "include/" ] "classmap": [ "include/" ]
@ -25,14 +36,11 @@
"apcu-autoloader": true, "apcu-autoloader": true,
"optimize-autoloader": true, "optimize-autoloader": true,
"platform": { "platform": {
"php": "8.99.99" "php": "7.99.99"
}, },
"sort-packages": true, "sort-packages": true,
"allow-plugins": { "allow-plugins": {
"foxy/foxy": true "foxy/foxy": true
} }
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.6"
} }
} }

8
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "3a29525c9d24bd4060b214c31c6d6c11", "content-hash": "93e84a595e8454cb34524e9a3adde858",
"packages": [ "packages": [
{ {
"name": "filp/whoops", "name": "filp/whoops",
@ -511,11 +511,13 @@
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": ">=7.0 <9.0" "php": ">=7.0 <9.0",
"ext-pcre": "*",
"ext-xml": "*"
}, },
"platform-dev": [], "platform-dev": [],
"platform-overrides": { "platform-overrides": {
"php": "8.99.99" "php": "7.99.99"
}, },
"plugin-api-version": "2.2.0" "plugin-api-version": "2.2.0"
} }