Issue #2257757 by martin107: \Drupal::isConfigSyncing should be marked as static.