summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-11-30 01:52:27 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-11-30 01:52:27 +0100
commite80fb54522c307afec3d8bb474a47dd9d2d5da64 (patch)
tree98633eb27bc514e51643766c0c4c45fc5cecfdd3
parent577c052aff605697cd173967751828a181cca4ad (diff)
Bumped PHP to >=7.2 as it not supported anymore (no security fixes)
-rw-r--r--README.md10
-rw-r--r--composer.json2
2 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index c5f3ac86..6333d245 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ To report bugs use [engelsystem/issues](https://github.com/engelsystem/engelsyst
## Installation
### Requirements
- * PHP >= 7.1
+ * PHP >= 7.2
* Required modules:
* dom
* json
@@ -150,7 +150,7 @@ docker-compose up
Run these commands once initially and then as required after changes
-```
+```bash
# Install composer dependencies
docker exec -it engelsystem_dev_es_workspace_1 composer i
@@ -169,7 +169,7 @@ docker exec -it engelsystem_dev_es_workspace_1 bin/migrate
While developing you may use the watch mode to rebuild the system on changes
-```
+```bash
# Run a front-end build
docker exec -it engelsystem_dev_es_workspace_1 yarn build:watch
```
@@ -199,10 +199,10 @@ We use gettext. You may use POEdit to extract new texts from the sourcecode. Ple
### Code style
Please ensure that your pull requests follow the [PSR-12](https://www.php-fig.org/psr/psr-12/) coding style guide.
You can check that by running
-```php
+```bash
composer run phpcs
```
You may auto fix reported issues by running
-```php
+```bash
composer run phpcbf
```
diff --git a/composer.json b/composer.json
index 4bd7ae40..0af3b2a6 100644
--- a/composer.json
+++ b/composer.json
@@ -18,7 +18,7 @@
"phpcbf": "phpcbf -p"
},
"require": {
- "php": ">=7.1.0",
+ "php": ">=7.2.0",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",