Skip to content

Commit

Permalink
Bump version and update config/* to pretty style
Browse files Browse the repository at this point in the history
  • Loading branch information
Crizz0 committed Jan 24, 2020
1 parent 0e5ecc8 commit 82c6e28
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 46 deletions.
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@
"type": "phpbb-extension",
"description": "Provides a pastebin including syntax highlighting",
"homepage": "https://www.phpbb.de/community/",
"version": "2.0.0",
"time": "2019-10-24",
"version": "2.0.1",
"time": "2020-01-24",
"license": "GPL-2.0-only",
"authors": [
{
"name": "Martin Beckmann",
"email": "gn#[email protected]",
"homepage": "https://www.phpbb.de/",
"role": "Lead Developer"
},
{
"name": "Christian Schnegelberger",
"email": "[email protected]",
"homepage": "https://www.phpbb.de/",
"role": "Developer"
}
],
"require": {
Expand Down
6 changes: 4 additions & 2 deletions config/routing.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
phpbbde_pastebin_main_controller:
pattern: /pastebin/
defaults: { _controller: phpbbde.pastebin.controller.main:handle, name: "" }
path: /pastebin/
defaults:
_controller: 'phpbbde.pastebin.controller.main:handle'
name: ""
84 changes: 42 additions & 42 deletions config/services.yml
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
parameters:
phpbbde.pastebin.path: %core.root_path%ext/phpbbde/pastebin/
phpbbde.pastebin.geshi: %phpbbde.pastebin.path%vendor/easybook/geshi/
phpbbde.pastebin.geshilangs: %phpbbde.pastebin.geshi%geshi/
phpbbde.pastebin.path: '%core.root_path%ext/phpbbde/pastebin/'
phpbbde.pastebin.geshi: '%phpbbde.pastebin.path%vendor/easybook/geshi/'
phpbbde.pastebin.geshilangs: '%phpbbde.pastebin.geshi%geshi/'
phpbbde.pastebin.cron.prune_interval: 86400
tables.phpbbde.pastebin.pastebin: %core.table_prefix%pastebin
tables.phpbbde.pastebin.pastebin: '%core.table_prefix%pastebin'
services:
phpbbde.pastebin.functions.utility:
class: phpbbde\pastebin\functions\utility
arguments:
- %phpbbde.pastebin.geshilangs%
- '%phpbbde.pastebin.geshilangs%'
phpbbde.pastebin.functions.pastebin:
class: phpbbde\pastebin\functions\pastebin
arguments:
- @dbal.conn
- @user
- %tables.phpbbde.pastebin.pastebin%
- '@dbal.conn'
- '@user'
- '%tables.phpbbde.pastebin.pastebin%'
phpbbde.pastebin.controller.main:
class: phpbbde\pastebin\controller\main
arguments:
- @auth
- @cache
- @config
- @request
- @dbal.conn
- @template
- @user
- @controller.helper
- @captcha.factory
- @phpbbde.pastebin.functions.utility
- @phpbbde.pastebin.functions.pastebin
- %core.root_path%
- %core.php_ext%
- %phpbbde.pastebin.geshi%
- %phpbbde.pastebin.geshilangs%
- %tables.phpbbde.pastebin.pastebin%
- '@auth'
- '@cache'
- '@config'
- '@request'
- '@dbal.conn'
- '@template'
- '@user'
- '@controller.helper'
- '@captcha.factory'
- '@phpbbde.pastebin.functions.utility'
- '@phpbbde.pastebin.functions.pastebin'
- '%core.root_path%'
- '%core.php_ext%'
- '%phpbbde.pastebin.geshi%'
- '%phpbbde.pastebin.geshilangs%'
- '%tables.phpbbde.pastebin.pastebin%'
phpbbde.pastebin.base_listener:
class: phpbbde\pastebin\event\base_events
arguments:
- @auth
- @template
- @controller.helper
- @user
- %core.root_path%
- %core.php_ext%
- '@auth'
- '@template'
- '@controller.helper'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: event.listener }
- {name: event.listener}
phpbbde.pastebin.acp_listener:
class: phpbbde\pastebin\event\acp_events
tags:
- { name: event.listener }
- {name: event.listener}
phpbbde.pastebin.cron.main:
class: phpbbde\pastebin\cron\main
arguments:
- @cache
- @config
- @dbal.conn
- @log
- %phpbbde.pastebin.path%
- %core.root_path%
- %core.php_ext%
- %phpbbde.pastebin.cron.prune_interval%
- %tables.phpbbde.pastebin.pastebin%
- '@cache'
- '@config'
- '@dbal.conn'
- '@log'
- '%phpbbde.pastebin.path%'
- '%core.root_path%'
- '%core.php_ext%'
- '%phpbbde.pastebin.cron.prune_interval%'
- '%tables.phpbbde.pastebin.pastebin%'
calls:
- [set_name, [phpbbde.pastebin.cron.main]]
tags:
- { name: cron.task }
- {name: cron.task}

0 comments on commit 82c6e28

Please sign in to comment.