Skip to content

Commit 28133b7

Browse files
committed
Merge branch 'release/1.1.0'
2 parents 80b2797 + 8bde3b1 commit 28133b7

File tree

8 files changed

+31
-42
lines changed

8 files changed

+31
-42
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ composer.phar
22
composer.lock
33
/vendor/
44
/.idea/
5-
/.phpunit.result.cache
5+
/.phpunit.result.cache
6+
/build

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,30 @@ matrix:
88
include:
99
# Latest dependencies with all PHP versions
1010
- php: 7.2
11+
- php: 7.2
12+
env: COMPOSER_UPDATE_FLAGS='--prefer-lowest --prefer-stable'
13+
- php: 7.3
1114
- php: 7.3
15+
env: COMPOSER_UPDATE_FLAGS='--prefer-lowest --prefer-stable'
1216
- php: 7.4
17+
- php: 7.4
18+
env: COMPOSER_UPDATE_FLAGS='--prefer-lowest --prefer-stable'
1319

1420
# Ignore the platform requirements for the upcoming PHP version
1521
- php: nightly
1622
env: COMPOSER_FLAGS='--ignore-platform-reqs'
23+
- php: nightly
24+
env:
25+
- COMPOSER_FLAGS='--ignore-platform-reqs'
26+
COMPOSER_UPDATE_FLAGS='--prefer-lowest --prefer-stable --ignore-platform-reqs'
1727
allow_failures:
1828
- php: nightly
1929
fast_finish: true
2030

2131
install:
2232
- curl -s http://getcomposer.org/installer | php
2333
- php composer.phar install --dev --no-interaction $COMPOSER_FLAGS
34+
- if [[ -n $COMPOSER_UPDATE_FLAGS ]]; then php composer.phar update $COMPOSER_UPDATE_FLAGS; fi
2435

2536
script:
2637
- mkdir -p build/logs;

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.1.0] - 2020-07-12
10+
### Fixed
11+
- Optimised composer dependencies. [PR#2](https://github.com/JsonMapper/LaravelPackage/pull/2)
12+
913
## [1.0.1] - 2020-04-28
1014
### Fixed
1115
- Fixed readme shields

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 JsonMapper
3+
Copyright (c) 2020 Danny van der Sluijs
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
![Logo](https://jsonmapper.github.io/JsonMapper/images/jsonmapper.png)
1+
![Logo](https://jsonmapper.net/images/jsonmapper.png)
2+
23
---
34
**This is a Laravel package for using JsonMapper in you Laravel application.**
45

56
JsonMapper is a PHP library that allows you to map a JSON response to your PHP objects that are either annotated using doc blocks or use typed properties.
6-
For more information see the project website: https://jsonmapper.github.io/JsonMapper/
7+
For more information see the project website: https://jsonmapper.net
78

89
![GitHub](https://img.shields.io/github/license/JsonMapper/LaravelPackage)
910
![Packagist Version](https://img.shields.io/packagist/v/json-mapper/laravel-package)
@@ -40,4 +41,4 @@ Please refer to [CONTRIBUTING.md](https://github.com/JsonMapper/LaravelPackage/b
4041
Thanks to everyone who has contributed to JsonMapper Laravel package! You can find a detailed list of contributors of JsonMapper on [GitHub](https://github.com/JsonMapper/LaravelPackage/graphs/contributors).
4142

4243
# License
43-
The MIT License (MIT). Please see [License File](https://github.com/JsonMapper/LaravelPackage/blob/master/LICENSE) for more information.
44+
The MIT License (MIT). Please see [License File](https://github.com/JsonMapper/LaravelPackage/blob/master/LICENSE) for more information.

Version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.1.0

build/logs/clover-unit-tests.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

composer.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"minimum-stability": "stable",
1414
"require": {
1515
"json-mapper/json-mapper": "^1.0",
16-
"laravel/framework": "^7.0",
17-
"php": "^7.2 || ^8.0"
16+
"php": "^7.2 || ^8.0",
17+
"illuminate/support": "^5.5|^6|^7"
1818
},
1919
"autoload": {
2020
"psr-4": {
@@ -27,10 +27,10 @@
2727
}
2828
},
2929
"scripts": {
30-
"phpcs": ["./vendor/bin/phpcs --standard=PSR12 src tests"],
31-
"phpcbf": ["./vendor/bin/phpcbf --standard=PSR12 src tests"],
32-
"phpstan": "./vendor/bin/phpstan analyse",
33-
"unit-tests": "./vendor/bin/phpunit --testsuite unit --testdox --coverage-clover=build/logs/clover-unit-tests.xml"
30+
"phpcs": "phpcs --standard=PSR12 src tests",
31+
"phpcbf": "phpcbf --standard=PSR12 src tests",
32+
"phpstan": "phpstan analyse",
33+
"unit-tests": "phpunit --testsuite unit --testdox --coverage-clover=build/logs/clover-unit-tests.xml"
3434
},
3535
"extra": {
3636
"laravel": {
@@ -43,6 +43,7 @@
4343
"squizlabs/php_codesniffer": "^3.5",
4444
"phpstan/phpstan": "^0.12.19",
4545
"php-coveralls/php-coveralls": "^2.2",
46-
"phpunit/phpunit": "^8.0"
46+
"phpunit/phpunit": "^8.0",
47+
"orchestra/testbench": "^5.3"
4748
}
4849
}

0 commit comments

Comments
 (0)