Skip to content

Commit 82c6e28

Browse files
committed
Bump version and update config/* to pretty style
1 parent 0e5ecc8 commit 82c6e28

File tree

3 files changed

+54
-46
lines changed

3 files changed

+54
-46
lines changed

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,21 @@
33
"type": "phpbb-extension",
44
"description": "Provides a pastebin including syntax highlighting",
55
"homepage": "https://www.phpbb.de/community/",
6-
"version": "2.0.0",
7-
"time": "2019-10-24",
6+
"version": "2.0.1",
7+
"time": "2020-01-24",
88
"license": "GPL-2.0-only",
99
"authors": [
1010
{
1111
"name": "Martin Beckmann",
1212
"email": "gn#[email protected]",
1313
"homepage": "https://www.phpbb.de/",
1414
"role": "Lead Developer"
15+
},
16+
{
17+
"name": "Christian Schnegelberger",
18+
"email": "[email protected]",
19+
"homepage": "https://www.phpbb.de/",
20+
"role": "Developer"
1521
}
1622
],
1723
"require": {

config/routing.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
phpbbde_pastebin_main_controller:
2-
pattern: /pastebin/
3-
defaults: { _controller: phpbbde.pastebin.controller.main:handle, name: "" }
2+
path: /pastebin/
3+
defaults:
4+
_controller: 'phpbbde.pastebin.controller.main:handle'
5+
name: ""

config/services.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,67 @@
11
parameters:
2-
phpbbde.pastebin.path: %core.root_path%ext/phpbbde/pastebin/
3-
phpbbde.pastebin.geshi: %phpbbde.pastebin.path%vendor/easybook/geshi/
4-
phpbbde.pastebin.geshilangs: %phpbbde.pastebin.geshi%geshi/
2+
phpbbde.pastebin.path: '%core.root_path%ext/phpbbde/pastebin/'
3+
phpbbde.pastebin.geshi: '%phpbbde.pastebin.path%vendor/easybook/geshi/'
4+
phpbbde.pastebin.geshilangs: '%phpbbde.pastebin.geshi%geshi/'
55
phpbbde.pastebin.cron.prune_interval: 86400
6-
tables.phpbbde.pastebin.pastebin: %core.table_prefix%pastebin
6+
tables.phpbbde.pastebin.pastebin: '%core.table_prefix%pastebin'
77
services:
88
phpbbde.pastebin.functions.utility:
99
class: phpbbde\pastebin\functions\utility
1010
arguments:
11-
- %phpbbde.pastebin.geshilangs%
11+
- '%phpbbde.pastebin.geshilangs%'
1212
phpbbde.pastebin.functions.pastebin:
1313
class: phpbbde\pastebin\functions\pastebin
1414
arguments:
15-
- @dbal.conn
16-
- @user
17-
- %tables.phpbbde.pastebin.pastebin%
15+
- '@dbal.conn'
16+
- '@user'
17+
- '%tables.phpbbde.pastebin.pastebin%'
1818
phpbbde.pastebin.controller.main:
1919
class: phpbbde\pastebin\controller\main
2020
arguments:
21-
- @auth
22-
- @cache
23-
- @config
24-
- @request
25-
- @dbal.conn
26-
- @template
27-
- @user
28-
- @controller.helper
29-
- @captcha.factory
30-
- @phpbbde.pastebin.functions.utility
31-
- @phpbbde.pastebin.functions.pastebin
32-
- %core.root_path%
33-
- %core.php_ext%
34-
- %phpbbde.pastebin.geshi%
35-
- %phpbbde.pastebin.geshilangs%
36-
- %tables.phpbbde.pastebin.pastebin%
21+
- '@auth'
22+
- '@cache'
23+
- '@config'
24+
- '@request'
25+
- '@dbal.conn'
26+
- '@template'
27+
- '@user'
28+
- '@controller.helper'
29+
- '@captcha.factory'
30+
- '@phpbbde.pastebin.functions.utility'
31+
- '@phpbbde.pastebin.functions.pastebin'
32+
- '%core.root_path%'
33+
- '%core.php_ext%'
34+
- '%phpbbde.pastebin.geshi%'
35+
- '%phpbbde.pastebin.geshilangs%'
36+
- '%tables.phpbbde.pastebin.pastebin%'
3737
phpbbde.pastebin.base_listener:
3838
class: phpbbde\pastebin\event\base_events
3939
arguments:
40-
- @auth
41-
- @template
42-
- @controller.helper
43-
- @user
44-
- %core.root_path%
45-
- %core.php_ext%
40+
- '@auth'
41+
- '@template'
42+
- '@controller.helper'
43+
- '@user'
44+
- '%core.root_path%'
45+
- '%core.php_ext%'
4646
tags:
47-
- { name: event.listener }
47+
- {name: event.listener}
4848
phpbbde.pastebin.acp_listener:
4949
class: phpbbde\pastebin\event\acp_events
5050
tags:
51-
- { name: event.listener }
51+
- {name: event.listener}
5252
phpbbde.pastebin.cron.main:
5353
class: phpbbde\pastebin\cron\main
5454
arguments:
55-
- @cache
56-
- @config
57-
- @dbal.conn
58-
- @log
59-
- %phpbbde.pastebin.path%
60-
- %core.root_path%
61-
- %core.php_ext%
62-
- %phpbbde.pastebin.cron.prune_interval%
63-
- %tables.phpbbde.pastebin.pastebin%
55+
- '@cache'
56+
- '@config'
57+
- '@dbal.conn'
58+
- '@log'
59+
- '%phpbbde.pastebin.path%'
60+
- '%core.root_path%'
61+
- '%core.php_ext%'
62+
- '%phpbbde.pastebin.cron.prune_interval%'
63+
- '%tables.phpbbde.pastebin.pastebin%'
6464
calls:
6565
- [set_name, [phpbbde.pastebin.cron.main]]
6666
tags:
67-
- { name: cron.task }
67+
- {name: cron.task}

0 commit comments

Comments
 (0)