PHP deprecated warning for power of base 0 and negative exponent #2504
+1
−1
Travis CI / Travis CI - Pull Request
succeeded
Mar 8, 2026 in 15m 15s
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 #2504 PHP deprecated warning for power of base 0 and negative exponent.
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 |
|---|---|---|---|---|
| 8.1 | COMPOSER_DISABLE_XDEBUG_WARN="1" | Linux | passed | |
| 8.2 | COMPOSER_DISABLE_XDEBUG_WARN="1" | Linux | passed | |
| 8.3 | COMPOSER_DISABLE_XDEBUG_WARN="1" | Linux | passed | |
| 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"
}
}
]
}
}
Loading