Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stygiansabyss committed Aug 12, 2016
0 parents commit ec80f33
Show file tree
Hide file tree
Showing 13 changed files with 4,267 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .csscomb.json
@@ -0,0 +1,26 @@
{
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "upper",
"block-indent": " ",
"color-shorthand": false,
"element-case": "lower",
"eof-newline": true,
"leading-zero": true,
"quotes": "single",
"sort-order-fallback": "abc",
"space-before-colon": "",
"space-after-colon": " ",
"space-before-combinator": " ",
"space-after-combinator": " ",
"space-between-declarations": "\n",
"space-before-opening-brace": " ",
"space-after-opening-brace": "\n",
"space-after-selector-delimiter": "\n",
"space-before-selector-delimiter": "",
"space-before-closing-brace": "\n",
"strip-spaces": true,
"tab-size": true,
"unitless-zero": true,
"vendor-prefix-align": true
}
31 changes: 31 additions & 0 deletions .editorconfig
@@ -0,0 +1,31 @@
# Editor Config
# =================================================
# http://editorconfig.org/#download

root = true

# All files
[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
spaces_around_operators = true

# 4-spaced files
[**.{js,json,php,xml,yml,md}]
indent_size = 4

# 2-spaced files
[**.{css,less,sass,html,htm,xhtml,blade.php}]
indent_size = 2

[{node_modules,vendor,bower_components,public/js/vendor,public/css/vendor}/**]
indent_style = ignore
indent_size = ignore
end_of_line = ignore
charset = ignore
trim_trailing_whitespace = ignore
insert_final_newline = ignore
spaces_around_operators = ignore
6 changes: 6 additions & 0 deletions .gitignore
@@ -0,0 +1,6 @@
/vendor
.DS_Store
/.idea
._*
coverage.xml
docs/build
16 changes: 16 additions & 0 deletions .scrutinizer.yml
@@ -0,0 +1,16 @@
tools:
external_code_coverage: true
php_analyzer:
enabled: true
config:
symfony_request_injection:
enabled: false
php_mess_detector: true
php_sim: false
sensiolabs_security_checker: true
php_changetracking: true
php_cs_fixer:
config: { level: psr2 }
checks:
php:
code_rating: true
24 changes: 24 additions & 0 deletions .travis.yml
@@ -0,0 +1,24 @@
language: php

php:
- 7.0
- 5.6
- hhvm

notifications:
slack: nukacode:HyFrc2QLi5PC5fPxadm07O5v

matrix:
allow_failures:
- php: hhvm
fast_finish: true

before_script:
- /home/travis/.phpenv/versions/7.0/bin/composer self-update
- /home/travis/.phpenv/versions/5.6/bin/composer self-update
- composer install

script:
- ./vendor/bin/phpspec run
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.xml
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 Travis Blasingame <tpblasingame@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
32 changes: 32 additions & 0 deletions composer.json
@@ -0,0 +1,32 @@
{
"name": "nukacode/database",
"description": "Database helpers for Laravel sites.",
"license": "MIT",
"authors": [
{
"name": "Stygian",
"email": "stygian.warlock.v2@gmail.com"
},
{
"name": "Riddles",
"email": "riddles@dev-toolbox.com"
}
],
"require": {
"illuminate/database": "^5.2.0"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1",
"henrikbjorn/phpspec-code-coverage": "~0.2",
"benconstable/phpspec-laravel": "~2.0"
},
"autoload": {
"psr-4": {
"NukaCode\\Database\\": "src/NukaCode/Database"
}
},
"minimum-stability": "dev"
}

0 comments on commit ec80f33

Please sign in to comment.