Tobias Nyholm
b5edb54223
[PHPStan] Use docker image instead of github action shortcut ( #2767 )
...
* [PHPStan] Use docker image instead of github action shortcut
* Syntax fix
* Bump some version
* Update .github/workflows/static.yml
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
2020-09-20 12:58:39 +02:00
Tobias Nyholm
bb0d3a8831
Remove "tag" from make file ( #2764 )
2020-09-20 12:56:24 +02:00
Mponos George
c2c9d72f8b
Use final annotation to mark classes as final ( #2726 )
...
* Use final annotation to mark classes as final
* Add final to handlers
* Fix phpstan
2020-09-19 15:35:02 +02:00
Václav Vaník
1fd5e8d7f4
Add MessageFormatterInterface ( #2729 )
...
* MessageFormatterInterface added
* Middleware::log accepts MessageFormatterInterface
* log format constants moved back into MessageFormatter. Annotation `@deprecated log format constants will be moved into MessageFormatterInterface in guzzlehttp/guzzle:8.0` added.
* MessageFormatter remove @deprecated constants annotation
* Make the chage in a BC way
* Revert config
Co-authored-by: Nyholm <tobias.nyholm@gmail.com>
2020-09-19 15:34:35 +02:00
Tobias Nyholm
a99fb2f007
PHPStan fix ( #2760 )
...
* PHPStan fix
* Fix
2020-09-19 15:32:30 +02:00
KITAGAWA Yasutaka
f999bc73d3
Update Guzzle version in documentation ( #2746 )
2020-09-19 15:02:23 +02:00
Matheus Batista
74b6e54268
[Doc] Fix PSR-7 namespace ( #2747 )
...
Missing `Message` in the `RequestInterface` namespace.
2020-09-19 15:01:21 +02:00
Hannes Van De Vreken
33ddb580d0
Throwing errors because mark is not enrolled in github sponsors ( #2731 )
2020-08-13 21:25:56 +02:00
Graham Campbell
7464d1506e
[7.0] Fixed type error ( #2724 ) ( #2737 )
...
* Fixed type error
* Update phpstan-baseline.neon
2020-07-23 14:23:18 +03:00
Edwin van de Pol
c6fec1ee3b
Updated PHP version in documentation ( #2730 )
...
As composer states, the minimum version is 7.2.5.
2020-07-23 07:24:39 +02:00
Tobias Nyholm
d713940b86
Make sure MessageFormatter::format returns string ( #2723 )
2020-07-10 10:45:10 +03:00
perico
9b776cfe79
Fix the empty response body when logging {res_body} ( #1872 )
...
* Fix the empty response body when logging {res_body}
This only fixes the issue with {res_body} variable.
When logging with {res_body} the Stream goes to the eof.
This fix will make to return:
- `NULL` when response is null
- `RESPONSE_NOT_LOGGEABLE` when the Stream is not seekable.
- Body to String and rewind if possible
To fix the {response} I would tackle into Psr7\str class
Also found on the following issues #1262 and #1582
* fixes
* cs
Co-authored-by: Nyholm <tobias.nyholm@gmail.com>
2020-07-10 09:42:09 +02:00
Guilliam Xavier
c19f9e2493
Fix "curl error msg for low version" ( #2661 )
...
* Fix incomplete version_compare
* Deduplicate code
* Check message, deprecate LOW_CURL_VERSION_NUMBER
2020-07-10 09:33:15 +02:00
Tobias Nyholm
59dada79e0
Adding Psalm ( #2706 )
...
* Adding Psalm
* Do composer install
* Install psalm phar
* typo
* typo
* Test psalm
* Added make file
* remove from composer.json
* minor
* revert order
2020-07-10 09:31:21 +02:00
Tobias Nyholm
a88a06be44
Added funding ( #2713 )
2020-07-01 09:37:56 +03:00
Graham Campbell
1101907810
Fixed error in tests ( #2716 )
2020-06-29 08:35:07 +03:00
Graham Campbell
4894248e0a
Test coverage of Utils ( #2708 )
2020-06-27 17:51:48 +03:00
Graham Campbell
ad459f6bfa
Fixed up stream handler tests ( #2711 )
2020-06-27 17:49:04 +03:00
Graham Campbell
0675a1aa71
[7.1] Ensure methods are spaced correctly ( #2709 )
...
* Ensure methods are spaced correctly
* Applied CS fixes
2020-06-27 17:41:55 +03:00
Graham Campbell
2d763e4682
[7.1] Tweaked CI ( #2705 )
...
* Tweaked CI
* Update static.yml
* Update Makefile
2020-06-27 13:52:26 +02:00
Tobias Nyholm
ee76d61e6d
Minor CI cleanup ( #2704 )
...
* Minor CI cleanup
* Use composer:v2
2020-06-27 14:21:39 +03:00
Tobias Nyholm
1d28c34637
Added BC test ( #2703 )
2020-06-27 13:14:48 +02:00
Graham Campbell
7c46c410f6
Clean up set cookie implementation ( #2687 )
2020-06-27 13:06:21 +02:00
Mponos George
52faadfc69
Remove call_user_func for perf improvement ( #2690 )
2020-06-27 14:02:43 +03:00
Graham Campbell
879a6c664f
Deprecate defaultCaBundle ( #2562 )
2020-06-27 12:51:30 +02:00
Nyholm
4cfcd273f5
Merge branch '7.0'
2020-06-27 12:34:47 +02:00
Graham Campbell
2d9d3c186a
[7.0] Fix multiply defined functions fatal error ( #2699 )
...
* Fix multiply defined functions fatal error
* Prepare for release of 7.0.1
7.0.1
2020-06-27 12:33:25 +02:00
Graham Campbell
8a5757cd0b
Deprecate "functions" ( #2561 )
2020-06-27 12:21:25 +02:00
Graham Campbell
61d06fa367
Bump branch alias to 7.1 ( #2698 )
2020-06-27 12:54:56 +03:00
Jon Cram
4781b262a8
Retain safe request method when following redirects ( #2047 )
...
* Retain safe request method when following redirects
* Fix PHP-CS-Fixer issues
Co-authored-by: Jon Cram <jon@webignition.net>
2020-06-27 11:18:30 +02:00
Rob Peck
b504f7aeac
Fix an issue where cookies with an empty string were not stored. ( #2691 )
2020-06-27 11:00:46 +02:00
Graham Campbell
0a9738015d
Deprecate the getConfig function ( #2516 )
2020-06-27 10:54:50 +02:00
Graham Campbell
4f5c114bd1
Deprecate Client::__call ( #2557 )
2020-06-27 10:52:49 +02:00
Tobias Nyholm
414c249610
Prepare for release of 7.0.0 ( #2697 )
7.0.0
2020-06-27 10:47:54 +02:00
Graham Campbell
d01c37dcd0
Updated installation docs ( #2565 )
2020-06-16 22:13:12 +03:00
Graham Campbell
48f2fb7ec5
Fixed Makefile ( #2695 )
2020-06-16 12:10:25 +03:00
Tobias Nyholm
818faffe2d
Prepare release RC1 ( #2681 )
...
* Prepare release RC1
* Updated date
* update help files
* revert phpunit
* minor
* Fixes
Co-authored-by: Mponos George <gmponos@gmail.com>
7.0.0-rc.1
2020-06-15 19:25:07 +02:00
Guilliam Xavier
ff7ed8feaa
Enable php-cs-fixer binary_operator_spaces (ignoring double-arrows) ( #2688 )
...
* Enable php-cs-fixer binary_operator_spaces (ignoring double-arrow for now)
* Fix some double-arrows spacing manually
2020-06-13 20:21:14 +03:00
Tobias Nyholm
f7a263f6dc
Update license year ( #2686 )
2020-06-13 14:44:35 +03:00
Mponos George
d188880416
Fail on warning/risky ( #2685 )
2020-06-13 13:40:58 +02:00
Mponos George
0f459f4a56
Fix codestyle using php-cs-fixer ( #2682 )
2020-06-13 13:36:51 +02:00
Mponos George
01a67e8497
Remove burgomaster/packager ( #2684 )
2020-06-13 12:27:48 +03:00
Richard van Laak
fd9eace0b3
Allow running static Actions via Make ( #2662 )
...
* Allow running static Actions via Make
* add 'generate baseline' make target
* PHPStan 0.12.28
Co-authored-by: Richard van Laak <richard@scribbr.nl>
2020-06-10 13:03:22 +03:00
Richard van Laak
c4c348a4f1
Reduce PHPStan baseline errors ( #2677 )
...
Co-authored-by: Richard van Laak <richard@scribbr.nl>
Co-authored-by: Tobias Nyholm <tobias.nyholm@gmail.com>
Co-authored-by: Graham Campbell <GrahamCampbell@users.noreply.github.com>
2020-06-09 15:22:29 +03:00
Simon Schaufelberger
397f43eefa
Ignore files when exporting package ( #2679 )
...
This commit is part of a campaign to reduce the amount of data transferred to save global bandwidth and reduce the amount of CO2. See https://github.com/Codeception/Codeception/pull/5527 for more info.
2020-06-07 23:36:08 +03:00
Mponos George
6c23c3cf55
Updated editorconfig file ( #2666 )
...
* Updated editorconfig file
* Update .editorconfig
* Update .editorconfig
2020-06-07 13:03:56 +02:00
Mponos George
5c9c349700
Update changelog and upgrading guide ( #2667 )
...
* Update changelog and upgrading guide
* Update CHANGELOG.md
* updated changelog and upgrading guide
2020-06-06 12:40:17 +02:00
Mponos George
d9f48fdd6e
Fix more issues about phpstan ( #2670 )
2020-06-06 13:09:15 +03:00
Graham Campbell
b5615fc4a7
[7.0] IDN off by default and removed polyfill ( #2675 )
2020-06-06 12:53:06 +03:00
Márk Sági-Kazár
9903a0600d
Add Slack to the readme ( #2674 )
2020-05-31 07:45:04 +03:00