This commit is contained in:
		
							
								
								
									
										20
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,18 +1,24 @@
 | 
			
		||||
analyze: analyze-phpmd analyze-phpstan analyze-psalm analyze-phpcs
 | 
			
		||||
 
 | 
			
		||||
analyze: analyze-yaml analyze-phpmd analyze-phpstan analyze-psalm analyze-phpcs
 | 
			
		||||
 | 
			
		||||
analyze-yaml:
 | 
			
		||||
	vendor/bin/yaml-lint config.yml
 | 
			
		||||
analyze-phpmd:
 | 
			
		||||
	./vendor/bin/phpmd src text  cleancode,codesize,controversial,design,naming,unusedcode
 | 
			
		||||
	vendor/bin/phpmd src text  cleancode,codesize,controversial,design,naming,unusedcode
 | 
			
		||||
analyze-phpstan:
 | 
			
		||||
	./vendor/bin/phpstan analyze --level=7  --error-format=raw src/ backup 
 | 
			
		||||
	vendor/bin/phpstan analyze --level=7  --error-format=raw src/ backup 
 | 
			
		||||
analyze-psalm:
 | 
			
		||||
	./vendor/bin/psalm
 | 
			
		||||
	vendor/bin/psalm
 | 
			
		||||
analyze-phpcs:
 | 
			
		||||
	./vendor/bin/phpcs src backup --report=emacs  --standard=PSR12
 | 
			
		||||
	vendor/bin/phpcs src backup --report=emacs  --standard=PSR12
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
	php composer.phar install --no-dev
 | 
			
		||||
install-dev:
 | 
			
		||||
	php composer.phar install
 | 
			
		||||
	sudo apt update
 | 
			
		||||
	sudo apt install rclone
 | 
			
		||||
test:
 | 
			
		||||
	./vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage 
 | 
			
		||||
	vendor/bin/phpunit tests
 | 
			
		||||
test-coverage:
 | 
			
		||||
	vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage --coverage-text
 | 
			
		||||
	
 | 
			
		||||
		Reference in New Issue
	
	Block a user