Manual:checkComposerLockUpToDate.php
Appearance
MediaWiki version: | ≥ 1.25 |
MediaWiki file: checkComposerLockUpToDate.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | CheckComposerLockUpToDate |
Details
[edit]checkComposerLockUpToDate.php file is a maintenance script to check whether your composer-installed dependencies are up to date.
Options
[edit]This script does not accept any options.
Usage
[edit]php maintenance/run.php checkComposerLockUpToDate
Terminal
$ php maintenance/run.php checkComposerLockUpToDate Could not find composer.lock file. Have you run "composer install --no-dev"? $ composer install --no-dev No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information. > ComposerHookHandler::onPreUpdate Loading composer repositories with package information Updating dependencies Lock file operations: 127 installs, 0 updates, 0 removals - Locking composer/package-versions-deprecated (1.11.99.4) - Locking composer/semver (3.2.5) - Locking composer/spdx-licenses (1.5.5) - Locking composer/xdebug-handler (2.0.2) - Locking cssjanus/cssjanus (v2.1.0) - Locking doctrine/cache (2.1.1) - Locking doctrine/dbal (3.1.3) - Locking doctrine/deprecations (v0.5.3) - Locking doctrine/event-manager (1.1.1) - Locking doctrine/instantiator (1.4.0) - Locking doctrine/sql-formatter (1.1.1) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking ralouphie/getallheaders (3.0.3) - Locking sabre/event (5.1.4) - Locking sebastian/code-unit-reverse-lookup (1.0.2) - Locking sebastian/comparator (3.0.3) - Locking sebastian/diff (3.0.3) - Locking sebastian/recursion-context (3.0.1) - Locking sebastian/resource-operations (2.0.2) - Locking sebastian/type (1.1.4) - Locking sebastian/version (2.0.1) - Locking seld/jsonlint (1.8.3) - Locking squizlabs/php_codesniffer (3.6.1) - Locking symfony/console (v5.4.0) - Locking symfony/deprecation-contracts (v2.5.0) - Locking symfony/polyfill-intl-grapheme (v1.23.1) - Locking symfony/polyfill-intl-normalizer (v1.23.0) - Locking symfony/string (v5.4.0) - Locking symfony/var-dumper (v5.4.0) - Locking symfony/yaml (v5.3.6) Installing dependencies from lock file Nothing to install, update or remove 35 package suggestions were added by new dependencies, use `composer suggest` to see details. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Generating optimized autoload files 8 packages you are using are looking for funding. Use the `composer fund` command to find out more! > ComposerVendorHtaccessCreator::onEvent $ php maintenance/checkComposerLockUpToDate.php Your composer.lock file is up to date with current dependencies!
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.