Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix phpdoc, add tests #75

Merged
merged 3 commits into from
Jan 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ All notable changes to this project will be documented in this file. This projec

## 2.4.0 (in progress)

+ [#74](https://github.com/php-mod/curl/pull/75) Fixed PHPDoc Block, Added more Unit Tests.
+ Added GitHub Actions Tests (from 5.6 - 8.0)

## 2.3.1 (21. January 2021)
## 2.3.1 (21. January 2021)

+ Supports PHP8

## 2.3.0 (19. March 2019)
## 2.3.0 (19. March 2019)

+ add asJson option (#67)

## 2.2.0 (4. December 2018)
## 2.2.0 (4. December 2018)

+ Added some getters.

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,5 @@ In order to test the library:
1. Create a fork
2. Clone the fork to your machine
3. Install the depencies `composer install`
4. Build and start the docker image (in `tests/server`) `docker build . -t curlserver` start `docker run -p 1234:80 curlserver`
4. Run the unit tests `./vendor/bin/phpunit tests`
2 changes: 1 addition & 1 deletion src/Curl/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public function get($url, $data = array())
* Make a post request with optional post data.
*
* @param string $url The url to make the post request
* @param array $data Post data to pass to the url
* @param array|object|string $data Post data to pass to the url
* @param boolean $asJson Whether the data should be passed as json or not. {@insce 2.2.1}
* @return self
*/
Expand Down
Loading