Skip to content

Commit fd2af17

Browse files
committed
Update to 3.0
1 parent 69d018a commit fd2af17

File tree

180 files changed

+1407
-9792
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+1407
-9792
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ composer.lock
66
/nbproject
77
/examples/nbproject
88
.idea/
9-
*.DS_Store
9+
*.DS_Store
10+
.vscode
11+
tests/.phpunit.result.cache

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
language: php
22
php:
3-
- 5.4
4-
- 5.5
5-
- 5.6
6-
- 7.0
73
- 7.1
84
- 7.2
95
- 7.3
6+
- 7.4
107

118
sudo: required
129

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2008-2018 http://hprose.com
3+
Copyright (c) 2008-2020 http://hprose.com
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
<p align="center"><img src="http://hprose.com/[email protected]" alt="Hprose" title="Hprose" width="650" height="200" /></p>
1+
<p align="center"><img src="https://hprose.com/[email protected]" alt="Hprose" title="Hprose" width="650" height="200" /></p>
22

3-
<a href="https://promisesaplus.com/">
4-
<img src="https://promisesaplus.com/assets/logo-small.png" alt="Promises/A+ logo" title="Promises/A+ 1.1 compliant" align="right" />
5-
</a>
6-
7-
# Hprose for PHP
3+
# Hprose 3.0 for PHP
84

95
[![Build Status](https://travis-ci.org/hprose/hprose-php.svg?branch=master)](https://travis-ci.org/hprose/hprose-php)
106
[![Join the chat at https://gitter.im/hprose/hprose-php](https://img.shields.io/badge/GITTER-join%20chat-green.svg)](https://gitter.im/hprose/hprose-php?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11-
![Supported PHP versions: 5.3 .. 7.1](https://img.shields.io/badge/php-5.3~7.1-blue.svg)
7+
![Supported PHP versions: =7.1+](https://img.shields.io/badge/php-7.1+-blue.svg)
128
[![Packagist](https://img.shields.io/packagist/v/hprose/hprose.svg)](https://packagist.org/packages/hprose/hprose)
139
[![Packagist Download](https://img.shields.io/packagist/dm/hprose/hprose.svg)](https://packagist.org/packages/hprose/hprose)
1410
[![License](https://img.shields.io/packagist/l/hprose/hprose.svg)](https://packagist.org/packages/hprose/hprose)
@@ -41,6 +37,4 @@ It is a modern, lightweight, cross-language, cross-platform, object-oriented, hi
4137

4238
Through *Hprose*, You can conveniently and efficiently intercommunicate between those programming languages.
4339

44-
This project is the implementation of Hprose for PHP.
45-
46-
Hprose 2.0 for PHP Documents: https://github.com/hprose/hprose-php/wiki
40+
This project is the implementation of Hprose for PHP.

README_zh_CN.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
<p align="center"><img src="http://hprose.com/[email protected]" alt="Hprose" title="Hprose" width="650" height="200" /></p>
1+
<p align="center"><img src="https://hprose.com/[email protected]" alt="Hprose" title="Hprose" width="650" height="200" /></p>
22

3-
<a href="https://promisesaplus.com/">
4-
<img src="https://promisesaplus.com/assets/logo-small.png" alt="Promises/A+ logo" title="Promises/A+ 1.1 compliant" align="right" />
5-
</a>
6-
7-
# Hprose for PHP
3+
# Hprose 3.0 for PHP
84

95
[![Build Status](https://travis-ci.org/hprose/hprose-php.svg?branch=master)](https://travis-ci.org/hprose/hprose-php)
106
[![Join the chat at https://gitter.im/hprose/hprose-php](https://img.shields.io/badge/GITTER-join%20chat-green.svg)](https://gitter.im/hprose/hprose-php?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11-
![Supported PHP versions: 5.3 .. 7.1](https://img.shields.io/badge/php-5.3~7.1-blue.svg)
7+
![Supported PHP versions: 7.1+](https://img.shields.io/badge/php-7.1+-blue.svg)
128
[![Packagist](https://img.shields.io/packagist/v/hprose/hprose.svg)](https://packagist.org/packages/hprose/hprose)
139
[![Packagist Download](https://img.shields.io/packagist/dm/hprose/hprose.svg)](https://packagist.org/packages/hprose/hprose)
1410
[![License](https://img.shields.io/packagist/l/hprose/hprose.svg)](https://packagist.org/packages/hprose/hprose)
@@ -41,6 +37,4 @@
4137

4238
通过 *Hprose*,你就可以在这些语言之间方便高效的实现互通了。
4339

44-
本项目是 Hprose 的 PHP 语言版本实现。
45-
46-
Hprose 2.0 for PHP 文档: https://github.com/hprose/hprose-php/wiki
40+
本项目是 Hprose 的 PHP 语言版本实现。

composer.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,16 @@
4545
}
4646
],
4747
"require": {
48-
"php": ">=5.3.0"
49-
},
50-
"suggest": {
51-
"ext-hprose": "Faster serialize and unserialize hprose extension."
48+
"php": ">=7.1.0",
49+
"ext-hprose": ">=1.7.0"
5250
},
51+
"suggest": {},
5352
"require-dev": {
5453
"phpunit/phpunit": ">=4.0.0"
5554
},
5655
"autoload": {
57-
"files": [
58-
"src/init.php"
59-
],
6056
"psr-4": {
6157
"Hprose\\": "src/Hprose"
6258
}
6359
}
64-
}
60+
}

examples/composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
}
99
],
1010
"require": {
11-
"php": ">=5.3.0",
11+
"php": ">=7.1.0",
12+
"ext-hprose": ">=1.7.0",
1213
"hprose/hprose": "dev-master"
1314
}
14-
}
15+
}

examples/src/all.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/src/catchError.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/src/client/HttpClient.php

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)