diff --git a/Makefile b/Makefile index 3039f0f3b..29e4acbf7 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ tc: bin/phpunit .PHONY: tm tm: ## Runs Infection tm: $(TU_BOX_DEPS) - $(PHPNOGC) bin/infection + $(PHPNOGC) bin/infection --only-covered .PHONY: e2e e2e: ## Runs all the end-to-end tests diff --git a/doc/configuration.md b/doc/configuration.md index c218ff426..8618966c3 100644 --- a/doc/configuration.md +++ b/doc/configuration.md @@ -185,8 +185,8 @@ binary files, the regular file will take precedence. ### Force auto-discovery (`force-autodiscovery`) -The `auto-discovery` (`bool` default `false`) setting forces Box to attempt to find which files to include even though -you are using the [`directories`][directories] or [`finder`][finder] setting. +The `force-autodiscovery` (`bool` default `false`) setting forces Box to attempt to find which files to include even +though you are using the [`directories`][directories] or [`finder`][finder] setting. When Box tries to find which files to include, it may remove some files such as readmes or test files. If however you are using the [`directories`][directories] or [`finder`][finder], Box will _append_ the found files to the ones you diff --git a/tests/Console/Command/CompileTest.php b/tests/Console/Command/CompileTest.php index 6ae916f41..440f50bcd 100644 --- a/tests/Console/Command/CompileTest.php +++ b/tests/Console/Command/CompileTest.php @@ -3010,6 +3010,10 @@ public function test_it_skips_the_compression_when_in_dev_mode(): void public function test_it_can_generate_a_PHAR_with_docker(): void { + if (extension_loaded('xdebug')) { + $this->markTestSkipped('Skipping this test since xdebug has an include wrapper causing this test to fail'); + } + mirror(self::FIXTURES_DIR.'/dir010', $this->tmp); dump_file('box.json', '{}');