Skip to content

Commit

Permalink
Upgrade project to use Slim Framework 3
Browse files Browse the repository at this point in the history
Via PR #31

* jwelmac-slim-v3:
  Fix incorrect tabs in composer config
  Ensure data passed with request for other methods eg. post
  Add new classes
  100% Code Coverage. New SlimInstance class to abstract creation
  Test all methods in WebTestClient
  Ensure all tests passed. Wrote cookie test
  Updated composer json to match original
  Upgrade slim to v3, phpunit v5, dbunit v2
  • Loading branch information
craig-davis committed Aug 2, 2016
2 parents f1a1074 + 8ed4387 commit f7acd79
Show file tree
Hide file tree
Showing 11 changed files with 2,342 additions and 97 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea
/vendor/
15 changes: 8 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
{
"name": "Craig Davis",
"email": "craig@there4development.com"
}, {
"name": "Guillermo A. Fisher",
"homepage": "http://guillermoandraefisher.com"
}, {
"name": "Guillermo A. Fisher",
"homepage": "http://guillermoandraefisher.com"
}
],
"support": {
Expand All @@ -20,13 +20,13 @@
},
"minimum-stability": "dev",
"require": {
"slim/slim": "2.6.*",
"slim/slim": "3.*",
"phpunit/phpunit": "5.*",
"phpunit/dbunit": "2.*",
"illuminate/database": ">=4.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "1.*"
"squizlabs/php_codesniffer": "2.*"
},
"autoload": {
"psr-0": {
Expand All @@ -39,7 +39,8 @@
}
},
"scripts": {
"test" : "vendor/bin/phpunit --verbose --coverage-text",
"sniff" : "vendor/bin/phpcs --standard=PSR2 --extensions=php src tests"
"test": "vendor/bin/phpunit --verbose --coverage-text",
"sniff": "vendor/bin/phpcs --standard=PSR2 --extensions=php src tests",
"fix": "vendor/bin/phpcbf --standard=PSR2 --extensions=php controllers models routes src tests"
}
}
Loading

0 comments on commit f7acd79

Please sign in to comment.