Static code analysis.
This commit is contained in:
		
							
								
								
									
										11
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
analyze-all:
 | 
			
		||||
	@echo PHPMessDetector
 | 
			
		||||
	-./vendor/bin/phpmd src text  cleancode,codesize,controversial,design,naming,unusedcode
 | 
			
		||||
	@echo PHPStan
 | 
			
		||||
	-./vendor/bin/phpstan analyze --level=7  src/ backup
 | 
			
		||||
	@echo Psalm
 | 
			
		||||
	-./vendor/bin/psalm
 | 
			
		||||
install:
 | 
			
		||||
	php composer.phar install --no-dev
 | 
			
		||||
install-dev:
 | 
			
		||||
	php composer.phar install
 | 
			
		||||
		Reference in New Issue
	
	Block a user