File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818 strategy :
1919 matrix :
20- php_version : ['7.4 ', '8.0 ']
20+ php_version : ['8.1 ', '8.2 ']
2121
2222 steps :
2323 - uses : actions/checkout@v3
3737 uses : php-actions/composer@v6
3838 with :
3939 php_version : " ${{ matrix.php_version }}"
40- version : 1
40+ version : 2
4141
4242 - name : Run phpunit tests on php ${{ matrix.php_version }}
4343 uses : php-actions/phpunit@v3
Original file line number Diff line number Diff line change 11build :
22 environment :
33 php :
4- version : 7.4
4+ version : 8.1
55 tests :
66 override :
77 - 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
33
44[ ![ License] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( https://opensource.org/licenses/MIT )
55[ ![ 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 )
77[ ![ Code Coverage] ( https://scrutinizer-ci.com/g/Aliance/Bitmask/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/Aliance/Bitmask/?branch=master )
88
99About
@@ -25,7 +25,7 @@ composer require aliance/bitmask
2525If you checkout this library for testing purposes, install its dependencies:
2626
2727``` 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
2929```
3030
3131Usage
3434See usage in [ sample] ( ./example/example.php ) file.
3535
3636``` 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
3838```
3939```
4040Check user for all access levels:
5858
5959For completely tests running just call ` composer exec phpunit ` or use
6060``` 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
6262```
6363
6464License
Original file line number Diff line number Diff line change 3232 }
3333 },
3434 "require" : {
35- "php-64bit" : " >=7.4 "
35+ "php-64bit" : " >=8.1 "
3636 },
3737 "require-dev" : {
38- "phpunit/phpunit" : " ~ 9"
38+ "phpunit/phpunit" : " ^ 9"
3939 }
4040}
You can’t perform that action at this time.
0 commit comments