Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmccreary committed Jul 31, 2023
1 parent b69a653 commit beafc49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion box.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"files": [
"composer.json"
],
"check-requirements": false,
"main": "shift-cli",
"output": "builds/shift-cli",
"compression": "GZ",
Expand Down
Binary file modified builds/shift-cli
Binary file not shown.
7 changes: 4 additions & 3 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
return [
'patchers' => [
function (string $filePath, string $prefix, string $content): string {
if ($filePath === 'src/ActionInvoker.php') {
if ($filePath === 'vendor/shift-tasks.php') {
return str_replace(
'\\\\Invoker\\\\Actions\\\\',
'\\\\'.$prefix.'\\\\Invoker\\\\Actions\\\\',
'Shift\\\\Cli\\\\',
$prefix.'\\\\Shift\\\\Cli\\\\',
$content
);
}

return $content;
},
],
Expand Down

0 comments on commit beafc49

Please sign in to comment.