Skip to content

Commit

Permalink
Upgrade xp-framework/command library & change to use prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Mar 28, 2024
1 parent e3f19a2 commit 3426966
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Dialog change log

## ?.?.? / ????-??-??

* Upgraded `xp-framework/command` library, being able to adjust the
argument methods' prefixes to the much nicer *use*.
(@thekid)

## 2.0.0 / 2024-03-24

* Changed main font from *Overpass* to *Barlow* - its rounded edges
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"xp-framework/compiler": "^9.0",
"xp-framework/imaging": "^10.1",
"xp-framework/command": "^11.0",
"xp-framework/command": "^12.0",
"xp-framework/networking": "^10.4",
"xp-forge/web": "^4.0",
"xp-forge/web-auth": "^4.0",
Expand Down
4 changes: 2 additions & 2 deletions src/main/php/de/thekid/dialog/import/LocalDirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ public function using(string $api): void {

/** Transfers images even if they have not been changed */
#[Arg]
public function setForce() {
public function useForce() {
$this->force= true;
}

/** Add verbose logging for API calls */
#[Arg]
public function setVerbose() {
public function useVerbose() {
$this->api->setTrace(Logging::all()->toConsole());
}

Expand Down

0 comments on commit 3426966

Please sign in to comment.