def on_pre_save(self, view):
        if not PhpcsTextBase.should_execute(view) or st_version == 2:
            return

        current_project_file = view.window().project_file_name();
        debug_message('Project files:')
        debug_message(' Current: ' + str(current_project_file))
        debug_message(' Last Known: ' + str(pref.project_file))

        if current_project_file == None:
            debug_message('No project file defined, therefore skipping reload')
            return

        if pref.project_file == current_project_file:
            debug_message('Project files are the same, skipping reload')
        else:
            debug_message('Project files have changed, commence the reload')
            pref.load();
            pref.project_file = current_project_file
Project based settings, currently able to see an API based way of doing this!
dataset/ETHPy150Open benmatselby/sublime-phpcs/phpcs.py/PhpcsEventListener.on_pre_save