@@ -65,7 +65,7 @@ |
||
65 | 65 | /** |
66 | 66 | * process random. |
67 | 67 | * |
68 | - * @return string |
|
68 | + * @return \T3Bot\Slack\Message |
|
69 | 69 | */ |
70 | 70 | protected function processRandom() |
71 | 71 | { |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace T3Bot\Commands; |
12 | 12 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | ]; |
35 | 35 | |
36 | 36 | /** |
37 | - * @return bool|string |
|
37 | + * @return string|false |
|
38 | 38 | * |
39 | 39 | * @throws \Doctrine\DBAL\DBALException |
40 | 40 | */ |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace T3Bot\Commands; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | require_once __DIR__.'/../../vendor/autoload.php'; |
11 | 11 | require_once __DIR__.'/../../config/config.php'; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | class UnitTestsBootstrap |
11 | 11 | { |
12 | 12 | /** |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | $GLOBALS['config'] = array( |
11 | 11 | // project phase |
12 | 12 | 'projectPhase' => \T3Bot\Commands\AbstractCommand::PROJECT_PHASE_DEVELOPMENT, |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace T3Bot\Commands; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace T3Bot\Commands; |
12 | 12 |
@@ -100,7 +100,7 @@ |
||
100 | 100 | { |
101 | 101 | if ($user !== null) { |
102 | 102 | $this->client->apiCall('im.open', ['user' => $user]) |
103 | - ->then(function (Payload $response) use ($messageToSent) { |
|
103 | + ->then(function(Payload $response) use ($messageToSent) { |
|
104 | 104 | $channel = $response->getData()['channel']['id']; |
105 | 105 | if ($messageToSent instanceof Message) { |
106 | 106 | $data['unfurl_links'] = false; |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace T3Bot\Commands; |
12 | 12 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | $cats = array(':smiley_cat:', ':smile_cat:', ':heart_eyes_cat:', ':kissing_cat:', ':smirk_cat:', ':scream_cat:', |
50 | - ':crying_cat_face:', ':joy_cat:' ,':pouting_cat:', ); |
|
50 | + ':crying_cat_face:', ':joy_cat:', ':pouting_cat:',); |
|
51 | 51 | |
52 | 52 | $responses = array( |
53 | 53 | 'daddy' => 'My daddy is Frank Nägler aka <@neoblack>', |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * T3Bot. |
|
4 | - * |
|
5 | - * @author Frank Nägler <[email protected]> |
|
6 | - * |
|
7 | - * @link http://www.t3bot.de |
|
8 | - * @link http://wiki.typo3.org/T3Bot |
|
9 | - */ |
|
3 | + * T3Bot. |
|
4 | + * |
|
5 | + * @author Frank Nägler <[email protected]> |
|
6 | + * |
|
7 | + * @link http://www.t3bot.de |
|
8 | + * @link http://wiki.typo3.org/T3Bot |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace T3Bot\Commands; |
12 | 12 |