for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace RoaveTestAsset;
class ClassWithMethodVisibilitiesBeingChanged
{
public function publicMaintainedPublic()
}
protected function publicReducedToProtected()
private function publicReducedToPrivate()
publicReducedToPrivate()
This check looks for private methods that have been defined, but are not used inside the class.
protected function protectedMaintainedProtected()
private function protectedReducedToPrivate()
protectedReducedToPrivate()
public function protectedIncreasedToPublic()
private function privateMaintainedPrivate()
privateMaintainedPrivate()
protected function privateIncreasedToProtected()
public function privateIncreasedToPublic()
This check looks for private methods that have been defined, but are not used inside the class.