File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed
Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1111 - ' tests/**.php'
1212 - ' spark'
1313 - composer.json
14- - phpunit.xml. dist
14+ - phpunit.dist.xml
1515 - .github/workflows/test-phpunit.yml
1616 - .github/workflows/reusable-phpunit-test.yml
1717
2525 - ' tests/**.php'
2626 - ' spark'
2727 - composer.json
28- - phpunit.xml. dist
28+ - phpunit.dist.xml
2929 - .github/workflows/test-phpunit.yml
3030 - .github/workflows/reusable-phpunit-test.yml
3131
Original file line number Diff line number Diff line change 99 - ' .github/scripts/run-random-tests.sh'
1010 - ' .github/scripts/random-tests-config.txt'
1111 - ' .github/workflows/test-random-execution.yml'
12- - ' phpunit.xml. dist'
12+ - ' phpunit.dist.xml '
1313 - ' system/**.php'
1414 - ' tests/**.php'
1515
2121 - ' .github/scripts/run-random-tests.sh'
2222 - ' .github/scripts/random-tests-config.txt'
2323 - ' .github/workflows/test-random-execution.yml'
24- - ' phpunit.xml. dist'
24+ - ' phpunit.dist.xml '
2525 - ' system/**.php'
2626 - ' tests/**.php'
2727
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ if (is_file($file)) {
9494
9595$ files = [
9696 __DIR__ . DIRECTORY_SEPARATOR . 'app/Config/Paths.php ' ,
97- __DIR__ . DIRECTORY_SEPARATOR . 'phpunit.xml. dist ' ,
97+ __DIR__ . DIRECTORY_SEPARATOR . 'phpunit.dist.xml ' ,
9898 __DIR__ . DIRECTORY_SEPARATOR . 'phpunit.xml ' ,
9999];
100100
Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ The HTML files can be viewed by opening **tests/coverage/index.html** in your fa
8080
8181## PHPUnit XML Configuration
8282
83- The repository has a `` phpunit.xml. dist `` file in the project root that's used for
83+ The repository has a `` phpunit.dist.xml `` file in the project root that's used for
8484PHPUnit configuration. This is used to provide a default configuration if you
8585do not have your own configuration file in the project root.
8686
87- The normal practice would be to copy `` phpunit.xml. dist `` to `` phpunit.xml ``
87+ The normal practice would be to copy `` phpunit.dist.xml `` to `` phpunit.xml ``
8888(which is git ignored), and to tailor it as you see fit.
8989For instance, you might wish to exclude database tests, or automatically generate
9090HTML code coverage reports.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function testBaseUrlHasBeenSet(): void
2727
2828 if ($ env ) {
2929 // BaseURL in .env is a valid URL?
30- // phpunit.xml. dist sets app.baseURL in $_SERVER
30+ // phpunit.dist.xml sets app.baseURL in $_SERVER
3131 // So if you set app.baseURL in .env, it takes precedence
3232 $ config = new App ();
3333 $ this ->assertTrue (
@@ -37,7 +37,7 @@ public function testBaseUrlHasBeenSet(): void
3737 }
3838
3939 // Get the baseURL in app/Config/App.php
40- // You can't use Config\App, because phpunit.xml. dist sets app.baseURL
40+ // You can't use Config\App, because phpunit.dist.xml sets app.baseURL
4141 $ reader = new ConfigReader ();
4242
4343 // BaseURL in app/Config/App.php is a valid URL?
Original file line number Diff line number Diff line change @@ -172,11 +172,11 @@ as a comprehensive collection of HTML files that show the status of every line o
172172
173173## PHPUnit XML Configuration
174174
175- The repository has a `` phpunit.xml. dist `` file in the project root that's used for
175+ The repository has a `` phpunit.dist.xml `` file in the project root that's used for
176176PHPUnit configuration. This is used to provide a default configuration if you
177177do not have your own configuration file in the project root.
178178
179- The normal practice would be to copy `` phpunit.xml. dist `` to `` phpunit.xml ``
179+ The normal practice would be to copy `` phpunit.dist.xml `` to `` phpunit.xml ``
180180(which is git ignored), and to tailor it as you see fit.
181181For instance, you might wish to exclude database tests, or automatically generate
182182HTML code coverage reports.
You can’t perform that action at this time.
0 commit comments