On one of our projects Rector created a bug where it saw an Eloquent relation called scope as a query scope, and thus changed the method visibility to protected as part of the MakeMOdelAttributesAndScopesProtectedRector rule.
Of course this is undesired behavior and we had to roll that change back. Sadly I now have to skip this rule on then entire model, because it seems in Rector it is not possible to skip only a given line or method.
