diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..db0748c --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,5 @@ +languages: + PHP: true +exclude_paths: + - "tests/*" + - "stubs/*" \ No newline at end of file diff --git a/README.md b/README.md index c2dd9eb..bf01dce 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Cloner +[![Test Coverage](https://codeclimate.com/repos/55b7b9dce30ba04482018fb3/badges/090016ac86c5ff0cc016/coverage.svg)](https://codeclimate.com/repos/55b7b9dce30ba04482018fb3/coverage)[![Code Climate](https://codeclimate.com/repos/55b7b9dce30ba04482018fb3/badges/090016ac86c5ff0cc016/gpa.svg)](https://codeclimate.com/repos/55b7b9dce30ba04482018fb3/feed) + A trait for Laravel Eloquent models that lets you clone of a model and it's relationships, including files.