Skip to content

Commit d225c79

Browse files
committed
Drop support for PHP 7.3 and support PHP 8.0.
1 parent 522ed84 commit d225c79

File tree

5 files changed

+32
-16
lines changed

5 files changed

+32
-16
lines changed

.scrutinizer.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
1+
filter:
2+
dependency_paths:
3+
- "vendor/"
4+
excluded_paths:
5+
- 'test/'
6+
17
build:
28
environment:
3-
mysql: 5.7
9+
php:
10+
version: '7.4'
11+
pecl_extensions:
12+
- inotify
13+
14+
nodes:
15+
analysis:
16+
tests:
17+
override:
18+
- php-scrutinizer-run
419

5-
tests:
6-
before:
7-
- export PLAISIO_CONFIG_DIR=test
8-
- ./bin/phing kernel
9-
override:
10-
- command: './bin/phing unit'
11-
coverage:
12-
file: 'test/coverage.xml'
13-
format: 'php-clover'
20+
coverage:
21+
tests:
22+
before:
23+
- export PLAISIO_CONFIG_DIR=test
24+
- ./bin/phing kernel
25+
override:
26+
- command: './bin/phing unit'
27+
coverage:
28+
file: 'test/coverage.xml'
29+
format: 'php-clover'

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: php
22
php:
3-
- '7.3'
43
- '7.4'
4+
- '8.0'
55

66
sudo: true
77

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"license": "MIT",
99
"require": {
10-
"php": ">=7.3",
10+
"php": ">=7.4",
1111
"plaisio/blob-store": "^1.2.0",
1212
"plaisio/company-resolver": "^2.0.0",
1313
"plaisio/kernel": "^3.1.1",

src/BlobBlobStore.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ class BlobBlobStore extends PlaisioObject implements BlobStore
1717
*
1818
* @var string
1919
*/
20-
public static $filePath = '/usr/bin/file';
20+
public static string $filePath = '/usr/bin/file';
2121

2222
/**
2323
* Directory for storing temporary files. If null sys_get_temp_dir() will be used.
2424
*
25-
* @var ?string
25+
* @var string|null
2626
*/
27-
public static $tmpDir = null;
27+
public static ?string $tmpDir = null;
2828

2929
//--------------------------------------------------------------------------------------------------------------------
3030
/**

test/BlobBlobStoreTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class BlobBlobStoreTestCase extends TestCase
1717
*
1818
* @var PlaisioKernel
1919
*/
20-
protected $kernel;
20+
protected PlaisioKernel $kernel;
2121

2222
//--------------------------------------------------------------------------------------------------------------------
2323
/**

0 commit comments

Comments
 (0)