From 73ab95ae61fa1d4539f5a38164cb63c8cb1fec8e Mon Sep 17 00:00:00 2001 From: Kay Wei Date: Thu, 14 Sep 2023 18:07:50 +0800 Subject: [PATCH] Standardized the composer file --- .gitignore | 1 + README.md | 4 +-- composer.json | 8 ++++-- composer.lock | 75 --------------------------------------------------- 4 files changed, 9 insertions(+), 79 deletions(-) delete mode 100644 composer.lock diff --git a/.gitignore b/.gitignore index 51c209e..442571b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # PHP Composer vendor file vendor +composer.lock # Node.JS node modules node_modules diff --git a/README.md b/README.md index 68f6656..a00f552 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ npm install --save @rightcapital/php-parser Supposed you have a PHP file named `hello.php` with the following content ```php - =7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": [ - "bin/php-parse" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" - }, - "time": "2023-08-13T19:53:39+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "2.6.0" -}