Skip to content

Commit

Permalink
Merge pull request #13 from markhuot/speed-up-apply
Browse files Browse the repository at this point in the history
speed up applies
  • Loading branch information
markhuot authored Jan 16, 2024
2 parents 6fc767e + e6d6600 commit 001c70d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ protected function craftMigrateAll()
protected function craftProjectConfigApply()
{
$craftExePath = getenv('CRAFT_EXE_PATH') ?: './craft';
$process = new Process([$craftExePath, 'project-config/apply', '--force', '--interactive=0']);
$process = new Process([$craftExePath, 'project-config/apply', '--interactive=0']);
$process->setTty(Process::isTtySupported());
$process->setTimeout(null);
$process->start();
Expand Down
4 changes: 2 additions & 2 deletions src/traits/Snapshotable.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public function toSnapshotArray(array $extraAttributes = [], array $attributes =
}

/**
* @param array $extraAttributes Any additional fields that should be included in the snapshot
* @param array $attributes The default list of attributes that should be included in a snapshot
* @param array $extraAttributes Any additional fields that should be included in the snapshot
* @param array $attributes The default list of attributes that should be included in a snapshot
*/
public function toSnapshot(array $extraAttributes = [], array $attributes = ['title', 'slug', 'isDraft', 'isRevision', 'isNewForSite', 'isUnpublishedDraft', 'enabled', 'archived', 'uri', 'trashed', 'ref', 'status', 'url'])
{
Expand Down

0 comments on commit 001c70d

Please sign in to comment.