phpPackages.phpmd: use `buildComposerProject` builder

Changed files
+1255 -25
pkgs
development
php-packages
+1235
pkgs/development/php-packages/phpmd/composer.lock
···
+
{
+
"_readme": [
+
"This file locks the dependencies of your project to a known state",
+
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
+
"This file is @generated automatically"
+
],
+
"content-hash": "be6e60a56d4909a5b5673642a5aff4ff",
+
"packages": [
+
{
+
"name": "composer/pcre",
+
"version": "3.1.1",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/composer/pcre.git",
+
"reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9",
+
"reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9",
+
"shasum": ""
+
},
+
"require": {
+
"php": "^7.4 || ^8.0"
+
},
+
"require-dev": {
+
"phpstan/phpstan": "^1.3",
+
"phpstan/phpstan-strict-rules": "^1.1",
+
"symfony/phpunit-bridge": "^5"
+
},
+
"type": "library",
+
"extra": {
+
"branch-alias": {
+
"dev-main": "3.x-dev"
+
}
+
},
+
"autoload": {
+
"psr-4": {
+
"Composer\\Pcre\\": "src"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Jordi Boggiano",
+
"email": "j.boggiano@seld.be",
+
"homepage": "http://seld.be"
+
}
+
],
+
"description": "PCRE wrapping library that offers type-safe preg_* replacements.",
+
"keywords": [
+
"PCRE",
+
"preg",
+
"regex",
+
"regular expression"
+
],
+
"support": {
+
"issues": "https://github.com/composer/pcre/issues",
+
"source": "https://github.com/composer/pcre/tree/3.1.1"
+
},
+
"funding": [
+
{
+
"url": "https://packagist.com",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/composer",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
+
"type": "tidelift"
+
}
+
],
+
"time": "2023-10-11T07:11:09+00:00"
+
},
+
{
+
"name": "composer/xdebug-handler",
+
"version": "3.0.3",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/composer/xdebug-handler.git",
+
"reference": "ced299686f41dce890debac69273b47ffe98a40c"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c",
+
"reference": "ced299686f41dce890debac69273b47ffe98a40c",
+
"shasum": ""
+
},
+
"require": {
+
"composer/pcre": "^1 || ^2 || ^3",
+
"php": "^7.2.5 || ^8.0",
+
"psr/log": "^1 || ^2 || ^3"
+
},
+
"require-dev": {
+
"phpstan/phpstan": "^1.0",
+
"phpstan/phpstan-strict-rules": "^1.1",
+
"symfony/phpunit-bridge": "^6.0"
+
},
+
"type": "library",
+
"autoload": {
+
"psr-4": {
+
"Composer\\XdebugHandler\\": "src"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "John Stevenson",
+
"email": "john-stevenson@blueyonder.co.uk"
+
}
+
],
+
"description": "Restarts a process without Xdebug.",
+
"keywords": [
+
"Xdebug",
+
"performance"
+
],
+
"support": {
+
"irc": "irc://irc.freenode.org/composer",
+
"issues": "https://github.com/composer/xdebug-handler/issues",
+
"source": "https://github.com/composer/xdebug-handler/tree/3.0.3"
+
},
+
"funding": [
+
{
+
"url": "https://packagist.com",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/composer",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
+
"type": "tidelift"
+
}
+
],
+
"time": "2022-02-25T21:32:43+00:00"
+
},
+
{
+
"name": "pdepend/pdepend",
+
"version": "2.16.2",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/pdepend/pdepend.git",
+
"reference": "f942b208dc2a0868454d01b29f0c75bbcfc6ed58"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/pdepend/pdepend/zipball/f942b208dc2a0868454d01b29f0c75bbcfc6ed58",
+
"reference": "f942b208dc2a0868454d01b29f0c75bbcfc6ed58",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=5.3.7",
+
"symfony/config": "^2.3.0|^3|^4|^5|^6.0|^7.0",
+
"symfony/dependency-injection": "^2.3.0|^3|^4|^5|^6.0|^7.0",
+
"symfony/filesystem": "^2.3.0|^3|^4|^5|^6.0|^7.0",
+
"symfony/polyfill-mbstring": "^1.19"
+
},
+
"require-dev": {
+
"easy-doc/easy-doc": "0.0.0|^1.2.3",
+
"gregwar/rst": "^1.0",
+
"squizlabs/php_codesniffer": "^2.0.0"
+
},
+
"bin": [
+
"src/bin/pdepend"
+
],
+
"type": "library",
+
"extra": {
+
"branch-alias": {
+
"dev-master": "2.x-dev"
+
}
+
},
+
"autoload": {
+
"psr-4": {
+
"PDepend\\": "src/main/php/PDepend"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"BSD-3-Clause"
+
],
+
"description": "Official version of pdepend to be handled with Composer",
+
"keywords": [
+
"PHP Depend",
+
"PHP_Depend",
+
"dev",
+
"pdepend"
+
],
+
"support": {
+
"issues": "https://github.com/pdepend/pdepend/issues",
+
"source": "https://github.com/pdepend/pdepend/tree/2.16.2"
+
},
+
"funding": [
+
{
+
"url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend",
+
"type": "tidelift"
+
}
+
],
+
"time": "2023-12-17T18:09:59+00:00"
+
},
+
{
+
"name": "psr/container",
+
"version": "2.0.2",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/php-fig/container.git",
+
"reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963",
+
"reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=7.4.0"
+
},
+
"type": "library",
+
"extra": {
+
"branch-alias": {
+
"dev-master": "2.0.x-dev"
+
}
+
},
+
"autoload": {
+
"psr-4": {
+
"Psr\\Container\\": "src/"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "PHP-FIG",
+
"homepage": "https://www.php-fig.org/"
+
}
+
],
+
"description": "Common Container Interface (PHP FIG PSR-11)",
+
"homepage": "https://github.com/php-fig/container",
+
"keywords": [
+
"PSR-11",
+
"container",
+
"container-interface",
+
"container-interop",
+
"psr"
+
],
+
"support": {
+
"issues": "https://github.com/php-fig/container/issues",
+
"source": "https://github.com/php-fig/container/tree/2.0.2"
+
},
+
"time": "2021-11-05T16:47:00+00:00"
+
},
+
{
+
"name": "psr/log",
+
"version": "3.0.0",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/php-fig/log.git",
+
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
+
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=8.0.0"
+
},
+
"type": "library",
+
"extra": {
+
"branch-alias": {
+
"dev-master": "3.x-dev"
+
}
+
},
+
"autoload": {
+
"psr-4": {
+
"Psr\\Log\\": "src"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "PHP-FIG",
+
"homepage": "https://www.php-fig.org/"
+
}
+
],
+
"description": "Common interface for logging libraries",
+
"homepage": "https://github.com/php-fig/log",
+
"keywords": [
+
"log",
+
"psr",
+
"psr-3"
+
],
+
"support": {
+
"source": "https://github.com/php-fig/log/tree/3.0.0"
+
},
+
"time": "2021-07-14T16:46:02+00:00"
+
},
+
{
+
"name": "symfony/config",
+
"version": "v6.4.3",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/symfony/config.git",
+
"reference": "206482ff3ed450495b1d5b7bad1bc3a852def96f"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/symfony/config/zipball/206482ff3ed450495b1d5b7bad1bc3a852def96f",
+
"reference": "206482ff3ed450495b1d5b7bad1bc3a852def96f",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=8.1",
+
"symfony/deprecation-contracts": "^2.5|^3",
+
"symfony/filesystem": "^5.4|^6.0|^7.0",
+
"symfony/polyfill-ctype": "~1.8"
+
},
+
"conflict": {
+
"symfony/finder": "<5.4",
+
"symfony/service-contracts": "<2.5"
+
},
+
"require-dev": {
+
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
+
"symfony/finder": "^5.4|^6.0|^7.0",
+
"symfony/messenger": "^5.4|^6.0|^7.0",
+
"symfony/service-contracts": "^2.5|^3",
+
"symfony/yaml": "^5.4|^6.0|^7.0"
+
},
+
"type": "library",
+
"autoload": {
+
"psr-4": {
+
"Symfony\\Component\\Config\\": ""
+
},
+
"exclude-from-classmap": [
+
"/Tests/"
+
]
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Fabien Potencier",
+
"email": "fabien@symfony.com"
+
},
+
{
+
"name": "Symfony Community",
+
"homepage": "https://symfony.com/contributors"
+
}
+
],
+
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
+
"homepage": "https://symfony.com",
+
"support": {
+
"source": "https://github.com/symfony/config/tree/v6.4.3"
+
},
+
"funding": [
+
{
+
"url": "https://symfony.com/sponsor",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/fabpot",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+
"type": "tidelift"
+
}
+
],
+
"time": "2024-01-29T13:26:27+00:00"
+
},
+
{
+
"name": "symfony/dependency-injection",
+
"version": "v6.4.3",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/symfony/dependency-injection.git",
+
"reference": "6871811c5a5c5e180244ddb689746446db02c05b"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/6871811c5a5c5e180244ddb689746446db02c05b",
+
"reference": "6871811c5a5c5e180244ddb689746446db02c05b",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=8.1",
+
"psr/container": "^1.1|^2.0",
+
"symfony/deprecation-contracts": "^2.5|^3",
+
"symfony/service-contracts": "^2.5|^3.0",
+
"symfony/var-exporter": "^6.2.10|^7.0"
+
},
+
"conflict": {
+
"ext-psr": "<1.1|>=2",
+
"symfony/config": "<6.1",
+
"symfony/finder": "<5.4",
+
"symfony/proxy-manager-bridge": "<6.3",
+
"symfony/yaml": "<5.4"
+
},
+
"provide": {
+
"psr/container-implementation": "1.1|2.0",
+
"symfony/service-implementation": "1.1|2.0|3.0"
+
},
+
"require-dev": {
+
"symfony/config": "^6.1|^7.0",
+
"symfony/expression-language": "^5.4|^6.0|^7.0",
+
"symfony/yaml": "^5.4|^6.0|^7.0"
+
},
+
"type": "library",
+
"autoload": {
+
"psr-4": {
+
"Symfony\\Component\\DependencyInjection\\": ""
+
},
+
"exclude-from-classmap": [
+
"/Tests/"
+
]
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Fabien Potencier",
+
"email": "fabien@symfony.com"
+
},
+
{
+
"name": "Symfony Community",
+
"homepage": "https://symfony.com/contributors"
+
}
+
],
+
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
+
"homepage": "https://symfony.com",
+
"support": {
+
"source": "https://github.com/symfony/dependency-injection/tree/v6.4.3"
+
},
+
"funding": [
+
{
+
"url": "https://symfony.com/sponsor",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/fabpot",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+
"type": "tidelift"
+
}
+
],
+
"time": "2024-01-30T08:32:12+00:00"
+
},
+
{
+
"name": "symfony/deprecation-contracts",
+
"version": "v3.4.0",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/symfony/deprecation-contracts.git",
+
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf",
+
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=8.1"
+
},
+
"type": "library",
+
"extra": {
+
"branch-alias": {
+
"dev-main": "3.4-dev"
+
},
+
"thanks": {
+
"name": "symfony/contracts",
+
"url": "https://github.com/symfony/contracts"
+
}
+
},
+
"autoload": {
+
"files": [
+
"function.php"
+
]
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Nicolas Grekas",
+
"email": "p@tchwork.com"
+
},
+
{
+
"name": "Symfony Community",
+
"homepage": "https://symfony.com/contributors"
+
}
+
],
+
"description": "A generic function and convention to trigger deprecation notices",
+
"homepage": "https://symfony.com",
+
"support": {
+
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0"
+
},
+
"funding": [
+
{
+
"url": "https://symfony.com/sponsor",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/fabpot",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+
"type": "tidelift"
+
}
+
],
+
"time": "2023-05-23T14:45:45+00:00"
+
},
+
{
+
"name": "symfony/filesystem",
+
"version": "v6.4.3",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/symfony/filesystem.git",
+
"reference": "7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/symfony/filesystem/zipball/7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb",
+
"reference": "7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=8.1",
+
"symfony/polyfill-ctype": "~1.8",
+
"symfony/polyfill-mbstring": "~1.8"
+
},
+
"type": "library",
+
"autoload": {
+
"psr-4": {
+
"Symfony\\Component\\Filesystem\\": ""
+
},
+
"exclude-from-classmap": [
+
"/Tests/"
+
]
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Fabien Potencier",
+
"email": "fabien@symfony.com"
+
},
+
{
+
"name": "Symfony Community",
+
"homepage": "https://symfony.com/contributors"
+
}
+
],
+
"description": "Provides basic utilities for the filesystem",
+
"homepage": "https://symfony.com",
+
"support": {
+
"source": "https://github.com/symfony/filesystem/tree/v6.4.3"
+
},
+
"funding": [
+
{
+
"url": "https://symfony.com/sponsor",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/fabpot",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+
"type": "tidelift"
+
}
+
],
+
"time": "2024-01-23T14:51:35+00:00"
+
},
+
{
+
"name": "symfony/polyfill-ctype",
+
"version": "v1.29.0",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/symfony/polyfill-ctype.git",
+
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4",
+
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=7.1"
+
},
+
"provide": {
+
"ext-ctype": "*"
+
},
+
"suggest": {
+
"ext-ctype": "For best performance"
+
},
+
"type": "library",
+
"extra": {
+
"thanks": {
+
"name": "symfony/polyfill",
+
"url": "https://github.com/symfony/polyfill"
+
}
+
},
+
"autoload": {
+
"files": [
+
"bootstrap.php"
+
],
+
"psr-4": {
+
"Symfony\\Polyfill\\Ctype\\": ""
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Gert de Pagter",
+
"email": "BackEndTea@gmail.com"
+
},
+
{
+
"name": "Symfony Community",
+
"homepage": "https://symfony.com/contributors"
+
}
+
],
+
"description": "Symfony polyfill for ctype functions",
+
"homepage": "https://symfony.com",
+
"keywords": [
+
"compatibility",
+
"ctype",
+
"polyfill",
+
"portable"
+
],
+
"support": {
+
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0"
+
},
+
"funding": [
+
{
+
"url": "https://symfony.com/sponsor",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/fabpot",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+
"type": "tidelift"
+
}
+
],
+
"time": "2024-01-29T20:11:03+00:00"
+
},
+
{
+
"name": "symfony/polyfill-mbstring",
+
"version": "v1.29.0",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/symfony/polyfill-mbstring.git",
+
"reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
+
"reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=7.1"
+
},
+
"provide": {
+
"ext-mbstring": "*"
+
},
+
"suggest": {
+
"ext-mbstring": "For best performance"
+
},
+
"type": "library",
+
"extra": {
+
"thanks": {
+
"name": "symfony/polyfill",
+
"url": "https://github.com/symfony/polyfill"
+
}
+
},
+
"autoload": {
+
"files": [
+
"bootstrap.php"
+
],
+
"psr-4": {
+
"Symfony\\Polyfill\\Mbstring\\": ""
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Nicolas Grekas",
+
"email": "p@tchwork.com"
+
},
+
{
+
"name": "Symfony Community",
+
"homepage": "https://symfony.com/contributors"
+
}
+
],
+
"description": "Symfony polyfill for the Mbstring extension",
+
"homepage": "https://symfony.com",
+
"keywords": [
+
"compatibility",
+
"mbstring",
+
"polyfill",
+
"portable",
+
"shim"
+
],
+
"support": {
+
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0"
+
},
+
"funding": [
+
{
+
"url": "https://symfony.com/sponsor",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/fabpot",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+
"type": "tidelift"
+
}
+
],
+
"time": "2024-01-29T20:11:03+00:00"
+
},
+
{
+
"name": "symfony/service-contracts",
+
"version": "v3.4.1",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/symfony/service-contracts.git",
+
"reference": "fe07cbc8d837f60caf7018068e350cc5163681a0"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0",
+
"reference": "fe07cbc8d837f60caf7018068e350cc5163681a0",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=8.1",
+
"psr/container": "^1.1|^2.0"
+
},
+
"conflict": {
+
"ext-psr": "<1.1|>=2"
+
},
+
"type": "library",
+
"extra": {
+
"branch-alias": {
+
"dev-main": "3.4-dev"
+
},
+
"thanks": {
+
"name": "symfony/contracts",
+
"url": "https://github.com/symfony/contracts"
+
}
+
},
+
"autoload": {
+
"psr-4": {
+
"Symfony\\Contracts\\Service\\": ""
+
},
+
"exclude-from-classmap": [
+
"/Test/"
+
]
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Nicolas Grekas",
+
"email": "p@tchwork.com"
+
},
+
{
+
"name": "Symfony Community",
+
"homepage": "https://symfony.com/contributors"
+
}
+
],
+
"description": "Generic abstractions related to writing services",
+
"homepage": "https://symfony.com",
+
"keywords": [
+
"abstractions",
+
"contracts",
+
"decoupling",
+
"interfaces",
+
"interoperability",
+
"standards"
+
],
+
"support": {
+
"source": "https://github.com/symfony/service-contracts/tree/v3.4.1"
+
},
+
"funding": [
+
{
+
"url": "https://symfony.com/sponsor",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/fabpot",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+
"type": "tidelift"
+
}
+
],
+
"time": "2023-12-26T14:02:43+00:00"
+
},
+
{
+
"name": "symfony/var-exporter",
+
"version": "v6.4.3",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/symfony/var-exporter.git",
+
"reference": "a8c12b5448a5ac685347f5eeb2abf6a571ec16b8"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/a8c12b5448a5ac685347f5eeb2abf6a571ec16b8",
+
"reference": "a8c12b5448a5ac685347f5eeb2abf6a571ec16b8",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=8.1",
+
"symfony/deprecation-contracts": "^2.5|^3"
+
},
+
"require-dev": {
+
"symfony/var-dumper": "^5.4|^6.0|^7.0"
+
},
+
"type": "library",
+
"autoload": {
+
"psr-4": {
+
"Symfony\\Component\\VarExporter\\": ""
+
},
+
"exclude-from-classmap": [
+
"/Tests/"
+
]
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Nicolas Grekas",
+
"email": "p@tchwork.com"
+
},
+
{
+
"name": "Symfony Community",
+
"homepage": "https://symfony.com/contributors"
+
}
+
],
+
"description": "Allows exporting any serializable PHP data structure to plain PHP code",
+
"homepage": "https://symfony.com",
+
"keywords": [
+
"clone",
+
"construct",
+
"export",
+
"hydrate",
+
"instantiate",
+
"lazy-loading",
+
"proxy",
+
"serialize"
+
],
+
"support": {
+
"source": "https://github.com/symfony/var-exporter/tree/v6.4.3"
+
},
+
"funding": [
+
{
+
"url": "https://symfony.com/sponsor",
+
"type": "custom"
+
},
+
{
+
"url": "https://github.com/fabpot",
+
"type": "github"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+
"type": "tidelift"
+
}
+
],
+
"time": "2024-01-23T14:51:35+00:00"
+
}
+
],
+
"packages-dev": [
+
{
+
"name": "easy-doc/easy-doc",
+
"version": "1.4.1",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/kylekatarnls/php-easy-doc.git",
+
"reference": "194433f262ca2ba65089e095b574b7b81891f27b"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/kylekatarnls/php-easy-doc/zipball/194433f262ca2ba65089e095b574b7b81891f27b",
+
"reference": "194433f262ca2ba65089e095b574b7b81891f27b",
+
"shasum": ""
+
},
+
"require": {
+
"php": "^7.1 || ^8.0",
+
"simple-cli/simple-cli": "^1.4.1"
+
},
+
"require-dev": {
+
"erusev/parsedown": "^1.7",
+
"phpunit/phpunit": "^7.5.18",
+
"symfony/process": "^4.4 || ^5.0"
+
},
+
"bin": [
+
"bin/easy-doc"
+
],
+
"type": "library",
+
"autoload": {
+
"psr-4": {
+
"EasyDoc\\": "src/EasyDoc/"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "KyleK",
+
"email": "kylekatarnls@gmail.com"
+
}
+
],
+
"description": "An easy way to generate a static website from HTML/Markdown/RST/Pug/anything sources",
+
"support": {
+
"issues": "https://github.com/kylekatarnls/php-easy-doc/issues",
+
"source": "https://github.com/kylekatarnls/php-easy-doc/tree/master"
+
},
+
"funding": [
+
{
+
"url": "https://github.com/kylekatarnls",
+
"type": "github"
+
},
+
{
+
"url": "https://opencollective.com/Carbon",
+
"type": "open_collective"
+
},
+
{
+
"url": "https://tidelift.com/funding/github/packagist/nesbot/carbon",
+
"type": "tidelift"
+
}
+
],
+
"time": "2020-05-24T10:15:11+00:00"
+
},
+
{
+
"name": "gregwar/rst",
+
"version": "v1.0.6",
+
"target-dir": "Gregwar/RST",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/Gregwar/RST.git",
+
"reference": "93c630ae18c47d8f7503230fa6ca39a79ad3c598"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/Gregwar/RST/zipball/93c630ae18c47d8f7503230fa6ca39a79ad3c598",
+
"reference": "93c630ae18c47d8f7503230fa6ca39a79ad3c598",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=5.3.0",
+
"symfony/polyfill-mbstring": "^1.12"
+
},
+
"require-dev": {
+
"phpunit/phpunit": "^6.4"
+
},
+
"type": "library",
+
"autoload": {
+
"psr-0": {
+
"Gregwar\\RST": ""
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "Grégoire Passault",
+
"email": "g.passault@gmail.com",
+
"homepage": "http://www.gregwar.com/"
+
}
+
],
+
"description": "PHP library to parse reStructuredText documents",
+
"homepage": "https://github.com/Gregwar/RST",
+
"keywords": [
+
"markup",
+
"parser",
+
"rst"
+
],
+
"support": {
+
"issues": "https://github.com/Gregwar/RST/issues",
+
"source": "https://github.com/Gregwar/RST/tree/v1.0.6"
+
},
+
"time": "2020-04-09T08:09:05+00:00"
+
},
+
{
+
"name": "mikey179/vfsstream",
+
"version": "v1.6.11",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/bovigo/vfsStream.git",
+
"reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/bovigo/vfsStream/zipball/17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f",
+
"reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f",
+
"shasum": ""
+
},
+
"require": {
+
"php": ">=5.3.0"
+
},
+
"require-dev": {
+
"phpunit/phpunit": "^4.5|^5.0"
+
},
+
"type": "library",
+
"extra": {
+
"branch-alias": {
+
"dev-master": "1.6.x-dev"
+
}
+
},
+
"autoload": {
+
"psr-0": {
+
"org\\bovigo\\vfs\\": "src/main/php"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"BSD-3-Clause"
+
],
+
"authors": [
+
{
+
"name": "Frank Kleine",
+
"homepage": "http://frankkleine.de/",
+
"role": "Developer"
+
}
+
],
+
"description": "Virtual file system to mock the real file system in unit tests.",
+
"homepage": "http://vfs.bovigo.org/",
+
"support": {
+
"issues": "https://github.com/bovigo/vfsStream/issues",
+
"source": "https://github.com/bovigo/vfsStream/tree/master",
+
"wiki": "https://github.com/bovigo/vfsStream/wiki"
+
},
+
"time": "2022-02-23T02:02:42+00:00"
+
},
+
{
+
"name": "simple-cli/simple-cli",
+
"version": "1.6.0",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/kylekatarnls/simple-cli.git",
+
"reference": "47055c9a172ab032e33a498001d2978c9800fd59"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/kylekatarnls/simple-cli/zipball/47055c9a172ab032e33a498001d2978c9800fd59",
+
"reference": "47055c9a172ab032e33a498001d2978c9800fd59",
+
"shasum": ""
+
},
+
"require": {
+
"php": "^7.1 || ^8.0"
+
},
+
"require-dev": {
+
"friendsofphp/php-cs-fixer": "^2.15.0",
+
"phan/phan": "^2.3",
+
"phpmd/phpmd": "dev-master",
+
"phpstan/phpstan": "^0.12",
+
"phpunit/phpunit": "^7",
+
"squizlabs/php_codesniffer": "^3.0",
+
"vimeo/psalm": "^3.6"
+
},
+
"bin": [
+
"bin/simple-cli"
+
],
+
"type": "library",
+
"autoload": {
+
"psr-4": {
+
"SimpleCli\\": "src/SimpleCli/"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"MIT"
+
],
+
"authors": [
+
{
+
"name": "KyleK",
+
"email": "kylekatarnls@gmail.com"
+
}
+
],
+
"description": "A simple command line framework",
+
"support": {
+
"issues": "https://github.com/kylekatarnls/simple-cli/issues",
+
"source": "https://github.com/kylekatarnls/simple-cli/tree/1.6.0"
+
},
+
"funding": [
+
{
+
"url": "https://tidelift.com/funding/github/packagist/simple-cli/simple-cli",
+
"type": "tidelift"
+
}
+
],
+
"time": "2020-11-18T22:40:00+00:00"
+
},
+
{
+
"name": "squizlabs/php_codesniffer",
+
"version": "3.9.0",
+
"source": {
+
"type": "git",
+
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
+
"reference": "d63cee4890a8afaf86a22e51ad4d97c91dd4579b"
+
},
+
"dist": {
+
"type": "zip",
+
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/d63cee4890a8afaf86a22e51ad4d97c91dd4579b",
+
"reference": "d63cee4890a8afaf86a22e51ad4d97c91dd4579b",
+
"shasum": ""
+
},
+
"require": {
+
"ext-simplexml": "*",
+
"ext-tokenizer": "*",
+
"ext-xmlwriter": "*",
+
"php": ">=5.4.0"
+
},
+
"require-dev": {
+
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
+
},
+
"bin": [
+
"bin/phpcbf",
+
"bin/phpcs"
+
],
+
"type": "library",
+
"extra": {
+
"branch-alias": {
+
"dev-master": "3.x-dev"
+
}
+
},
+
"notification-url": "https://packagist.org/downloads/",
+
"license": [
+
"BSD-3-Clause"
+
],
+
"authors": [
+
{
+
"name": "Greg Sherwood",
+
"role": "Former lead"
+
},
+
{
+
"name": "Juliette Reinders Folmer",
+
"role": "Current lead"
+
},
+
{
+
"name": "Contributors",
+
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
+
}
+
],
+
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
+
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
+
"keywords": [
+
"phpcs",
+
"standards",
+
"static analysis"
+
],
+
"support": {
+
"issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
+
"security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
+
"source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
+
"wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
+
},
+
"funding": [
+
{
+
"url": "https://github.com/PHPCSStandards",
+
"type": "github"
+
},
+
{
+
"url": "https://github.com/jrfnl",
+
"type": "github"
+
},
+
{
+
"url": "https://opencollective.com/php_codesniffer",
+
"type": "open_collective"
+
}
+
],
+
"time": "2024-02-16T15:06:51+00:00"
+
}
+
],
+
"aliases": [],
+
"minimum-stability": "stable",
+
"stability-flags": [],
+
"prefer-stable": false,
+
"prefer-lowest": false,
+
"platform": {
+
"php": ">=5.3.9",
+
"ext-xml": "*"
+
},
+
"platform-dev": {
+
"ext-simplexml": "*",
+
"ext-json": "*"
+
},
+
"plugin-api-version": "2.6.0"
+
}
+20 -25
pkgs/development/php-packages/phpmd/default.nix
···
-
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
+
{ lib
+
, fetchFromGitHub
+
, php
+
}:
-
let
+
php.buildComposerProject (finalAttrs: {
pname = "phpmd";
version = "2.15.0";
-
in
-
mkDerivation {
-
inherit pname version;
-
src = fetchurl {
-
url = "https://github.com/phpmd/phpmd/releases/download/${version}/phpmd.phar";
-
sha256 = "sha256-aijvVd4MdTsHDR0VgLsIoNFGAW+J8O3c72CsT8EINUQ=";
+
src = fetchFromGitHub {
+
owner = "phpmd";
+
repo = "phpmd";
+
rev = finalAttrs.version;
+
hash = "sha256-nTuJGzOZnkqrfE9R9Vujz/zGJRLlj8+yRZmmnxWrieQ=";
};
-
dontUnpack = true;
+
# Missing `composer.lock` from the repository.
+
# Issue open at https://github.com/phpmd/phpmd/issues/1056
+
composerLock = ./composer.lock;
+
vendorHash = "sha256-vr0wQkfhXHLEz8Q5nEq5Bocu1U1nDhXUlaHBsysvuRQ=";
-
nativeBuildInputs = [ makeWrapper ];
-
-
installPhase = ''
-
runHook preInstall
-
mkdir -p $out/bin
-
install -D $src $out/libexec/phpmd/phpmd.phar
-
makeWrapper ${php}/bin/php $out/bin/phpmd \
-
--add-flags "$out/libexec/phpmd/phpmd.phar"
-
runHook postInstall
-
'';
-
-
meta = with lib; {
-
changelog = "https://github.com/phpmd/phpmd/releases/tag/${version}";
+
meta = {
+
changelog = "https://github.com/phpmd/phpmd/releases/tag/${finalAttrs.version}";
description = "PHP code quality analyzer";
-
license = licenses.bsd3;
homepage = "https://phpmd.org/";
-
maintainers = teams.php.members;
+
license = lib.licenses.bsd3;
+
mainProgram = "phpmd";
+
maintainers = lib.teams.php.members;
};
-
}
+
})