From 8504c9e8b9b9e4c4a9c10ee836bd9ba865ae218f Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 16 Nov 2020 19:08:04 -0800 Subject: [PATCH] Added phplint to dev in composer --- composer.json | 1 + composer.lock | 114 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 113 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 5e0e818e24..a7f22b183d 100644 --- a/composer.json +++ b/composer.json @@ -65,6 +65,7 @@ "codeception/module-rest": "^1.2", "codeception/module-webdriver": "^1.0", "fzaninotto/faker": "^1.9", + "overtrue/phplint": "^2.2", "phpunit/php-token-stream": "^3.1", "phpunit/phpunit": "^8.5", "squizlabs/php_codesniffer": "^3.5", diff --git a/composer.lock b/composer.lock index 5f627c56bb..e9f44445b7 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "3fe8a441e49d1299687346810b350e00", + "content-hash": "68cf0fb2c06b12c9f8b58efbca2cd72b", "packages": [ { "name": "adldap2/adldap2", @@ -8476,6 +8476,116 @@ ], "time": "2020-01-17T21:11:47+00:00" }, + { + "name": "n98/junit-xml", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/cmuench/junit-xml.git", + "reference": "7df0dbaf413fcaa1a63ffbcef18654e7a4cceb46" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cmuench/junit-xml/zipball/7df0dbaf413fcaa1a63ffbcef18654e7a4cceb46", + "reference": "7df0dbaf413fcaa1a63ffbcef18654e7a4cceb46", + "shasum": "" + }, + "require-dev": { + "phpunit/phpunit": "3.7.*" + }, + "type": "library", + "autoload": { + "psr-0": { + "N98\\JUnitXml": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Münch", + "email": "c.muench@netz98.de" + } + ], + "description": "JUnit XML Document generation library", + "support": { + "issues": "https://github.com/cmuench/junit-xml/issues", + "source": "https://github.com/cmuench/junit-xml/tree/master" + }, + "time": "2013-11-23T13:11:26+00:00" + }, + { + "name": "overtrue/phplint", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/overtrue/phplint.git", + "reference": "dcbb1b9c728de2f05ce6208db7dacb8b3df1c446" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/overtrue/phplint/zipball/dcbb1b9c728de2f05ce6208db7dacb8b3df1c446", + "reference": "dcbb1b9c728de2f05ce6208db7dacb8b3df1c446", + "shasum": "" + }, + "require": { + "ext-json": "*", + "n98/junit-xml": "1.0.0", + "php": ">=5.5.9", + "symfony/console": "^3.2|^4.0|^5.0", + "symfony/finder": "^3.0|^4.0|^5.0", + "symfony/process": "^3.3|^4.0|^5.0", + "symfony/yaml": "^3.0|^4.0|^5.0" + }, + "require-dev": { + "brainmaestro/composer-git-hooks": "^2.7", + "friendsofphp/php-cs-fixer": "^2.16", + "jakub-onderka/php-console-highlighter": "^0.3.2 || ^0.4" + }, + "bin": [ + "bin/phplint" + ], + "type": "library", + "extra": { + "hooks": { + "pre-commit": [ + "composer fix-style" + ], + "pre-push": [ + "composer check-style" + ] + } + }, + "autoload": { + "psr-4": { + "Overtrue\\PHPLint\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "overtrue", + "email": "anzhengchao@gmail.com" + } + ], + "description": "`phplint` is a tool that can speed up linting of php files by running several lint processes at once.", + "keywords": [ + "check", + "lint", + "phplint", + "syntax" + ], + "support": { + "issues": "https://github.com/overtrue/phplint/issues", + "source": "https://github.com/overtrue/phplint/tree/2.2.0" + }, + "time": "2020-11-04T23:50:40+00:00" + }, { "name": "phar-io/manifest", "version": "1.0.3", @@ -9618,5 +9728,5 @@ "platform-overrides": { "php": "7.2" }, - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.0.0" }