Skip to content

Commit c810402

Browse files
committed
Replace outdated test setup code with composer.json
Also, we could require our PHP libraries as soon as we have uploaded them to Packagist.
1 parent 92cc574 commit c810402

File tree

6 files changed

+14
-233
lines changed

6 files changed

+14
-233
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
!.travis.yml
77
!.mailmap
88

9-
# Testing - created by test/setup_vendor.sh
10-
/vendor/
11-
129
# Exclude application log files
1310
var/log/*
1411

@@ -20,3 +17,7 @@ build/*
2017
# Exclude dompdf font cache
2118
library/vendor/dompdf/lib/fonts/*.php
2219
library/vendor/dompdf/lib/fonts/log.htm
20+
21+
# Exclude files from composer install
22+
vendor/
23+
composer.lock

composer.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"config": {
3+
"platform": {
4+
"php": "8.2"
5+
}
6+
},
7+
"require-dev": {
8+
"mockery/mockery": "^1.6"
9+
}
10+
}

test/check-syntax.php

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

test/setup_vendor.sh

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

test/travis-ldap.ini

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/travis_database.sh

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

0 commit comments

Comments
 (0)