You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,22 +62,22 @@ To initialize the Updater class and start the update process, follow these steps
62
62
);
63
63
```
64
64
65
-
>-`$username`: Your GitHub username.
66
-
>-`$repository`: The name of your GitHub repository.
67
-
>-`$token`: The personal access token you generated earlier.
68
-
>-`$version`: The generated GitHub personal access token for the repository.
69
-
>-`$admin`: (Optional) The email address of the admin who will receive an email in case of update failure.
70
-
>-`$mailer`: (Optional) The email address that the email will be sent from.
71
-
>-`$exclude`: (Optional) An array of directories or files to exclude from the update. The array keys:<br> 'path' => an array of excluded paths<br> 'filename' => an array of excluded filenames
65
+
> `$username`: Your GitHub username.<br>
66
+
> `$repository`: The name of your GitHub repository.<br>
67
+
> `$token`: The personal access token you generated earlier.<br>
68
+
> `$version`: The generated GitHub personal access token for the repository.<br>
69
+
> `$admin`: (Optional) The email address of the admin who will receive an email in case of update failure.<br>
70
+
> `$mailer`: (Optional) The email address that the email will be sent from.<br>
71
+
> `$exclude`: (Optional) An array of directories or files to exclude from the update. The array keys:<br> 'path' => an array of excluded paths<br> 'filename' => an array of excluded filenames<br>
72
72
73
73
If a new release is available, the class will update your project automatically.
74
74
75
75
The class will return the update status with the following possible values:
76
76
77
-
> `UPDATED`: Indicates that the update was successful.
78
-
> `LATEST`: Indicates that the project is already up to date.
79
-
> `BUSY`: Indicates that an update process is already in progress.
80
-
> `ERROR`: Indicates that the update failed.
77
+
> `UPDATED`: Indicates that the update was successful.<br>
78
+
> `LATEST`: Indicates that the project is already up to date.<br>
79
+
> `BUSY`: Indicates that an update process is already in progress.<br>
0 commit comments