From 70a7652db2589c4410f1ed726209f3912842ce74 Mon Sep 17 00:00:00 2001 From: Julien Rosset Date: Fri, 23 Sep 2022 12:05:22 +0200 Subject: [PATCH] Ignore composer.lock + Normalize line returns --- .gitignore | 5 +++-- composer.json | 2 +- composer.lock | 62 --------------------------------------------------- 3 files changed, 4 insertions(+), 65 deletions(-) delete mode 100644 composer.lock diff --git a/.gitignore b/.gitignore index e0caea8..3deac50 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -.idea/ -vendor/ \ No newline at end of file +.idea/ +vendor/ +composer.lock \ No newline at end of file diff --git a/composer.json b/composer.json index 75a2f4a..64127ce 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "minimum-stability": "stable", "require": { - "php": "~7.4 || ~8.0", + "php": "^7.4 || ^8.0", "jrosset/singleton": "^1.0" }, "autoload": { diff --git a/composer.lock b/composer.lock deleted file mode 100644 index e596821..0000000 --- a/composer.lock +++ /dev/null @@ -1,62 +0,0 @@ -{ - "_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": "2f92e58b7bd7a162f29ef03fe018cec6", - "packages": [ - { - "name": "jrosset/singleton", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://git.jrosset.ovh/jrosset/PhpSingleton", - "reference": "0fccc3b4b1c46e42656e84e264555e57bf2f27cd" - }, - "require": { - "php": "~7.4 || ~8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "jrosset\\": "src/" - }, - "exclude-from-classmap": [ - "tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "CC-BY-4.0" - ], - "authors": [ - { - "name": "Julien Rosset", - "email": "jul.rosset@gmail.com" - } - ], - "description": "PHP Trait to implements the singleton design pattern", - "homepage": "https://git.jrosset.ovh/jrosset/PhpSingleton", - "support": { - "docs": "https://git.jrosset.ovh/jrosset/PhpSingleton/wiki", - "email": "jul.rosset@gmail.com", - "issues": "https://git.jrosset.ovh/jrosset/PhpSingleton/issues", - "source": "https://git.jrosset.ovh/jrosset/PhpSingleton", - "wiki": "https://git.jrosset.ovh/jrosset/PhpSingleton/wiki" - }, - "time": "2021-09-03T10:57:30+00:00" - } - ], - "packages-dev": [ ], - "aliases": [ ], - "minimum-stability": "stable", - "stability-flags": [ ], - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": "~7.4 || ~8.0" - }, - "platform-dev": [ ], - "plugin-api-version": "2.1.0" -}