-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install phpspec as a dev dependency Improve composer config Improve travis config Add editorconfig Add git attributes file Improve gitignore Add phpspec config, add coverage generation Update LICENSE Improve README Add change log Use an older version of code coverage to support older PHP Tweak travis config Change phpspec config name Update changelog Update LICENSE Remove coverage
- Loading branch information
1 parent
bbf3e49
commit fede2d3
Showing
9 changed files
with
89 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
spec/ export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.travis.yml export-ignore | ||
phpspec.yml.dist export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
vendor | ||
build/ | ||
vendor/ | ||
composer.lock | ||
phpspec.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,34 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
|
||
before_script: | ||
- "composer require --dev phpspec/phpspec:~2.0.0-RC4 --no-update" | ||
- "composer install --no-progress --no-plugins" | ||
env: | ||
global: | ||
- TEST_COMMAND="composer test" | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 5.3 | ||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" | ||
|
||
before_install: | ||
- travis_retry composer self-update | ||
|
||
install: | ||
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction | ||
|
||
script: | ||
- php vendor/bin/phpspec run | ||
- $TEST_COMMAND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Change Log | ||
|
||
|
||
## Unreleased | ||
|
||
### Changed | ||
|
||
- AggregateNormalizer now implements `Symfony\Component\Serializer\SerializerAwareInterface` | ||
|
||
|
||
## 1.0.0 - 2014-03-25 | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
{ | ||
"name" : "bernard/normalt", | ||
"license" : "MIT", | ||
|
||
"autoload" : { | ||
"psr-4" : { "Normalt\\" : "src" } | ||
"name": "bernard/normalt", | ||
"description": "Normalt is a extension to Symfony Serializer that only implements the Normalization part", | ||
"keywords": ["normalization", "denormalization"], | ||
"license": "MIT", | ||
"require": { | ||
"symfony/serializer": "^2.3 || ^3.0" | ||
}, | ||
|
||
"autoload-dev" : { | ||
"psr-4" : { "Fixtures\\" : "spec/Fixtures" } | ||
"require-dev": { | ||
"doctrine/common": "^2.1", | ||
"phpspec/phpspec": "^2.5" | ||
}, | ||
|
||
"require" : { | ||
"symfony/serializer" : "~2.3 || ~3.0" | ||
"autoload": { | ||
"psr-4": { "Normalt\\": "src/" } | ||
}, | ||
|
||
"require-dev" : { | ||
"doctrine/common" : "~2.1" | ||
"autoload-dev": { | ||
"psr-4": { "Fixtures\\": "spec/Fixtures/" } | ||
}, | ||
"scripts": { | ||
"test": "vendor/bin/phpspec" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "1.1-dev" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
suites: | ||
normalt_suite: | ||
namespace: Normalt | ||
formatter.name: pretty |