File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed
Subcommands/SessionizeApi Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ public function notify(Cfp $cfp)
4646 $ uri = $ this ->shortenUri ($ cfp ->uri );
4747 $ tags = ' # ' . implode (' # ' , $ cfp ->tags );
4848
49- $ notificationString = sprintf (<<<'NOTIFICATION'
49+ $ notificationString = sprintf (
50+ <<<'NOTIFICATION'
5051 24 hours until the CfP for "%1$s" closes: %2$s
5152
5253 #cfp #conference%3$s
Original file line number Diff line number Diff line change @@ -15,10 +15,12 @@ class ConfigService
1515{
1616 private $ configFile = __DIR__ . '/../../config/callingallpapers.ini ' ;
1717
18- public function __construct () {}
18+ public function __construct ()
19+ {
20+ }
1921
2022 public function getConfiguration (): array
2123 {
2224 return parse_ini_file ($ this ->configFile )??[];
2325 }
24- }
26+ }
Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ public function getWriter()
3636 $ config = parse_ini_file ($ this ->configFile );
3737
3838 try {
39- $ writer = new $ config ['writer ' ]($ config ['event_api_url ' ],
40- $ config ['event_api_token ' ]);
39+ $ writer = new $ config ['writer ' ](
40+ $ config ['event_api_url ' ],
41+ $ config ['event_api_token ' ]
42+ );
4143 } catch (\Throwable $ e ) {
4244 throw new UnknownWriterException ('The requested writer could not be created ' );
4345 }
Original file line number Diff line number Diff line change @@ -43,4 +43,4 @@ protected function getServiceUrl() : string
4343 {
4444 return 'https://sessionize.com ' ;
4545 }
46- }
46+ }
Original file line number Diff line number Diff line change @@ -90,8 +90,7 @@ public function write(
9090 $ messages ,
9191 $ newline = false ,
9292 $ options = self ::OUTPUT_NORMAL
93- ): void
94- {
93+ ): void {
9594 // TODO: Implement write() method.
9695 }
9796
You can’t perform that action at this time.
0 commit comments