Run Rector on your code to see what it can do for you:
public static function test1(string $path) { - Mage::getStoreConfig(self::PATH); # this should NOT be renamed + Mage::getStoreConfig(\Base::PATH); # this should NOT be renamed } }
{ public static function test2(string $path) { - Mage::getStoreConfig('path'); + Mage::getStoreConfig(\Base::PATH); } }
rector.php