@@ -6,7 +6,7 @@ MAKEFLAGS += --no-builtin-rules
66COMPOSER = $(shell which composer)
77
88SRC_TESTS_FILES =$(shell find src/ tests/ -type f) phpunit.xml.dist
9- COVERAGE_DIR = dist /coverage
9+ COVERAGE_DIR = var /coverage
1010COVERAGE_XML = $(COVERAGE_DIR ) /xml
1111COVERAGE_HTML = $(COVERAGE_DIR ) /html
1212TARGET_MSI = 100
@@ -69,7 +69,7 @@ php_cs_fixer: $(PHP_CS_FIXER_BIN)
6969 $(PHP_CS_FIXER )
7070
7171.PHONY : php_cs_fixer_lint
72- php_cs_fixer_lint : $(PHP_CS_FIXER_BIN ) dist
72+ php_cs_fixer_lint : $(PHP_CS_FIXER_BIN ) var
7373 $(PHP_CS_FIXER )
7474
7575.PHONY : rector
@@ -79,7 +79,7 @@ ifndef SKIP_RECTOR
7979endif
8080
8181.PHONY : rector_lint
82- rector_lint : $(RECTOR_BIN ) dist
82+ rector_lint : $(RECTOR_BIN ) var
8383ifndef SKIP_RECTOR
8484 $(RECTOR) --dry-run
8585endif
@@ -95,23 +95,23 @@ composer_validate: vendor
9595
9696.PHONY : phpunit
9797phpunit : # # Runs PHPUnit
98- phpunit : $(PHPUNIT_BIN ) dist vendor
98+ phpunit : $(PHPUNIT_BIN ) var vendor
9999 $(PHPUNIT )
100100
101101.PHONY : phpunit_coverage_infection
102102phpunit_coverage_infection : # # Runs PHPUnit with code coverage for Infection
103- phpunit_coverage_infection : $(PHPUNIT_BIN ) dist vendor
103+ phpunit_coverage_infection : $(PHPUNIT_BIN ) var vendor
104104 $(PHPUNIT_COVERAGE_INFECTION )
105105
106106.PHONY : phpunit_coverage_html
107107phpunit_coverage_html : # # Runs PHPUnit with code coverage with HTML report
108- phpunit_coverage_html : $(PHPUNIT_BIN ) dist vendor
108+ phpunit_coverage_html : $(PHPUNIT_BIN ) var vendor
109109 $(PHPUNIT_COVERAGE_HTML )
110110 @echo " You can check the report by opening the file \" $( COVERAGE_HTML) /index.html\" ."
111111
112112.PHONY : infection
113113infection : # # Runs infection
114- infection : $(INFECTION_BIN ) $(COVERAGE_DIR ) dist vendor
114+ infection : $(INFECTION_BIN ) $(COVERAGE_DIR ) var vendor
115115 if [ -d $( COVERAGE_DIR) /coverage-xml ]; then $( INFECTION) ; fi
116116
117117
@@ -149,6 +149,6 @@ ifndef SKIP_RECTOR
149149 touch -c $@
150150endif
151151
152- dist :
153- mkdir -p dist
152+ var :
153+ mkdir -p var
154154 touch $@
0 commit comments