Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
chore: yarn format:php
Browse files Browse the repository at this point in the history
  • Loading branch information
inyono committed Oct 31, 2018
1 parent 42bf904 commit b708849
Show file tree
Hide file tree
Showing 376 changed files with 2,674 additions and 2,821 deletions.
2 changes: 1 addition & 1 deletion bin/ShortArrayConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@
file_put_contents($filePath, $code);
} else {
print $code;
}
}
6 changes: 3 additions & 3 deletions src/config/application.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
'CacheInvalidator',
'Cache',
'StaticPage',
'Newsletter'
'Newsletter',
],
// These are various options for the listeners attached to the ModuleManager
'module_listener_options' => [
Expand All @@ -80,15 +80,15 @@
// Module class.
'module_paths' => [
__DIR__ . '/../module',
__DIR__ . '/../vendor'
__DIR__ . '/../vendor',
],
// An array of paths from which to glob configuration files after
// modules are loaded. These effectively overide configuration
// provided by modules themselves. Paths may use GLOB_BRACE notation.
'config_glob_paths' => [
'config/autoload/{,*.}{global,local}.php',
'config/instance/{,*.}{global,local}.php',
'config/instance/navigation/*.php'
'config/instance/navigation/*.php',
],
// Whether or not to enable a configuration cache.
// If enabled, the merged configuration will be cached and used in
Expand Down
12 changes: 6 additions & 6 deletions src/config/autoload/strokercache.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
'page/view',
'navigation/render',
'sitemap',
'uuid/get'
]
]
]
]
]
'uuid/get',
],
],
],
],
],
];
10 changes: 5 additions & 5 deletions src/config/autoload/translator.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
[
'type' => 'gettext',
'base_dir' => __DIR__ . '/../../lang',
'pattern' => '%s/LC_MESSAGES/athene2.mo'
]
]
]
];
'pattern' => '%s/LC_MESSAGES/athene2.mo',
],
],
],
];
8 changes: 4 additions & 4 deletions src/config/autoload/zfcrbac.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
'ZfcRbac\Role\ObjectRepositoryRoleProvider' => [
'object_manager' => 'doctrine.entitymanager.orm_default',
'class_name' => 'User\Entity\Role',
'role_name_property' => 'name'
]
'role_name_property' => 'name',
],
],
'protection_policy' => GuardInterface::POLICY_ALLOW
]
'protection_policy' => GuardInterface::POLICY_ALLOW,
],
];
12 changes: 6 additions & 6 deletions src/config/instance/firewall/contexter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
[
'controller' => __NAMESPACE__ . '\Controller\ContextController',
'roles' => [
'admin'
]
'admin',
],
],
]
]
]
];
],
],
],
];
8 changes: 4 additions & 4 deletions src/config/instance/firewall/flag.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'ZfcRbac\Guard\RouteGuard' => [
'flag/add' => ['login'],
'flag/remove' => ['helper'],
]
]
]
];
],
],
],
];
8 changes: 4 additions & 4 deletions src/config/instance/firewall/license.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'license/add' => ['admin'],
'license/remove' => ['sysadmin'],
'license/update' => ['admin'],
]
]
]
];
],
],
],
];
8 changes: 4 additions & 4 deletions src/config/instance/firewall/related-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'related-content/add-category' => ['moderator'],
'related-content/remove' => ['moderator'],
'related-content/order' => ['moderator'],
]
]
]
];
],
],
],
];
28 changes: 14 additions & 14 deletions src/config/instance/firewall/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,36 @@
'login',
'register',
'restorePassword',
'activate'
'activate',
],
'roles' => [
'guest'
]
'guest',
],
],
[
'controller' => 'User\Controller\UserController',
'actions' => [
'me',
'logout',
'settings',
'changePassword'
'changePassword',
],
'roles' => [
'login'
]
'login',
],
],
[
'controller' => 'User\Controller\UserController',
'actions' => [
'addRole',
'removeRole',
'purge'
'purge',
],
'roles' => [
'sysadmin'
]
]
]
]
]
];
'sysadmin',
],
],
],
],
],
];
8 changes: 4 additions & 4 deletions src/config/instance/firewall/uuid.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'uuid/trash' => ['moderator'],
'uuid/restore' => ['moderator'],
'uuid/recycle-bin' => ['guest'],
]
]
]
];
],
],
],
];
Loading

0 comments on commit b708849

Please sign in to comment.