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

3.1.1 #751

Merged
merged 42 commits into from
Mar 28, 2017
Merged

3.1.1 #751

merged 42 commits into from
Mar 28, 2017

Conversation

sergeyklay
Copy link
Contributor

No description provided.

ulfims and others added 30 commits December 23, 2016 23:06
Fixing #718 : Dialect Oracle not working
Should check each param is is a `\CURLFile` f.e. created via `curl_file_create($file)`.

Example:

    $provider = \Phalcon\Http\Client\Request::getProvider();

    // POST a file
    $file = '/home/mine/myimage.jpg';
    $response = $provider->post('me/upload', [
        'access_token' => 1234,
        'file'         => curl_file_create(realpath($file)),
    ]);

    echo $response->header->statusCode;

Reason:
See `CURLOPT_SAFE_UPLOAD` http://php.net/manual/en/function.curl-setopt.php

`Added in PHP 5.5.0 with FALSE as the default value. PHP 5.6.0 changes the default value to TRUE.`
_and disabled with PHP 7_
Curl::initPostFields checks for \CURLFile
* Added ::setOption ::setOptions CURLOPT_XXX alias 

Addded simple check if given option key is a curlopt_xxx string

* Fixed no space found after comma

* Fixed no space found after comma
* Fixed lost curl error

Moving __destruct -fix ("release" Curl instance from header function) to bottom -- before return.

* Fixed no space found after comma

* Fixed no space found after comma
* Small cleanup

* Be verbose on tests

* Cleaned Beanstalk ExtendedTest
fix attempt for Warning: setlocale(): Specified locale name is too long
needs to be tested deeper
sergeyklay and others added 6 commits March 10, 2017 00:42
Fix for: Warning: preg_match() expects parameter 2 to be string, object given
Allow a traversable object for the $email parameter for the normalizeEmail function
sergeyklay and others added 6 commits March 25, 2017 17:34
For nearly six months, the tests are falling regularly.
Fork is the only dependence, which is constantly fails tests
In the future we will deprecate the Fork Helper in favor of
ReactPHP, Promises, etc.

Cc: @duncan3dc
@sergeyklay sergeyklay merged commit 3f39a27 into master Mar 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants