Skip to content

Commit 5d86c48

Browse files
author
Damien Debin
committed
Adds .gitattributes to ignore all test and documentation with “export-ignore”. Fix CI.
1 parent 6411f68 commit 5d86c48

File tree

7 files changed

+78
-850
lines changed

7 files changed

+78
-850
lines changed

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Ignore all test and documentation with “export-ignore”.
2+
.gitattributes export-ignore
3+
.gitignore export-ignore
4+
.idea export-ignore
5+
.php_cs export-ignore
6+
.travis.yml export-ignore
7+
README.md export-ignore
8+
phpunit.xml export-ignore
9+
phpstan.neon export-ignore
10+
/tests export-ignore
11+
/example export-ignore

.idea/atom-generator.iml

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 1 addition & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ cache:
66

77
sudo: false
88

9+
dist: trusty
10+
911
matrix:
1012
fast_finish: true
1113
include:
1214
- php: 7.1
1315
- php: 7.2
1416
- php: 7.3
17+
- php: 7.4
1518

1619
env:
1720
matrix:

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^2.15",
2727
"phpunit/phpunit": "^7",
28-
"phpstan/phpstan-strict-rules": "^0.11.1",
29-
"phpstan/phpstan-webmozart-assert": "^0.11.2"
28+
"phpstan/phpstan-strict-rules": "^0.12",
29+
"phpstan/phpstan-webmozart-assert": "^0.12"
3030
},
3131
"config": {
3232
"platform": {
@@ -44,8 +44,8 @@
4444
}
4545
},
4646
"scripts": {
47-
"test": "./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/phpstan analyse -l 7 -c phpstan.neon src tests && ./vendor/bin/phpunit",
48-
"phpstan": "./vendor/bin/phpstan analyse -l 7 -c phpstan.neon src tests",
49-
"phpunit": "./vendor/bin/phpunit"
47+
"test": "php-cs-fixer fix --allow-risky=yes && phpstan analyse -l 7 -c phpstan.neon src tests && phpunit",
48+
"phpstan": "phpstan analyse -l 7 -c phpstan.neon src tests",
49+
"phpunit": "phpunit"
5050
}
5151
}

0 commit comments

Comments
 (0)