wikimedia/mediawiki-extensions-Wikibase

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "wikibase/wikibase",
    "type": "mediawiki-extension",
    "description": "Structured data repository for MediaWiki",
    "keywords": [
        "wikibase",
        "wikidata",
        "wikibaselib",
        "wikibaseclient",
        "wikibaserepo"
    ],
    "homepage": "https://wikiba.se",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "The Wikidata team"
        }
    ],
    "support": {
        "issues": "https://phabricator.wikimedia.org/",
        "irc": "irc://irc.libera.chat/wikidata"
    },
    "require": {
        "php": ">=7.4.3",
        "composer/installers": "^1.0.1",
        "data-values/data-values": "^3.1.0",
        "data-values/common": "^1.1.0",
        "data-values/geo": "^4.4.0",
        "data-values/interfaces": "^1.0.0",
        "data-values/number": "^0.12.3",
        "data-values/time": "^1.1.2",
        "data-values/serialization": "^1.2.5",
        "monolog/monolog": "^2.0.0",
        "diff/diff": "^3.2.0",
        "wikimedia/at-ease": "^2.0.0 || ^3.0.0",
        "wikimedia/purtle": "^1.0.7",
        "wikimedia/timestamp": "^4.1.0",
        "psr/simple-cache": "^1.0.1",
        "psr/log": "^1.1.3",
        "psr/http-message": "^1.0.1",
        "onoi/message-reporter": "~1.4",
        "swaggest/json-diff": "^3.11.0"
    },
    "require-dev": {
        "mediawiki/mediawiki-codesniffer": "44.0.0",
        "mediawiki/mediawiki-phan-config": "0.14.0",
        "mediawiki/minus-x": "1.1.3",
        "php-parallel-lint/php-console-highlighter": "1.0.0",
        "php-parallel-lint/php-parallel-lint": "1.4.0",
        "phpat/phpat": "^0.10.14",
        "phpstan/phpstan": "^1.9",
        "slevomat/coding-standard": "^6.4"
    },
    "suggest": {
        "ext-calendar": "Needed for dumpRdf script"
    },
    "scripts": {
        "lint": "parallel-lint . --exclude vendor --exclude node_modules --exclude .git --exclude lib/packages/*/*/vendor",
        "phpcs": "phpcs -p -s --cache",
        "phpcs:rest-api": "phpcs -p -s --standard=./repo/rest-api/ruleset.xml repo/rest-api/",
        "phpcs-modified": "bash build/phpcsGitModified.sh",
        "phpcs-committed": "bash build/phpcsGitCommitted.sh",
        "fix": [
            "minus-x fix .",
            "phpcbf --standard=./repo/rest-api/ruleset.xml repo/rest-api/",
            "phpcbf"
        ],
        "fix-modified": "bash build/phpcbfGitModified.sh",
        "fix-committed": "bash build/phpcbfGitCommitted.sh",
        "phan": "phan -d . --long-progress-bar --allow-polyfill-parser",
        "phpstan": "bash build/runPhpstanUnlessMissingDeps.sh",
        "test": [
            "composer validate --no-interaction",
            "composer lint",
            "composer phpcs",
            "composer phpcs:rest-api",
            "composer phpstan",
            "minus-x check ."
        ],
        "doxygen-docker": "bash build/doxygen-docker.sh"
    },
    "config": {
        "process-timeout": 600,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "composer/installers": false
        }
    }
}