User tests: Successful: Unsuccessful:
If you pass a string to methods JFile::append
or JFile::write
, you will have an error Cannot pass parameter 2 by reference
.
$string = 'Simple string';
JFile::write('/var/www/site/text.txt', $string);
It works, whereas the following causes the error:
JFile::write('/var/www/site/text.txt', 'Simple string');
Cannot pass parameter 2 by reference
I think, it is not compatible with php7
, so I propose to change the code, because it is not necessary to pass the buffer by reference in these methods.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
Title |
|
Can you test it, please?
Title |
|
Can you comment this, please?
I have tested this item
looks good to me. Thanks
I have tested this item
works as described
Needed to manually apply the patch because the patchtester cannot apply patch from unknown repository
Status | Pending | ⇒ | Ready to Commit |
RTC. Thanks
Labels |
Added:
?
|
Needed to manually apply the patch because the patchtester cannot apply patch from unknown repository
Is there anything else that I should do?
i think you don't need to do anything more in this Pr. if a cms mantainer can merge this is all ok. if not they will tell you.
but for future do the PRs from a repositories or we can't use the patchtester to test.
I don't even know how can you make a PR from unknown repository
I don't even know how can you make a PR from unknown repository
The repository was deleted after the PR was created.
The repository was deleted after the PR was created.
ok so that's the problem here
I didn't know it can be a problem, sorry.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-23 18:35:25 |
Closed_By | ⇒ | rdeutz |
Labels |
Removed:
?
|
@addondev
See travis cs issues