Feature: todo languages#173
Feature: todo languages#173caouecs wants to merge 1 commit intophp-censor:masterphp-censor/php-censor:masterfrom caouecs:todo_languagesCopy head branch name to clipboard
Conversation
| $current = $this->getTranslations("{$this->basePath}/{$language}"); | ||
|
|
||
| foreach ($default as $key => $values) { | ||
| foreach ($values as $key2 => $value2) { |
There was a problem hiding this comment.
Avoid unused local variables such as '$value2'.
| @@ -0,0 +1,141 @@ | ||
| <?php |
There was a problem hiding this comment.
PHPCS: A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 7 and the first side effect is on line 141.
| * | ||
| * @internal Inspired from Laravel-lang project. | ||
| */ | ||
| class TodoGenerator |
There was a problem hiding this comment.
PHPCS: Each class must be in a namespace of at least one level (a top-level vendor name)
|
Thanks @caouecs!
|
|
|
OK, thank you! |
|
I did a new pull request ( #174 ) |
Contribution type
new feature on resources
Description of change
The script generates a file ( todo_languages.md ) with differences between English version and others languages. It is inspired by the script of Laravel-lang.
To generate the file :