Hello,
There is an error when i execute rector :
---------- begin diff ----------
--- Original
+++ New
@@ -4,6 +4,7 @@
namespace Drupal\cmis;
+use function GuzzleHttp\Psr7\str;
use Dkd\PhpCmis\Enum\BindingType;
use Dkd\PhpCmis\SessionFactory;
use Dkd\PhpCmis\SessionParameter;
@@ -330,11 +331,11 @@
}
catch (RequestException $e) {
// @todo It would be better to fire an event.
- $guzzle_request = Psr7\str($e->getRequest());
+ $guzzle_request = str($e->getRequest());
\Drupal::logger('cmis')->notice($guzzle_request);
if ($e->getCode() === 401) {
- $guzzle_response = Psr7\str($e->getResponse());
+ $guzzle_response = str($e->getResponse());
\Drupal::logger('cmis')->notice($guzzle_response);
if (\Drupal::currentUser()->isAuthenticated()) {
----------- end diff -----------
Issue fork cmis-3196840
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
bakopIssue should be solved. Tell me if the fix is correct ;)
Can you check please ?
Thanks.
Comment #4
grimreaperComment #6
grimreaperThanks.
str is deprecated so I have updated the commit.
Fixed for 8.x-2.x, patch to be ported for 3.0.x.
Comment #8
grimreaperCherry-picked on 3.0.x