From 7e575e1bb2ef535517266c7ebeeb10336cf7abab Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 5 Jul 2020 11:58:50 +0200 Subject: [PATCH] composer-normalize --- composer.json | 69 ++++++------ composer.lock | 303 +++++++++++++++++++++++++++++++++++++++++++++++++- grumphp.yml | 1 + 3 files changed, 338 insertions(+), 35 deletions(-) diff --git a/composer.json b/composer.json index 32d2988..d3c6d09 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,23 @@ { "name": "rudloff/alltube", - "description": "HTML GUI for youtube-dl", - "license": "GPL-3.0-only", - "homepage": "http://alltubedownload.net/", "type": "project", + "description": "HTML GUI for youtube-dl", + "homepage": "http://alltubedownload.net/", + "license": "GPL-3.0-only", + "authors": [ + { + "name": "Pierre Rudloff", + "email": "contact@rudloff.pro", + "homepage": "https://rudloff.pro/", + "role": "Developer" + }, + { + "name": "Olivier Haquette", + "email": "contact@olivierhaquette.fr", + "homepage": "http://olivierhaquette.fr/", + "role": "Designer" + } + ], "require": { "ext-intl": "*", "ext-json": "*", @@ -23,6 +37,7 @@ }, "require-dev": { "consolidation/robo": "^2.1", + "ergebnis/composer-normalize": "^2.6", "php-mock/php-mock-mockery": "^1.3", "phpro/grumphp": "^0.18.0", "phpstan/phpstan": "^0.12.25", @@ -33,6 +48,22 @@ "symfony/error-handler": "^5.0", "symfony/var-dumper": "^5.0" }, + "config": { + "platform": { + "php": "7.3.11" + }, + "sort-packages": true + }, + "autoload": { + "psr-4": { + "Alltube\\": "classes/" + } + }, + "autoload-dev": { + "psr-4": { + "Alltube\\Test\\": "tests/" + } + }, "repositories": [ { "type": "composer", @@ -50,44 +81,14 @@ } } ], - "authors": [ - { - "name": "Pierre Rudloff", - "email": "contact@rudloff.pro", - "homepage": "https://rudloff.pro/", - "role": "Developer" - }, - { - "name": "Olivier Haquette", - "email": "contact@olivierhaquette.fr", - "homepage": "http://olivierhaquette.fr/", - "role": "Designer" - } - ], - "autoload": { - "psr-4": { - "Alltube\\": "classes/" - } - }, - "autoload-dev": { - "psr-4": { - "Alltube\\Test\\": "tests/" - } - }, "scripts": { "lint": "grumphp run --ansi", - "test": "phpunit", "release": "robo release --ansi", + "test": "phpunit", "update-locales": [ "tsmarty2c.php templates > i18n/template.pot", "xgettext --omit-header -kt -j -o i18n/template.pot classes/*.php classes/*/*.php" ], "youtube-dl": "vendor/ytdl-org/youtube-dl/youtube_dl/__main__.py" - }, - "config": { - "sort-packages": true, - "platform": { - "php": "7.3.11" - } } } diff --git a/composer.lock b/composer.lock index c10163e..d83a5b2 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": "d9125c0cc7c3d9c1074b8b30445eaad5", + "content-hash": "2ca44dcc718001c0bbcbd4e59c1136b8", "packages": [ { "name": "aura/session", @@ -2207,6 +2207,190 @@ ], "time": "2019-10-21T16:45:58+00:00" }, + { + "name": "ergebnis/composer-normalize", + "version": "2.6.0", + "source": { + "type": "git", + "url": "https://github.com/ergebnis/composer-normalize.git", + "reference": "ad7a07896aaf513bdcda7ef883c793a344c04aba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/ad7a07896aaf513bdcda7ef883c793a344c04aba", + "reference": "ad7a07896aaf513bdcda7ef883c793a344c04aba", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.1.0 || ^2.0.0", + "ergebnis/json-normalizer": "~0.12.0", + "ergebnis/json-printer": "^3.0.2", + "justinrainbow/json-schema": "^5.2.10", + "localheinz/diff": "^1.0.1", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "composer/composer": "^1.10.8 || ^2.0.0", + "composer/package-versions-deprecated": "^1.8.1", + "ergebnis/phpstan-rules": "~0.15.0", + "ergebnis/test-util": "~1.0.0", + "jangregor/phpstan-prophecy": "~0.8.0", + "phpstan/extension-installer": "^1.0.4", + "phpstan/phpstan": "~0.12.32", + "phpstan/phpstan-deprecation-rules": "~0.12.4", + "phpstan/phpstan-phpunit": "~0.12.11", + "phpstan/phpstan-strict-rules": "~0.12.2", + "phpunit/phpunit": "^7.5.20", + "symfony/filesystem": "^4.4.9" + }, + "type": "composer-plugin", + "extra": { + "class": "Ergebnis\\Composer\\Normalize\\NormalizePlugin" + }, + "autoload": { + "psr-4": { + "Ergebnis\\Composer\\Normalize\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "description": "Provides a composer plugin for normalizing composer.json.", + "homepage": "https://github.com/ergebnis/composer-normalize", + "keywords": [ + "composer", + "normalize", + "normalizer", + "plugin" + ], + "time": "2020-07-03T18:09:23+00:00" + }, + { + "name": "ergebnis/json-normalizer", + "version": "0.12.0", + "source": { + "type": "git", + "url": "https://github.com/ergebnis/json-normalizer.git", + "reference": "0197447cd5d8f7e82116e904196a3e9f470655db" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/0197447cd5d8f7e82116e904196a3e9f470655db", + "reference": "0197447cd5d8f7e82116e904196a3e9f470655db", + "shasum": "" + }, + "require": { + "ergebnis/json-printer": "^3.0.2", + "ext-json": "*", + "justinrainbow/json-schema": "^4.0.0 || ^5.0.0", + "php": "^7.1" + }, + "require-dev": { + "ergebnis/license": "~0.1.0", + "ergebnis/php-cs-fixer-config": "^2.1.2", + "ergebnis/phpstan-rules": "~0.14.4", + "ergebnis/test-util": "~1.0.0", + "infection/infection": "~0.13.6", + "jangregor/phpstan-prophecy": "~0.6.2", + "phpstan/extension-installer": "^1.0.4", + "phpstan/phpstan": "~0.12.18", + "phpstan/phpstan-deprecation-rules": "~0.12.2", + "phpstan/phpstan-phpunit": "~0.12.8", + "phpstan/phpstan-strict-rules": "~0.12.2", + "phpunit/phpunit": "^7.5.20", + "psalm/plugin-phpunit": "~0.10.0", + "vimeo/psalm": "^3.11.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ergebnis\\Json\\Normalizer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", + "homepage": "https://github.com/ergebnis/json-normalizer", + "keywords": [ + "json", + "normalizer" + ], + "time": "2020-04-19T12:30:41+00:00" + }, + { + "name": "ergebnis/json-printer", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/ergebnis/json-printer.git", + "reference": "776a5c85ce3c67d97c6af08a67c917adbdb4758e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/776a5c85ce3c67d97c6af08a67c917adbdb4758e", + "reference": "776a5c85ce3c67d97c6af08a67c917adbdb4758e", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "ergebnis/license": "~1.0.0", + "ergebnis/php-cs-fixer-config": "^2.2.1", + "ergebnis/phpstan-rules": "~0.15.0", + "ergebnis/test-util": "~1.0.0", + "infection/infection": "~0.13.6", + "phpstan/extension-installer": "^1.0.4", + "phpstan/phpstan": "~0.12.32", + "phpstan/phpstan-deprecation-rules": "~0.12.4", + "phpstan/phpstan-phpunit": "~0.12.11", + "phpstan/phpstan-strict-rules": "~0.12.2", + "phpunit/phpunit": "^7.5.20", + "psalm/plugin-phpunit": "~0.10.1", + "vimeo/psalm": "^3.12.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ergebnis\\Json\\Printer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "description": "Provides a JSON printer, allowing for flexible indentation.", + "homepage": "https://github.com/ergebnis/json-printer", + "keywords": [ + "formatter", + "json", + "printer" + ], + "time": "2020-07-04T17:09:39+00:00" + }, { "name": "gitonomy/gitlib", "version": "v1.1.0", @@ -2406,6 +2590,72 @@ ], "time": "2016-01-20T08:20:44+00:00" }, + { + "name": "justinrainbow/json-schema", + "version": "5.2.10", + "source": { + "type": "git", + "url": "https://github.com/justinrainbow/json-schema.git", + "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b", + "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", + "json-schema/json-schema-test-suite": "1.2.0", + "phpunit/phpunit": "^4.8.35" + }, + "bin": [ + "bin/validate-json" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "JsonSchema\\": "src/JsonSchema/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bruno Prieto Reis", + "email": "bruno.p.reis@gmail.com" + }, + { + "name": "Justin Rainbow", + "email": "justin.rainbow@gmail.com" + }, + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + }, + { + "name": "Robert Schönthal", + "email": "seroscho@googlemail.com" + } + ], + "description": "A library to validate a json schema.", + "homepage": "https://github.com/justinrainbow/json-schema", + "keywords": [ + "json", + "schema" + ], + "time": "2020-05-27T16:41:55+00:00" + }, { "name": "league/container", "version": "2.4.1", @@ -2471,6 +2721,57 @@ ], "time": "2017-05-10T09:20:27+00:00" }, + { + "name": "localheinz/diff", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/localheinz/diff.git", + "reference": "bd5661db4bbed26c6f25df8851fd9f4b424a356e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/localheinz/diff/zipball/bd5661db4bbed26c6f25df8851fd9f4b424a356e", + "reference": "bd5661db4bbed26c6f25df8851fd9f4b424a356e", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.5 || ^8.0", + "symfony/process": "^2 || ^3.3 || ^4" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Fork of sebastian/diff for use with ergebnis/composer-normalize", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "time": "2019-12-17T07:42:37+00:00" + }, { "name": "mockery/mockery", "version": "1.2.2", diff --git a/grumphp.yml b/grumphp.yml index 2a41a95..30f207b 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -7,6 +7,7 @@ parameters: yamllint: ~ composer: ~ securitychecker: ~ + composer_normalize: ~ phpcs: standard: PSR12 phpstan: