File tree 5 files changed +217
-443
lines changed
5 files changed +217
-443
lines changed Original file line number Diff line number Diff line change 17
17
18
18
strategy :
19
19
matrix :
20
- php_version : ['7.4 ', '8.0 ']
20
+ php_version : ['8.1 ', '8.2 ']
21
21
22
22
steps :
23
23
- uses : actions/checkout@v3
37
37
uses : php-actions/composer@v6
38
38
with :
39
39
php_version : " ${{ matrix.php_version }}"
40
- version : 1
40
+ version : 2
41
41
42
42
- name : Run phpunit tests on php ${{ matrix.php_version }}
43
43
uses : php-actions/phpunit@v3
Original file line number Diff line number Diff line change 1
1
build :
2
2
environment :
3
3
php :
4
- version : 7.4
4
+ version : 8.1
5
5
tests :
6
6
override :
7
7
- command : ' ./vendor/bin/phpunit --coverage-clover report.xml'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Simple bitmask implementation
3
3
4
4
[ ![ License] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( https://opensource.org/licenses/MIT )
5
5
[ ![ Packagist] ( https://img.shields.io/packagist/v/aliance/bitmask.svg )] ( https://packagist.org/packages/aliance/bitmask )
6
- ![ PHP Version] ( https://img.shields.io/badge/PHP-7.4 -green.svg )
6
+ ![ PHP Version] ( https://img.shields.io/badge/PHP-8.1 -green.svg )
7
7
[ ![ Code Coverage] ( https://scrutinizer-ci.com/g/Aliance/Bitmask/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/Aliance/Bitmask/?branch=master )
8
8
9
9
About
@@ -25,7 +25,7 @@ composer require aliance/bitmask
25
25
If you checkout this library for testing purposes, install its dependencies:
26
26
27
27
``` bash
28
- docker run --rm -it --volume $PWD :/app -u $( id -u) :$( id -g) composer:1.10.19 i
28
+ docker run --rm -it --volume $PWD :/app -u $( id -u) :$( id -g) composer:2 i
29
29
```
30
30
31
31
Usage
34
34
See usage in [ sample] ( ./example/example.php ) file.
35
35
36
36
``` bash
37
- docker run -it --rm -v " $PWD " :/usr/src/bitmask -w /usr/src/bitmask php:7.4 -cli php example/example.php
37
+ docker run -it --rm -v " $PWD " :/usr/src/bitmask -w /usr/src/bitmask php:8.1 -cli php example/example.php
38
38
```
39
39
```
40
40
Check user for all access levels:
58
58
59
59
For completely tests running just call ` composer exec phpunit ` or use
60
60
``` bash
61
- docker run -it --rm -v " $PWD " :/usr/src/bitmask -w /usr/src/bitmask php:7.4 -cli php ./vendor/bin/phpunit
61
+ docker run -it --rm -v " $PWD " :/usr/src/bitmask -w /usr/src/bitmask php:8.1 -cli php ./vendor/bin/phpunit
62
62
```
63
63
64
64
License
Original file line number Diff line number Diff line change 32
32
}
33
33
},
34
34
"require" : {
35
- "php-64bit" : " >=7.4 "
35
+ "php-64bit" : " >=8.1 "
36
36
},
37
37
"require-dev" : {
38
- "phpunit/phpunit" : " ~ 9"
38
+ "phpunit/phpunit" : " ^ 9"
39
39
}
40
40
}
You can’t perform that action at this time.
0 commit comments