This repository has been archived by the owner on Nov 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(gitignore): Add .php_cs.cache to .gitignore
The php-cs fixer creates a cache file which should not be commited. Add it to the .gitgnore to avoid any mistakes.
- Loading branch information
Showing
5 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: Rhilip | ||
* Date: 12/9/2019 | ||
* Time: 2019 | ||
*/ | ||
|
||
namespace PHPSTORM_META { | ||
|
||
registerArgumentsSet('config_base', | ||
/** | ||
* The uri of site's tracker, without `https?://` at before and `/` at end | ||
* Left it blank unless you know what you are doing. | ||
* Because It will automatically generate to `%config(base_site_url)%/tracker/announce` | ||
* | ||
* If you want to edited it , Must include key `announce` in uri | ||
* | ||
* @var string | ||
* @example "ridpt.top/tracker/announce" | ||
*/ | ||
'base.site_tracker_url', | ||
|
||
/** | ||
* The tracker list which will set in torrent->{announce-list} | ||
* Left it blank unless you know what you are doing. | ||
* | ||
* If you should edited it , Following those suggestion: | ||
* - First enabled `%config(base_enabled_tracker_list)` | ||
* - The list should be encode with Separator `,` | ||
* - Each item MUST include key `announce` in uri | ||
* | ||
* @var array | ||
* @example "["ipv6.pt.rhilip.info/tracker/announce","ridpt.top/tracker/announce"]" | ||
*/ | ||
'base.site_multi_tracker_url' | ||
); | ||
|
||
expectedArguments(\config(), 0, argumentsSet('config_base')); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters