Skip to content

Commit 1b7197f

Browse files
committed
Merge branch 'test-refactor'
2 parents 2c2afdb + 8b5c61c commit 1b7197f

17 files changed

+448
-1271
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ publish/
125125
# Publish Web Output
126126
*.[Pp]ublish.xml
127127
*.azurePubxml
128-
# TODO: Comment the next line if you want to checkin your web deploy settings
128+
# TODO: Comment the next line if you want to checkin your web deploy settings
129129
# but database connection strings (with potential passwords) will be unencrypted
130130
*.pubxml
131131
*.publishproj
@@ -184,6 +184,9 @@ FakesAssemblies/
184184

185185
# Composer
186186
/vendor
187+
composer.lock
187188

188189
# .vs
189-
.vs/
190+
.vs/
191+
192+
.phpunit.result.cache

composer.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121
"php": ">=5.6.0"
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "@stable"
24+
"phpunit/phpunit": "@stable",
25+
"php-parallel-lint/php-parallel-lint": "^1.2"
2526
},
2627
"suggest": {
27-
"bacon/bacon-qr-code": "Needed for BaconQrCodeProvider provider",
28-
"endroid/qr-code": "Needed for EndroidQrCodeProvider"
28+
"bacon/bacon-qr-code": "Needed for BaconQrCodeProvider provider",
29+
"endroid/qr-code": "Needed for EndroidQrCodeProvider"
2930
},
3031
"autoload": {
3132
"psr-4": {
@@ -34,7 +35,15 @@
3435
},
3536
"autoload-dev": {
3637
"psr-4": {
37-
"RobThree\\Auth\\Test\\": "tests"
38+
"Tests\\": "tests/"
3839
}
40+
},
41+
"scripts": {
42+
"lint": [
43+
"parallel-lint --exclude vendor ."
44+
],
45+
"test": [
46+
"XDEBUG_MODE=coverage phpunit"
47+
]
3948
}
4049
}

0 commit comments

Comments
 (0)