diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml new file mode 100644 index 0000000..2d37e13 --- /dev/null +++ b/.github/workflows/php-cs-fixer.yml @@ -0,0 +1,7 @@ +name: PHP CS Fixer + +on: push + +jobs: + fixers: + uses: humhub/actions/.github/workflows/module-php-cs-fixer.yml@main diff --git a/Module.php b/Module.php index 9703e69..4d9b02c 100644 --- a/Module.php +++ b/Module.php @@ -12,7 +12,6 @@ class Module extends \humhub\components\Module { - /** * @var array a map of controllerId.actionId pairs which are forbiddden */ @@ -28,4 +27,4 @@ class Module extends \humhub\components\Module */ public $resourcesPath = 'resources'; -} \ No newline at end of file +} diff --git a/config.php b/config.php index 19b4308..df77b10 100644 --- a/config.php +++ b/config.php @@ -17,7 +17,6 @@ 'namespace' => 'humhub\modules\blockprofilechanges', 'events' => [ [AccountController::class, AccountController::EVENT_BEFORE_ACTION, ['\humhub\modules\blockprofilechanges\Events', 'onControllerAction']], - [AccountMenu::class, AccountMenu::EVENT_BEFORE_RUN, ['\humhub\modules\blockprofilechanges\Events', 'onAccountMenu']] - ] + [AccountMenu::class, AccountMenu::EVENT_BEFORE_RUN, ['\humhub\modules\blockprofilechanges\Events', 'onAccountMenu']], + ], ]; -?> \ No newline at end of file diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9814a73..6df09c8 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.0.1 (Unreleased) +------------------------ +- Enh #3: Use PHP CS Fixer + 1.0.0 (August 20, 2018) ------------------------ Initial release diff --git a/module.json b/module.json index fd47a6f..f13298a 100644 --- a/module.json +++ b/module.json @@ -5,9 +5,9 @@ "keywords": [ "api" ], - "version": "1.0.0", + "version": "1.0.1", "humhub": { "minVersion": "1.3" }, "screenshots": [] -} \ No newline at end of file +}