-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add case for
composer.lock
where version
is a number
- Loading branch information
Showing
2 changed files
with
209 additions
and
0 deletions.
There are no files selected for viewing
183 changes: 183 additions & 0 deletions
183
pkg/lockfile/fixtures/composer/with-number-version.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
{ | ||
"_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": "035277326fc4da8f74a4f00bb10a888a", | ||
"packages": [ | ||
{ | ||
"name": "composer/installers", | ||
"version": "v2.3.0", | ||
"source": { | ||
"type": "git", | ||
"url": "https://github.com/composer/installers.git", | ||
"reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e" | ||
}, | ||
"dist": { | ||
"type": "zip", | ||
"url": "https://api.github.com/repos/composer/installers/zipball/12fb2dfe5e16183de69e784a7b84046c43d97e8e", | ||
"reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e", | ||
"shasum": "" | ||
}, | ||
"require": { | ||
"composer-plugin-api": "^1.0 || ^2.0", | ||
"php": "^7.2 || ^8.0" | ||
}, | ||
"require-dev": { | ||
"composer/composer": "^1.10.27 || ^2.7", | ||
"composer/semver": "^1.7.2 || ^3.4.0", | ||
"phpstan/phpstan": "^1.11", | ||
"phpstan/phpstan-phpunit": "^1", | ||
"symfony/phpunit-bridge": "^7.1.1", | ||
"symfony/process": "^5 || ^6 || ^7" | ||
}, | ||
"type": "composer-plugin", | ||
"extra": { | ||
"class": "Composer\\Installers\\Plugin", | ||
"branch-alias": { | ||
"dev-main": "2.x-dev" | ||
}, | ||
"plugin-modifies-install-path": true | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Composer\\Installers\\": "src/Composer/Installers" | ||
} | ||
}, | ||
"notification-url": "https://packagist.org/downloads/", | ||
"license": [ | ||
"MIT" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Kyle Robinson Young", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/shama" | ||
} | ||
], | ||
"description": "A multi-framework Composer library installer", | ||
"homepage": "https://composer.github.io/installers/", | ||
"keywords": [ | ||
"Dolibarr", | ||
"Eliasis", | ||
"Hurad", | ||
"ImageCMS", | ||
"Kanboard", | ||
"Lan Management System", | ||
"MODX Evo", | ||
"MantisBT", | ||
"Mautic", | ||
"Maya", | ||
"OXID", | ||
"Plentymarkets", | ||
"Porto", | ||
"RadPHP", | ||
"SMF", | ||
"Starbug", | ||
"Thelia", | ||
"Whmcs", | ||
"WolfCMS", | ||
"agl", | ||
"annotatecms", | ||
"attogram", | ||
"bitrix", | ||
"cakephp", | ||
"chef", | ||
"cockpit", | ||
"codeigniter", | ||
"concrete5", | ||
"concreteCMS", | ||
"croogo", | ||
"dokuwiki", | ||
"drupal", | ||
"eZ Platform", | ||
"elgg", | ||
"expressionengine", | ||
"fuelphp", | ||
"grav", | ||
"installer", | ||
"itop", | ||
"known", | ||
"kohana", | ||
"laravel", | ||
"lavalite", | ||
"lithium", | ||
"magento", | ||
"majima", | ||
"mako", | ||
"matomo", | ||
"mediawiki", | ||
"miaoxing", | ||
"modulework", | ||
"modx", | ||
"moodle", | ||
"osclass", | ||
"pantheon", | ||
"phpbb", | ||
"piwik", | ||
"ppi", | ||
"processwire", | ||
"puppet", | ||
"pxcms", | ||
"reindex", | ||
"roundcube", | ||
"shopware", | ||
"silverstripe", | ||
"sydes", | ||
"sylius", | ||
"tastyigniter", | ||
"wordpress", | ||
"yawik", | ||
"zend", | ||
"zikula" | ||
], | ||
"support": { | ||
"issues": "https://github.com/composer/installers/issues", | ||
"source": "https://github.com/composer/installers/tree/v2.3.0" | ||
}, | ||
"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": "2024-06-24T20:46:46+00:00" | ||
}, | ||
{ | ||
"name": "wpackagist-plugin/block-bad-queries", | ||
"version": 20190220, | ||
"source": { | ||
"type": "svn", | ||
"url": "https://plugins.svn.wordpress.org/block-bad-queries/", | ||
"reference": "tags/20190220" | ||
}, | ||
"dist": { | ||
"type": "zip", | ||
"url": "https://downloads.wordpress.org/plugin/block-bad-queries.20190220.zip" | ||
}, | ||
"require": { | ||
"composer/installers": "^1.0 || ^2.0" | ||
}, | ||
"type": "wordpress-plugin", | ||
"homepage": "https://wordpress.org/plugins/block-bad-queries/" | ||
} | ||
], | ||
"packages-dev": [], | ||
"aliases": [], | ||
"minimum-stability": "stable", | ||
"stability-flags": [], | ||
"prefer-stable": false, | ||
"prefer-lowest": false, | ||
"platform": [], | ||
"platform-dev": [], | ||
"plugin-api-version": "2.6.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters