Problem/Motivation
PHP compatibility issue
FILE: ...app/modules/contrib/node_export/src/NodeImport.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
164 | ERROR | "$this" can no longer be used in a plain function or method
| | since PHP 7.1.
--------------------------------------------------------------------------------
FILE: .../app/modules/contrib/node_export/src/NodeExport.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
117 | ERROR | "$this" can no longer be used in a plain function or method
| | since PHP 7.1.
--------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | node_export-PHPCompatibility-3197979-1.patch | 749 bytes | prithiraj |
Issue fork node_export-3197979
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:
- 3197979-this-can-no
changes, plain diff MR !13
Comments
Comment #2
prithiraj commentedComment #3
mohit.bansal623 commentedThe patch is already applied in #2, is there anything left to do in this ?
Comment #4
cornifex commented$this is also being used in a static context here, which throws an error. I tested this patch and confirmed that the error has been resolved.
Comment #9
i-trokhanenkoCommitted. Thanks!