This PR makes a change that excludes the JS rules from the PHP rule check flow when a post is updated. It prevents any JS rule issues from being deleted from the database at the end of the PHP scan (they will still be deleted if corrected when the JS scan runs).
This solves the issue reported that specific ignored issues (investigating, I found that it was all JS rules subject to this bug) would return when posts were updated and no longer be ignored.
This PR makes a change that excludes the JS rules from the PHP rule check flow when a post is updated. It prevents any JS rule issues from being deleted from the database at the end of the PHP scan (they will still be deleted if corrected when the JS scan runs).
This solves the issue reported that specific ignored issues (investigating, I found that it was all JS rules subject to this bug) would return when posts were updated and no longer be ignored.
Fixes: #655