Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
brentscheffler committed Sep 4, 2019
1 parent 55fbf4e commit b4f62c6
Show file tree
Hide file tree
Showing 19 changed files with 3,867 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root=true

[*]
end_of_line=lf
indent_style=tab
indent_size=4
charset=utf-8
trim_trailing_whitespace=true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vendor/
build/
.phpunit.result.cache
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: php
php:
- '7.2'

install:
- composer install

script:
- make coverage

after_success:
- travis_retry php vendor/bin/php-coveralls
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.PHONY: release

test:
vendor/bin/phpunit

coverage:
vendor/bin/phpunit --coverage-clover=build/logs/clover.xml

analyze:
vendor/bin/psalm

release:
php release
27 changes: 27 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "nimbly/carton",
"description": "A PSR-11 container implementation.",
"type": "library",
"require": {
"php": ">= 7.2",
"psr/container": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.3",
"vimeo/psalm": "^3.4",
"php-coveralls/php-coveralls": "^2.1",
"symfony/var-dumper": "^4.3"
},
"license": "MIT",
"authors": [
{
"name": "Brent Scheffler",
"email": "brent@nimbly.io"
}
],
"autoload": {
"psr-4": {
"Carton\\": "src\/"
}
}
}
Loading

0 comments on commit b4f62c6

Please sign in to comment.