Skip to content

Commit

Permalink
Raise PHP minimum version to 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Jan 10, 2025
1 parent a5b2f7f commit 00e854b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/php-stan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
strategy:
matrix:
include:
- php-version: '7.4'
- php-version: '8.0'
- php-version: '8.1'
- php-version: '8.2'
- php-version: '8.3'
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ jobs:
strategy:
matrix:
include:
- php-version: "7.4"
php-unit: "9.6.22"
- php-version: "8.0"
php-unit: "9.6.22"
- php-version: "8.1"
php-unit: "10.5.40"
- php-version: "8.2"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG-3.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ with some extra keywords: backend, tests, test, translation, funders, important
* **[Golfe du Morbihan Vannes agglomération](https://www.golfedumorbihan-vannesagglomeration.bzh/)**
* **[VSB Energy](https://www.vsb.energy/)**

### Important

* PHP 8.1 minimum is required

### Added

* Circular geometry measurement on draw
Expand All @@ -33,3 +37,4 @@ with some extra keywords: backend, tests, test, translation, funders, important

* Expose more OpenLayers and lit classes
* Reduce `mainLizmap` dependencies in all JavaScript code
* Raise PHP to version 8.1
4 changes: 2 additions & 2 deletions lizmap/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"authors": [
],
"require": {
"php": ">=7.4",
"php": ">=8.1",
"jelix/jelix": "dev-jelix-1.8.x",
"jelix/composer-module-setup": "^1.1.0",
"jelix/jcommunity-module": "^1.4.3",
Expand All @@ -24,7 +24,7 @@
"jelix/composer-module-setup": true
},
"platform": {
"php": "7.4"
"php": "8.1"
}
},
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion tests/units/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
],
"require": {
"php": ">=7.3.0",
"php": ">=8.1.0",
"phpunit/phpunit": "^10.5.29",
"phpstan/phpstan": "1.11.11"
},
Expand Down

0 comments on commit 00e854b

Please sign in to comment.