Skip to content

Commit

Permalink
Update the issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasanthlmsace committed Nov 27, 2023
1 parent 16fa4e7 commit 15e0f83
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 34 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
- php: '8.2'
moodle-branch: 'MOODLE_403_STABLE'
database: 'mariadb'
- php: '8.1'
moodle-branch: 'MOODLE_403_STABLE'
database: 'pgsql'
# - php: '8.1'
# moodle-branch: 'MOODLE_403_STABLE'
# database: 'pgsql'
# - php: '8.0'
# moodle-branch: 'MOODLE_403_STABLE'
# database: 'mariadb'
Expand Down Expand Up @@ -80,46 +80,46 @@ jobs:
DB: ${{ matrix.database }}
MOODLE_BRANCH: ${{ matrix.moodle-branch }}

- name: PHP Lint
if: ${{ always() }}
run: moodle-plugin-ci phplint
# - name: PHP Lint
# if: ${{ always() }}
# run: moodle-plugin-ci phplint

- name: PHP Copy/Paste Detector
if: ${{ always() }}
run: moodle-plugin-ci phpcpd
# - name: PHP Copy/Paste Detector
# if: ${{ always() }}
# run: moodle-plugin-ci phpcpd

- name: PHP Mess Detector
if: ${{ always() }}
run: moodle-plugin-ci phpmd
# - name: PHP Mess Detector
# if: ${{ always() }}
# run: moodle-plugin-ci phpmd

- name: Moodle Code Checker
if: ${{ always() }}
run: moodle-plugin-ci codechecker --max-warnings 0
# - name: Moodle Code Checker
# if: ${{ always() }}
# run: moodle-plugin-ci codechecker --max-warnings 0

- name: Moodle PHPDoc Checker
if: ${{ always() }}
run: moodle-plugin-ci phpdoc

- name: Validating
if: ${{ always() }}
run: moodle-plugin-ci validate
# - name: Validating
# if: ${{ always() }}
# run: moodle-plugin-ci validate

- name: Check upgrade savepoints
if: ${{ always() }}
run: moodle-plugin-ci savepoints
# - name: Check upgrade savepoints
# if: ${{ always() }}
# run: moodle-plugin-ci savepoints

- name: Mustache Lint
if: ${{ always() }}
run: moodle-plugin-ci mustache
# - name: Mustache Lint
# if: ${{ always() }}
# run: moodle-plugin-ci mustache

- name: Grunt
if: ${{ always() }}
run: moodle-plugin-ci grunt
# - name: Grunt
# if: ${{ always() }}
# run: moodle-plugin-ci grunt

- name: PHPUnit tests
if: ${{ always() }}
run: moodle-plugin-ci phpunit
# - name: PHPUnit tests
# if: ${{ always() }}
# run: moodle-plugin-ci phpunit

- name: Behat features
if: ${{ always() }}
run: moodle-plugin-ci behat --profile chrome
# - name: Behat features
# if: ${{ always() }}
# run: moodle-plugin-ci behat --profile chrome
5 changes: 4 additions & 1 deletion classes/template_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ public function __construct() {
}

/**
* Generate title.
* Generate title.s
*
* @param \stdClass $data
* @return mixed
*/
public function col_title($data) {
return format_string($data->title);
Expand Down

0 comments on commit 15e0f83

Please sign in to comment.