Skip to content

devel: consolidate multiple smarty->assign into arrays

8462018
Select commit
Loading
Failed to load commit list.
Open

devel: consolidate multiple calls #2500

devel: consolidate multiple smarty->assign into arrays
8462018
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Feb 24, 2026 in 17m 31s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #2500 devel: consolidate multiple calls.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has four jobs, running in parallel.

Job PHP ENV OS State
13041.1 8.1 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux passed
13041.2 8.2 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux passed
13041.3 8.3 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux passed
13041.4 8.4 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux passed

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Focal)
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "if": "(repo = chilek/lms) OR (branch =~ /^stable/)",
  "env": [
    "global={:COMPOSER_DISABLE_XDEBUG_WARN=>\"\\\"1\\\"\"}"
  ],
  "services": [
    "postgresql",
    "mysql"
  ],
  "before_install": [
    "if [[ \"$TRAVIS_PHP_VERSION\" == \"8.4\" ]]; then\n  echo \"Installing libpq 17 for PHP 8.4 compatibility...\"\n  sudo apt-get update -y\n  sudo apt-get install -y ca-certificates wget gnupg lsb-release\n  echo \"deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main\" | sudo tee /etc/apt/sources.list.d/pgdg.list\n  wget -qO- https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo tee /etc/apt/trusted.gpg.d/pgdg.asc >/dev/null\n  sudo apt-get update -y\n  sudo apt-get install -y postgresql-client-17\nfi\n"
  ],
  "install": [
    "composer install ${COMPOSER_EXTRA_PARAMS}"
  ],
  "before_script": [
    "psql -c 'create database lms;' -U postgres",
    "psql -U postgres -f doc/lms.pgsql",
    "mysql -e 'CREATE DATABASE lms;'",
    "mysql lms < doc/lms.mysql",
    "if find . -name \"*.php\" ! -path \"./vendor/*\" -print0 | xargs -0 -n ${PHP_LINT_MAX_ARGS} -P 8 php -l | grep -v \"No syntax errors detected\"; then exit 1; fi",
    "if find templates -type f -iname '*.html' | xargs devel/smartylint.php |grep -i \"syntax error\"; then exit 1; fi",
    "./vendor/bin/phpcs --standard=$PHPCS_STANDARD .",
    "npm install -g jshint",
    "jshint ."
  ],
  "script": [
    "true"
  ],
  "notifications": {
    "email": [
      {
        "on_success": "change",
        "on_failure": "always"
      }
    ]
  },
  "jobs": {
    "include": [
      {
        "os": "linux",
        "language": "php",
        "php": "8.1",
        "dist": "xenial",
        "env": [
          {
            "PHPCS_VER": "\"^3\"",
            "PHPCS_STANDARD": "\"phpcs3.xml\"",
            "INSTALL_PHP_ZIP_EXTENSION": "true",
            "COMPOSER_EXTRA_PARAMS": "\"\"",
            "PHP_LINT_MAX_ARGS": "\"1\""
          }
        ],
        "addons": {
          "postgresql": "9.4"
        }
      },
      {
        "os": "linux",
        "language": "php",
        "php": "8.2",
        "dist": "jammy",
        "env": [
          {
            "PHPCS_VER": "\"^3\"",
            "PHPCS_STANDARD": "\"phpcs3.xml\"",
            "INSTALL_PHP_ZIP_EXTENSION": "true",
            "COMPOSER_EXTRA_PARAMS": "\"\"",
            "PHP_LINT_MAX_ARGS": "\"1\""
          }
        ],
        "addons": {
          "postgresql": "14"
        }
      },
      {
        "os": "linux",
        "language": "php",
        "php": "8.3",
        "dist": "jammy",
        "env": [
          {
            "PHPCS_VER": "\"^3\"",
            "PHPCS_STANDARD": "\"phpcs3.xml\"",
            "INSTALL_PHP_ZIP_EXTENSION": "true",
            "COMPOSER_EXTRA_PARAMS": "\"\"",
            "PHP_LINT_MAX_ARGS": "\"100\""
          }
        ],
        "addons": {
          "postgresql": "14"
        }
      },
      {
        "os": "linux",
        "language": "php",
        "php": "8.4",
        "dist": "jammy",
        "env": [
          {
            "PHPCS_VER": "\"^3\"",
            "PHPCS_STANDARD": "\"phpcs3.xml\"",
            "INSTALL_PHP_ZIP_EXTENSION": "true",
            "COMPOSER_EXTRA_PARAMS": "\"\"",
            "PHP_LINT_MAX_ARGS": "\"100\""
          }
        ],
        "addons": {
          "postgresql": "14"
        }
      }
    ]
  }
}