refactor: code style changes

Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
2023-01-15 00:04:00 +00:00
parent 25155bff2e
commit 3727c84f3e
146 changed files with 1013 additions and 1341 deletions

View File

@@ -17,35 +17,35 @@ return [
* Translations strings as key.
* They are stored in JSON file for each locale.
*/
'json' => true,
'json' => true,
],
/**
* Search criteria for files.
*/
'search' => [
'search' => [
/**
* Directories which should be looked inside.
*/
'dirs' => ['resources/views', 'app/Http/Controllers'],
'dirs' => ['resources/views', 'app/Http/Controllers'],
/**
* Patterns by which files should be queried.
* The values can be a regular expression, glob, or just a string.
*/
'patterns' => ['*.php'],
'patterns' => ['*.php'],
/**
* Functions that the strings will be extracted from.
* Add here any custom defined functions.
* NOTE: The translation string should always be the first argument.
*/
'functions' => ['__', 'trans_choice', 'trans', '@lang']
'functions' => ['__', 'trans_choice', 'trans', '@lang'],
],
/**
* Should the localize command sort extracted strings alphabetically?
*/
'sort' => true,
'sort' => true,
];