Skip to content

Commit 1b43bb1

Browse files
committed
Update test dependencies
1 parent 6c61214 commit 1b43bb1

File tree

6 files changed

+16
-35
lines changed

6 files changed

+16
-35
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,16 @@ cache:
66

77
php:
88
- 7.1
9+
- 7.2
910
- nightly
10-
- hhvm
1111

1212
matrix:
1313
fast_finish: true
1414
allow_failures:
1515
- php: nightly
16-
- php: hhvm
1716

1817
install:
1918
- export PATH="$PATH:$HOME/.composer/vendor/bin"
20-
- composer tools
2119
- composer global require satooshi/php-coveralls ^1.0.0
2220
- composer update --no-interaction
2321

@@ -27,8 +25,8 @@ before_script:
2725

2826
script:
2927
- "! (composer outdated --direct | grep ^)"
30-
- vendor-tools/bin/php-cs-fixer fix --dry-run
31-
- vendor-tools/bin/phpstan analyse --level=7 --configuration=phpstan.neon src tests
28+
- vendor/bin/php-cs-fixer fix --dry-run
29+
- vendor/bin/phpstan analyse --level=7 --configuration=phpstan.neon src tests
3230
- vendor/bin/codecept run $coverage
3331

3432
after_success:

composer-tools.json

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

composer-tools.sh

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

composer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@
1414
"require": {
1515
"php": "^7.1.0",
1616
"codeception/codeception": "^2.3.2",
17-
"nette/bootstrap": "^3.0.0@alpha",
18-
"nette/di": "^3.0.0@alpha",
19-
"nette/http": "^3.0.0@alpha"
17+
"nette/bootstrap": "^3.0.0",
18+
"nette/di": "^3.0.0",
19+
"nette/http": "^3.0.0"
2020
},
2121
"require-dev": {
22-
"nette/application": "^3.0.0@alpha",
23-
"nette/caching": "^3.0.0@alpha",
24-
"latte/latte": "^3.0.0@alpha",
22+
"friendsofphp/php-cs-fixer": "^2.7.0@dev",
23+
"nette/application": "^3.0.0",
24+
"nette/caching": "^3.0.0",
25+
"latte/latte": "^3.0.0",
26+
"phpstan/phpstan": "^0.8.5",
27+
"phpstan/phpstan-nette": "^0.8.3",
2528
"tracy/tracy": "^2.4.0"
2629
},
2730
"minimum-stability": "alpha",
@@ -45,8 +48,8 @@
4548
"@analyse",
4649
"@test"
4750
],
48-
"fix": "\"vendor-tools/bin/php-cs-fixer\" fix",
49-
"analyse": "\"vendor-tools/bin/phpstan\" analyse --no-progress --level=7 --configuration=phpstan.neon src tests",
51+
"fix": "\"vendor/bin/php-cs-fixer\" fix",
52+
"analyse": "\"vendor/bin/phpstan\" analyse --no-progress --level=7 --configuration=phpstan.neon src tests",
5053
"test": [
5154
"\"vendor/bin/codecept\" build",
5255
"\"vendor/bin/codecept\" run --debug"

phpstan.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
includes:
2-
- vendor-tools/phpstan/phpstan-nette/extension.neon
3-
- vendor-tools/phpstan/phpstan-nette/rules.neon
2+
- vendor/phpstan/phpstan-nette/extension.neon
3+
- vendor/phpstan/phpstan-nette/rules.neon
44

55
parameters:
66
excludes_analyse:

tests.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ How to run tests
22
====
33

44
```
5-
# install php-cs-fixer and phpstan
6-
composer tools
7-
8-
# go to the project's root directory, but NOT the tests subdirectory
9-
cd <project_dir>
10-
115
# install dependencies
126
composer update
137

0 commit comments

Comments
 (0)