Skip to content

Commit d4bc375

Browse files
authored
Attempt to get working under PHP 8.0 and 8.1 (#161)
* Attempt to get working under PHP 8.1 - Removed lock file - Updated test matrix - Fixed tests to work on php 7.4, 8.0, 8.1 For reasons behind removing the lock file see: https://islandora.slack.com/archives/CM5PPAV28/p1659631615201049 Islandora/documentation#1908 (Removal approved) Instead we'll provide lock files in isle and ansible deployments. Additionally moving to drop tests for 7.3 as it is no longer supported by Drupal 9.4 and up. * Removed debug code
1 parent 4dca22a commit d4bc375

15 files changed

Lines changed: 13 additions & 33467 deletions

File tree

.github/workflows/build-2.x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
php-versions: ["7.3", "7.4"]
24+
php-versions: ["7.4"]
2525

2626
name: PHP ${{ matrix.php-versions }}
2727

.github/workflows/build-3.x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
php-versions: ["7.3", "7.4"]
24+
php-versions: ["7.4", "8.0", "8.1"]
2525

2626
name: PHP ${{ matrix.php-versions }}
2727

.gitignore

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
vendor
2-
config/settings.dev.yml
3-
config/settings.yml
4-
coverage.xml
51
.idea
2+
.php_cs.cache
3+
.phpunit
4+
.phpunit.result.cache
65
*.key
6+
*.lock
77
*.log
8-
syn-settings.xml
98
*/cfg/config.yaml
109
clover.xml
11-
.php_cs.cache
12-
.phpunit.result.cache
10+
config/settings.dev.yml
11+
config/settings.yml
12+
coverage.xml
13+
syn-settings.xml
14+
vendor

.scripts/tester

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
2+
export SYMFONY_DEPRECATIONS_HELPER=disabled
33
FAIL=0
44
for D in */; do
55
cd $D

Homarus/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"type": "project",
55
"license": "MIT",
66
"require": {
7-
"php": "^7.3 || ^7.4",
87
"ext-ctype": "*",
98
"ext-iconv": "*",
109
"islandora/crayfish-commons": "^3.0",

0 commit comments

Comments
 (0)