diff --git a/.travis.yml b/.travis.yml index dab5372..23b04c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,3 +50,4 @@ script: branches: only: - master + - test-php diff --git a/README.md b/README.md index 0cce991..1a57857 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# My Account Manager +# My Account Manager :) Personal project to have fun coding in JS + Vue on Electron. And hopeful to migrate it soon to TypeScript. diff --git a/src/TestCommand.php b/src/TestCommand.php new file mode 100644 index 0000000..377304e --- /dev/null +++ b/src/TestCommand.php @@ -0,0 +1,43 @@ +option('test')); + for ($i = 0; $i < $length; $i--) { // Noncompliant + //... + } + $test = $this->option('test'); + if ($test) { + $i = 0; + } + } +}