coding-standard icon indicating copy to clipboard operation
coding-standard copied to clipboard

need rule for Class Name to Check Prefix or PostFix with Specific Directory

Open pokemonhan opened this issue 5 years ago • 0 comments

for example in laravel there have controller directory. class in subdirectory of "Http/Controller" directory or under of "Http/Controller" directory should end with "Controller" postfix. class in subdirectory of "Http/Request" directory or under of "Http/Request" should end with "Request" postfix. also for custom directory to end with custom postfix. image not to allow classes without with standard declared name in the rule to stay in the forlder. please provide if it is possible.

pokemonhan avatar Mar 31 '20 03:03 pokemonhan