Skip to content

Commit a392c27

Browse files
authored
Merge pull request #165 from splitio/feature/php8
php8
2 parents 69ff696 + 0664397 commit a392c27

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+151
-943
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
build:
12+
name: Build
13+
runs-on: ubuntu-latest
14+
services:
15+
redis:
16+
image: redis
17+
ports:
18+
- 6379:6379
19+
strategy:
20+
matrix:
21+
php-versions: ['7.3', '8.0']
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v2
25+
26+
- name: Setup PHP
27+
uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: ${{ matrix.php-versions }}
30+
extensions: mbstring, intl
31+
ini-values: post_max_size=256M, max_execution_time=180
32+
coverage: xdebug
33+
34+
- name: Install dependencies
35+
run: |
36+
composer install --prefer-dist
37+
composer update
38+
composer dumpautoload
39+
40+
- name: script
41+
run: |
42+
vendor/bin/phpcs --ignore=functions.php --standard=PSR2 src/
43+
vendor/bin/phpunit -c phpunit.xml.dist -v --testsuite integration

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ php53test.php
1616
test.php
1717
.phpcd
1818
.vscode
19+
.DS_Store
1920

2021
#vim backup files
2122
*.swp

.travis.yml

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

CHANGES.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
7.0.0 (Nov 23, 2021)
2+
- BREAKING CHANGE: Removed support from versions older than PHP 7.3.
3+
- BREAKING CHANGE: Removed SharedMemory (shmop) component for Segments.
4+
- PHP 8 Compatibility: made Di methods public.
5+
- Upgraded dependencies.
6+
17
6.2.5 (Apr 27, 2021)
28
- Added delimiter in SharedMemory Cache.
39

0 commit comments

Comments
 (0)