-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from blankqwq/analysis-RvGapO
Apply fixes from StyleCI
- Loading branch information
Showing
57 changed files
with
435 additions
and
100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Contract; | ||
|
||
use Blankqwq\Mirai\Contract\Api\FileApiContract; | ||
|
@@ -9,5 +18,4 @@ | |
|
||
interface ApiContract extends GroupApiContract, ManageApiContract, FileApiContract, MessageApiContract | ||
{ | ||
|
||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Contract; | ||
|
||
interface MessageTypeContract | ||
{ | ||
public function getData(); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,14 +13,11 @@ | |
|
||
trait FileApi | ||
{ | ||
|
||
public function upload() | ||
{ | ||
|
||
} | ||
|
||
public function unlink() | ||
{ | ||
|
||
} | ||
} |
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 |
---|---|---|
|
@@ -13,5 +13,4 @@ | |
|
||
class ApiEnum | ||
{ | ||
|
||
} |
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 |
---|---|---|
@@ -1,8 +1,16 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event; | ||
|
||
class Event | ||
{ | ||
|
||
} | ||
} |
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 |
---|---|---|
@@ -1,10 +1,19 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotGroupPermissionChangeEvent | ||
{ | ||
public $origin; | ||
public $current; | ||
public $group; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1,14 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotInvitedJoinGroupRequestEvent | ||
|
@@ -10,4 +19,4 @@ class BotInvitedJoinGroupRequestEvent | |
public $groupName; | ||
public $nick; | ||
public $message; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotJoinGroupEvent | ||
{ | ||
public $group; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotLeaveEventActive | ||
{ | ||
public $group; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotLeaveEventKick | ||
{ | ||
public $group; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,10 +1,19 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotMuteEvent | ||
{ | ||
public $durationSeconds; | ||
public $operator; | ||
public $group; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotOfflineEventActive | ||
class BotOfflineEventActive | ||
{ | ||
public $qq; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotOfflineEventDropped | ||
class BotOfflineEventDropped | ||
{ | ||
public $qq; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotOfflineEventForce | ||
class BotOfflineEventForce | ||
{ | ||
public $qq; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,10 +1,17 @@ | ||
<?php | ||
|
||
namespace Blankqwq\Mirai\Event\EventType; | ||
/* | ||
* This file is part of the blankqwq/mirai-sdk. | ||
* | ||
* (c) blankqwq <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
use Blankqwq\Mirai\Event\Event; | ||
namespace Blankqwq\Mirai\Event\EventType; | ||
|
||
class BotOnlineEvent | ||
class BotOnlineEvent | ||
{ | ||
public $qq; | ||
} | ||
} |
Oops, something went wrong.