File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 cs-fix :
1212 name : Run code style check
13- runs-on : " ubuntu-22 .04"
13+ runs-on : " ubuntu-24 .04"
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
1616
1717 - name : Setup PHP Action
1818 uses : shivammathur/setup-php@v2
2222 extensions : ' pdo_sqlite, gd'
2323 tools : cs2pr
2424
25- - uses : ramsey/composer-install@v2
25+ - uses : ramsey/composer-install@v3
2626 with :
2727 dependency-versions : highest
2828
3131
3232 tests :
3333 name : Unit & integration tests
34- runs-on : " ubuntu-22 .04"
34+ runs-on : " ubuntu-24 .04"
3535 timeout-minutes : 15
3636
3737 strategy :
4343 - ' 8.2'
4444
4545 steps :
46- - uses : actions/checkout@v3
46+ - uses : actions/checkout@v4
4747
4848 - name : Setup PHP Action
4949 uses : shivammathur/setup-php@v2
5353 extensions : pdo_sqlite, gd
5454 tools : cs2pr
5555
56- - uses : ramsey/composer-install@v2
56+ - uses : ramsey/composer-install@v3
5757 with :
5858 dependency-versions : highest
5959
Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 timeout-minutes : 15
1717
18+ strategy :
19+ matrix :
20+ php :
21+ - ' 7.4'
22+
1823 steps :
19- - uses : actions/checkout@v2
24+ - uses : actions/checkout@v4
2025
2126 - name : Set project version
2227 run : |
2631 - name : Setup PHP Action
2732 uses : shivammathur/setup-php@v2
2833 with :
29- php-version : 7.4
34+ php-version : ${{ matrix.php }}
3035 coverage : none
3136
3237 - name : Cache dependencies
4146 run : |
4247 curl -L "https://raw.githubusercontent.com/ibexa/ci-scripts/main/bin/${{ env.version }}/prepare_project_edition.sh" > prepare_project_edition.sh
4348 chmod +x prepare_project_edition.sh
44- ./prepare_project_edition.sh ${{ env.PROJECT_EDITION }} ${{ env.version }} ${{ env.SETUP }}
49+ ./prepare_project_edition.sh ${{ env.PROJECT_EDITION }} ${{ env.version }} ${{ env.SETUP }} "ghcr.io/ibexa/docker/php:${{ matrix.php }}-node18"
4550
4651 - name : Run setup command
4752 run : |
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ protected function convertDom(\DOMNode $node)
128128 $ current = [];
129129 $ text = '' ;
130130
131- if ($ node instanceof \DOMElement) {
131+ if ($ node instanceof \DOMElement && $ node -> attributes !== null ) {
132132 foreach ($ node ->attributes as $ name => $ attribute ) {
133133 $ current ["_ {$ name }" ] = $ attribute ->value ;
134134 }
You can’t perform that action at this time.
0 commit comments