Instead of using different literal strings for the regular expressions used to delete the APCu keys for cache and locks, there should be two class constants for those regular expressions.
They would not be part of the public API, even if they are public constants, since contributed modules should not directly delete any APCu key used by this module.

Issue fork apc-3472908

Command icon 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

avpaderno created an issue. See original summary.

avpaderno’s picture

Title: Define a class constant for the regular expression to use to remove APCu keys used for cache and locks » Define a class constant for the regular expressions to use to remove APCu keys used for cache and locks
avpaderno’s picture

Title: Define a class constant for the regular expressions to use to remove APCu keys used for cache and locks » Define class constants for the regular expressions to use to remove APCu keys used for cache and locks

avpaderno’s picture

Status: Active » Needs review

  • avpaderno committed 51f16296 on 7.x-2.x
    Issue #3472908: Define class constants for the regular expressions to...
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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