Problem/Motivation

PHPCompatibility detected the following warnings in backup_migrate.module:

FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
1558 | WARNING | INI directive 'safe_mode' is deprecated since PHP
| | 5.3 and removed since PHP 5.4
1923 | WARNING | INI directive 'safe_mode' is deprecated since PHP
| | 5.3 and removed since PHP 5.4
1983 | WARNING | INI directive 'safe_mode' is deprecated since PHP
| | 5.3 and removed since PHP 5.4

Steps to reproduce

  • Go to your backup_migrate directory for example: /sites/all/modules/contrib/backup_migrate.
  • Run phpcs:
    phpcs -p . --standard=PHPCompatibility --extensions=php,module,inc,install,test,profile,theme --runtime-set testVersion 7.3
    

Proposed resolution

Making a patch.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

mibfire created an issue. See original summary.

mibfire’s picture

Issue summary: View changes
mibfire’s picture

I made a patch to fix the issue.

damienmckenna’s picture

Version: 7.x-3.6 » 7.x-3.x-dev
Category: Bug report » Task
Status: Active » Needs review

Oh, that's a nice bit of cleanup. Let's see what the testbot thinks.

mibfire’s picture

Issue summary: View changes
hey_germano’s picture

StatusFileSize
new1.69 KB

Here's a patch that should apply against 7.x-3.x-dev and also removes mentions of safe_mode from code comments.

damienmckenna’s picture

  • DamienMcKenna committed 8ff70eb on 7.x-3.x authored by mibfire
    Issue #3215180 by mibfire, hey_germano, DamienMcKenna: INI directive '...
damienmckenna’s picture

Status: Needs review » Fixed

This makes complete sense, thank you. Committed.

Status: Fixed » Closed (fixed)

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