Move spyc to composer.json

This commit is contained in:
Abijeet
2020-02-01 00:14:01 +05:30
committed by Niklas Laxström
parent 8b0ca32167
commit e9a6c467f3
4 changed files with 56 additions and 1050 deletions

View File

@@ -27,7 +27,8 @@
],
"type": "library",
"require": {
"php": ">=7.2"
"php": ">=7.2",
"mustangostang/spyc": "0.6.3"
},
"require-dev": {
"phpunit/phpunit": "8.*",

55
composer.lock generated
View File

@@ -4,8 +4,59 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "5e730b1a893fb25934e8794d8c7bf706",
"packages": [],
"content-hash": "83f5a9197c9f038dc4545fa368714aef",
"packages": [
{
"name": "mustangostang/spyc",
"version": "0.6.3",
"source": {
"type": "git",
"url": "git@github.com:mustangostang/spyc.git",
"reference": "4627c838b16550b666d15aeae1e5289dd5b77da0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mustangostang/spyc/zipball/4627c838b16550b666d15aeae1e5289dd5b77da0",
"reference": "4627c838b16550b666d15aeae1e5289dd5b77da0",
"shasum": ""
},
"require": {
"php": ">=5.3.1"
},
"require-dev": {
"phpunit/phpunit": "4.3.*@dev"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "0.5.x-dev"
}
},
"autoload": {
"files": [
"Spyc.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "mustangostang",
"email": "vlad.andersen@gmail.com"
}
],
"description": "A simple YAML loader/dumper class for PHP",
"homepage": "https://github.com/mustangostang/spyc/",
"keywords": [
"spyc",
"yaml",
"yml"
],
"time": "2019-09-10T13:16:29+00:00"
}
],
"packages-dev": [
{
"name": "composer/semver",

File diff suppressed because it is too large Load Diff

View File

@@ -12,7 +12,7 @@
* @license GPL-2.0-or-later
*/
include __DIR__ . '/spyc.php';
require_once __DIR__ . '/../../vendor/autoload.php';
define( 'DATA_DIRECTORY', __DIR__ . '/../../data' );