I get this error, when I try to run codesniffer

  • INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4

Comments

nipany created an issue. See original summary.

nipany’s picture

Issue tags: +PHP 7.2
shital.mahajan’s picture

Are we having any plans to fix this?

shital.mahajan’s picture

StatusFileSize
new511 bytes

Remove deprecated directive

nipany’s picture

Status: Active » Needs review
ravikk-drupal’s picture

Assigned: Unassigned » ravikk-drupal
ravikk-drupal’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new21.75 KB

Yes this patch #4 perfectly work for me screenshot attached for the reference

damienmckenna’s picture

Assigned: ravikk-drupal » Unassigned
Parent issue: » #3093579: Plan for SMTP 7.x-1.8 release
alina.basarabeanu’s picture

Patch #7 works on Drupal core 7.91, PHP 8.0.21 and SMTP 7.x-1.7+21-dev version
Is there any chance to get merged into dev or a new stable release for Drupal 7?

alina.basarabeanu’s picture

SMTP 7.x-1.8 release is out but this issue was not included.

damienmckenna’s picture

damienmckenna’s picture

The reference to 7.x-1.8 was a suggestion, the maintainers chose not to commit this fix.

joseph.olstad’s picture

Once the PHP 8.2 test passes, I'll do a final review and then push this in.

joseph.olstad’s picture

patch in the wild for 4+ years

patch passes all tests for all current and previous major PHP versions/releases.

joseph.olstad’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.