private function handlePublicProperty(int $modifier)
{
if ($this->tokens[$modifier]['code'] === T_PUBLIC) {
$this->phpcsFile->addError('Use getters and setters for properties. Public visibility is discouraged.', $this->stackPtr, 'PublicProperty');
}
}