]> git.mxchange.org Git - friendica.git/blobdiff - composer.json
Set "convertForItem" at more places
[friendica.git] / composer.json
index 5d6c71ee3f09df68722fc687548ddec379f45352..4e485e4e9975dcfa8afdd25c2a59e910cee143da 100644 (file)
                ]
        },
        "require-dev": {
-               "php-parallel-lint/php-parallel-lint": "^1.2",
                "mockery/mockery": "^1.3",
                "mikey179/vfsstream": "^1.6"
        },
        "scripts": {
-               "test": "phpunit"
+               "test": "phpunit",
+               "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l",
+               "cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer",
+               "cs:check": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"],
+               "cs:fix": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"]
        }
 }