Skip to content

Commit 2c67052

Browse files
authored
Merge pull request #5 from factorio-item-browser/develop
Version 1.1.0
2 parents ae66201 + a45327f commit 2c67052

File tree

103 files changed

+1531
-1104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1531
-1104
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
/.gitignore export-ignore
66
/.travis.yml export-ignore
77
/docker-compose.yml export-ignore
8+
/phpcs.xml export-ignore
89
/phpunit.xml export-ignore

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/.idea
2-
/tests/log
2+
/test/log
33
/vendor

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
language: php
22

3-
php:
4-
- 7.0
5-
- 7.1
6-
- 7.2
7-
- nightly
3+
matrix:
4+
fast_finish: true
5+
include:
6+
- php: 7.0
7+
- php: 7.1
8+
- php: 7.2
9+
- php: nightly
10+
allow_failures:
11+
- php: nightly
812

913
install:
1014
- composer update --no-interaction
1115

1216
script:
1317
- vendor/bin/phpunit --coverage-clover=coverage.xml
18+
- vendor/bin/phpcs -np --colors
1419

1520
after_success:
1621
- bash <(curl -s https://codecov.io/bash)

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 1.1.0 - 2018-07-21
4+
5+
### Added
6+
7+
- `Machine` entity.
8+
- `/recipe/machines` request and response.
9+
10+
### Changed
11+
12+
- Expensive recipes are now returned attached to their normal version instead of a separate recipe.
13+
This changes the responses of `/item/ingredient`, `/item/product`, `/item/random`, `/recipe/details` and
14+
`/search/query` requests.
15+
16+
### Removed
17+
18+
- `Meta` entity from all responses.
19+
320
## 1.0.1 - 2018-04-14
421

522
### Added

composer.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"bluepsyduck/multicurl": "^2.0"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "^6.0"
20+
"phpunit/phpunit": "^6.0 || ^7.0",
21+
"squizlabs/php_codesniffer": "^3.3"
2122
},
2223
"autoload": {
2324
"psr-4": {
@@ -26,11 +27,17 @@
2627
},
2728
"autoload-dev": {
2829
"psr-4": {
29-
"FactorioItemBrowserTest\\Api\\Client\\": "tests/src/",
30-
"FactorioItemBrowserTestAsset\\Api\\Client\\": "tests/asset/"
30+
"FactorioItemBrowserTest\\Api\\Client\\": "test/src/",
31+
"FactorioItemBrowserTestAsset\\Api\\Client\\": "test/asset/"
3132
}
3233
},
3334
"scripts": {
34-
"test": "phpunit --colors=always --coverage-html=tests/log"
35+
"phpcbf": "phpcbf -p --colors",
36+
"phpcs": "phpcs -p --colors",
37+
"phpunit": "phpunit --colors=always --coverage-html=test/log",
38+
"test": [
39+
"@phpunit",
40+
"@phpcs"
41+
]
3542
}
3643
}

0 commit comments

Comments
 (0)