Skip to content

Commit 0aeee77

Browse files
authored
Updated project to php 8.1 (#109)
* Updated project to php 8.1 * Updated project to php 8.1
1 parent aeead8e commit 0aeee77

File tree

14 files changed

+265
-770
lines changed

14 files changed

+265
-770
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Quality Assurance
1+
name: Test Suite
22

33
on:
44
pull_request:
@@ -9,22 +9,22 @@ on:
99
jobs:
1010
static-analyze:
1111
name: "Static Analyze"
12-
uses: aeon-php/actions/.github/workflows/composer-script-static-analyze.yaml@main
12+
uses: flow-php/actions/.github/workflows/composer-script-static-analyze.yaml@main
1313

1414
tests:
1515
name: "Tests"
1616
strategy:
1717
fail-fast: false
1818
matrix:
1919
dependencies: [ locked, lowest, highest ]
20-
php-version: [ 7.4 , 8.0, 8.1 ]
20+
php-version: [ 8.1 ]
2121
operating-system: [ ubuntu-latest ]
2222

2323
runs-on: ${{ matrix.operating-system }}
2424

2525
services:
2626
elasticsearch:
27-
image: elasticsearch:7.12.0
27+
image: elasticsearch:7.17.2
2828
env:
2929
discovery.type: single-node
3030
options: >-

‎composer.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"prefer-stable": true,
77
"minimum-stability": "dev",
88
"require": {
9-
"php": "^7.4 || ~8.0",
9+
"php": "~8.1",
1010
"ext-json": "*",
1111
"flow-php/etl": "^1.0@dev"
1212
},
1313
"require-dev": {
14-
"elasticsearch/elasticsearch": "^7.6 || ^8.0"
14+
"elasticsearch/elasticsearch": "^7.6"
1515
},
1616
"suggest": {
1717
"elasticsearch/elasticsearch" : "PHP Elasticsearch client used by Loaders and Extractor, preferably versions ^7.6 | ^8.0"

‎composer.lock‎

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docker-compose.yaml.dist‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '2.2'
22
services:
33
elasticsearch:
4-
image: elasticsearch:7.12.0
4+
image: elasticsearch:8.1.2
55
container_name: flow-test-elasticsearch
66
ports:
77
- 9200:9200
@@ -10,9 +10,3 @@ services:
1010
- discovery.type=single-node
1111
- bootstrap.memory_lock=true
1212
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
13-
networks:
14-
- elastic
15-
16-
networks:
17-
elastic:
18-
driver: bridge

‎phpstan.neon‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
checkMissingIterableValueType: false
2+
checkGenericClassInNonGenericObjectType: false
33
level: max
44
paths:
55
- src

‎psalm.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0"?>
22
<psalm
3-
totallyTyped="true"
43
resolveFromConfigFile="true"
54
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
65
xmlns="https://getpsalm.org/schema/config"
7-
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
6+
xsi:schemaLocation="https://getpsalm.org/schema/config tools/vendor/vimeo/psalm/config.xsd"
87
cacheDirectory="var/psalm/cache"
8+
errorLevel="1"
99
>
1010
<projectFiles>
1111
<directory name="src"/>

0 commit comments

Comments
 (0)