summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-17 14:59:05 +0100
committerRemi Collet <remi@remirepo.net>2020-03-17 14:59:05 +0100
commit37ef656afa1337ce7439c9a57863c554c537728f (patch)
treeceb985468e0553045d3502f4e5a8087cc9f30ba9 /composer.json
import from Fedora
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..79cfbf1
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,49 @@
+{
+ "name": "webimpress/safe-writer",
+ "description": "Tool to write files safely, to avoid race conditions",
+ "license": "BSD-2-Clause",
+ "keywords": [
+ "webimpress",
+ "safe writer",
+ "file writer",
+ "concurrent write",
+ "race condition"
+ ],
+ "require": {
+ "php": "^7.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^8.4.3",
+ "webimpress/coding-standard": "dev-develop"
+ },
+ "autoload": {
+ "psr-4": {
+ "Webimpress\\SafeWriter\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "WebimpressTest\\SafeWriter\\": "test/"
+ }
+ },
+ "config": {
+ "sort-packages": true
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0.x-dev",
+ "dev-develop": "2.1.x-dev",
+ "dev-release-1.0": "1.0.x-dev"
+ }
+ },
+ "scripts": {
+ "check": [
+ "@cs-check",
+ "@test"
+ ],
+ "cs-check": "phpcs",
+ "cs-fix": "phpcbf",
+ "test": "phpunit --colors=always",
+ "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
+ }
+}