diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..467daf9 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,22 @@ +engines: + phpmd: + enabled: true + checks: + Design/TooManyPublicMethods: + enabled: true + Naming/ShortVariable: + enabled: true + CleanCode/StaticAccess: + enabled: true + Controversial/CamelCaseMethodName: + enabled: true + fixme: + enabled: true + duplication: + enabled: true + config: + languages: + - php: +ratings: + paths: + - src/** diff --git a/.gitignore b/.gitignore index 848a58c..f3bdaaa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -.idea composer.lock -vendor/ \ No newline at end of file +vendor/ +tests/tmp/* \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..91dfc80 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/dictionaries/simon.xml b/.idea/dictionaries/simon.xml new file mode 100644 index 0000000..87f7ef2 --- /dev/null +++ b/.idea/dictionaries/simon.xml @@ -0,0 +1,12 @@ + + + + bootmanager + bootmanagers + csrf + middlewares + pecee + urldecode + + + \ No newline at end of file diff --git a/.idea/markdown-navigator.xml b/.idea/markdown-navigator.xml new file mode 100644 index 0000000..e41dd85 --- /dev/null +++ b/.idea/markdown-navigator.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/markdown-navigator/profiles_settings.xml b/.idea/markdown-navigator/profiles_settings.xml new file mode 100644 index 0000000..57927c5 --- /dev/null +++ b/.idea/markdown-navigator/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..a5ba0c2 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php-test-framework.xml b/.idea/php-test-framework.xml new file mode 100644 index 0000000..82ec95c --- /dev/null +++ b/.idea/php-test-framework.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..db05e2b --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/simple-php-router.iml b/.idea/simple-php-router.iml new file mode 100644 index 0000000..2c4d89b --- /dev/null +++ b/.idea/simple-php-router.iml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..6383a15 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,990 @@ + + + + + + + + + + + + + + + $PROJECT_DIR$/composer.json + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $this->r + getInput + input()->get + getObject + helpers + group + addDefault + handleExc + function group + function parti + __toString + getValue + getError + (int) + setSize + helpers.php + getName + url( + url() + : void + void + set + hasParam + csrf_token + static function start + fireEvents( + EVENT_LOAD + ->setUrl + setUrl + addRoute + + + D:\Workspace\simple-php-router\src\Pecee\SimpleRouter\Route + D:\Workspace\simple-php-router\src + D:\Workspace\simple-php-router\tests\Pecee\SimpleRouter\Dummy + D:\Workspace\simple-php-router + E:\Workspace\simple-php-router\tests + E:\Workspace\simple-php-router\src\Pecee + E:\Workspace\simple-php-router + E:\Workspace\simple-php-router\src\Pecee\SimpleRouter + E:\Workspace\simple-php-router\tests\Pecee\SimpleRouter + E:\Workspace\simple-php-router\src + E:\Workspace\simple-php-router\src\Pecee\SimpleRouter\Route + + + + + + + + + + + false + + false + false + true + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +