Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Move PHPUnit and PHP-CS-Fixer artifacts to the dist directory #790

Merged
merged 1 commit into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
->registerBuiltInFixers()
->registerCustomFixers($config->getCustomFixers())
->useRuleSet(new PhpCsFixer\RuleSet\RuleSet($config->getRules()))
->setCacheFile(__DIR__.'/dist/.php-cs-fixer.cache')
;

return $config;
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ clean:
rm -rf fixtures/check-requirements || true
@# Obsolete entries; Only relevant to someone who still has old artifacts locally
@rm -rf \
.php-cs-fixer.cache \
.phpunit.result.cache \
site \
website \
|| true
Expand Down
31 changes: 0 additions & 31 deletions phpcs.xml.dist

This file was deleted.

3 changes: 2 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
beStrictAboutResourceUsageDuringSmallTests="true"
convertDeprecationsToExceptions="true"
colors="true"
executionOrder="random">
executionOrder="random"
cacheResultFile="dist/.php-cs-fixer.cache">

<php>
<env name="BOX_ALLOW_XDEBUG" value="1"/>
Expand Down