fix: move composer.json out of root to avoid confusion (#9819)

* move composer.json out of root to avoid confusion

* fix: update php deployed json
pull/9820/head
Brent Shaffer 3 years ago committed by GitHub
parent 653de45a21
commit 6387f95aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      php/composer.json.dist
  2. 2
      php/release.sh

@ -6,10 +6,10 @@
"homepage": "https://developers.google.com/protocol-buffers/",
"license": "BSD-3-Clause",
"require": {
"php": ">=5.5.0"
"php": ">=7.0.0"
},
"require-dev": {
"phpunit/phpunit": ">=4.8.0"
"phpunit/phpunit": ">=5.0.0"
},
"suggest": {
"ext-bcmath": "Need to support JSON deserialization"

@ -26,7 +26,7 @@ popd
# Copy files
pushd protobuf-php
mv ../protobuf/php/src src
mv ../protobuf/composer.json composer.json
mv ../protobuf/php/composer.json.dist composer.json
sed -i 's|php/src|src|g' composer.json
git add .
git commit -m "$VERSION"

Loading…
Cancel
Save