Skip to content

Commit

Permalink
Merge pull request #75 from php-mod/issue-69
Browse files Browse the repository at this point in the history
fix phpdoc, add tests
  • Loading branch information
amouhzi authored Jan 24, 2021
2 parents cbc557d + 3d553d6 commit 7c59bb3
Show file tree
Hide file tree
Showing 9 changed files with 319 additions and 286 deletions.
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

0 comments on commit 7c59bb3

Please sign in to comment.