File tree Expand file tree Collapse file tree 5 files changed +35
-5
lines changed
Expand file tree Collapse file tree 5 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 2525 - name : Setup PHP
2626 uses : shivammathur/setup-php@v2
2727 with :
28- php-version : 7.2
28+ php-version : 8.1
2929 extensions : dom, xml
3030 coverage : xdebug
3131 - name : Create directory public/coverage
3838 - name : Create directory public/docs
3939 run : mkdir ./public/docs
4040 - name : Install PhpDocumentor
41- # # Support PHP 7.2
42- run : wget https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0/phpDocumentor.phar && chmod +x phpDocumentor.phar
41+ run : wget https://phpdoc.org/phpDocumentor.phar && chmod +x phpDocumentor.phar
4342 - name : Build Documentation
4443 run : ./phpDocumentor.phar run -d ./src -t ./public/docs
4544
Original file line number Diff line number Diff line change @@ -103,4 +103,14 @@ jobs:
103103 run : |
104104 wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
105105 chmod +x php-coveralls.phar
106- php php-coveralls.phar --coverage_clover=build/clover.xml --json_path=build/coveralls-upload.json -vvv
106+ php php-coveralls.phar --coverage_clover=build/clover.xml --json_path=build/coveralls-upload.json -vvv
107+
108+ roave-backwards-compatibility-check :
109+ name : Roave Backwards Compatibility Check
110+ runs-on : ubuntu-latest
111+ steps :
112+ - uses : actions/checkout@v4
113+ with :
114+ fetch-depth : 0
115+ - name : " Check for BC breaks"
116+ run : docker run -u $(id -u) -v $(pwd):/app nyholm/roave-bc-check-ga
Original file line number Diff line number Diff line change 77 "license" : " MIT" ,
88 "autoload" : {
99 "psr-4" : {
10- "PhpOffice\\ Math\\ " : " src/Math/" ,
10+ "PhpOffice\\ Math\\ " : " src/Math/"
11+ }
12+ },
13+ "autoload-dev" : {
14+ "psr-4" : {
1115 "Tests\\ PhpOffice\\ Math\\ " : " tests/Math/"
1216 }
1317 },
Original file line number Diff line number Diff line change 1+ # 0.2.0
2+
3+ ## Enhancements
4+
5+ - N/A
6+
7+ ## Bug fixes
8+
9+ - N/A
10+
11+ ## Miscellaneous
12+
13+ - Github Action : Roave BC Check by [ @Progi1984 ] ( https://github/Progi1984 ) in [ #9 ] ( https://github.com/PHPOffice/Math/pull/9 )
Original file line number Diff line number Diff line change 1+ parameters :
2+ ignoreErrors :
3+ # 0.1 has not autoload-dev
4+ - ' #\[BC\] REMOVED: Class Tests\\PhpOffice\\Math\\.+ has been deleted#'
You can’t perform that action at this time.
0 commit comments