Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce dynamic return type for the get_approved_comments function #211

Merged
merged 1 commit into from
Feb 23, 2024

Introduce dynamic return type for the `get_approved_comments` function

1ba1756
Select commit
Loading
Failed to load commit list.
Merged

Introduce dynamic return type for the get_approved_comments function #211

Introduce dynamic return type for the `get_approved_comments` function
1ba1756
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Feb 23, 2024 in 1m 51s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #211 Introduce dynamic return type for the get\_approved\_comments function.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has seven jobs, running in parallel.

Job PHP ENV OS State
525.1 8.0 TYPOS_VERSION="1.16.22" Linux failed
525.2 7.4 TYPOS_VERSION="1.16.22" Linux failed
525.3 7.2 TYPOS_VERSION="1.16.22" Linux failed
525.4 8.1 TYPOS_VERSION="1.16.22" Linux passed
525.5 With lowest deps 7.4 TYPOS_VERSION="1.16.22" Linux failed
525.6 Search for misspellings 8.0 TYPOS_VERSION="1.16.22" Linux passed
525.7 Check exported files 7.4 TYPOS_VERSION="1.16.22" Linux passed

Build Configuration

Build Option Setting
Language PHP
Operating System Linux (Bionic)
PHP Versions 8.0, 7.4, 7.2
Build Configuration
{
  "language": "php",
  "os": [
    "linux"
  ],
  "dist": "bionic",
  "if": "branch = master",
  "php": [
    "8.0",
    "7.4",
    "7.2"
  ],
  "env": [
    "jobs={:TYPOS_VERSION=>\"\\\"1.16.22\\\"\"}"
  ],
  "jobs": {
    "include": [
      {
        "php": "8.1",
        "script": [
          "composer test:syntax -- --no-progress",
          "composer test:phpunit -- --verbose",
          "composer test:phpstan -- --ansi --no-progress"
        ]
      },
      {
        "name": "With lowest deps",
        "php": "7.4",
        "install": [
          "composer update --no-interaction --prefer-lowest",
          "composer update --no-interaction --with-all-dependencies szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset 'php-stubs/wordpress-stubs:^6.1'"
        ]
      },
      {
        "name": "Search for misspellings",
        "before_install": [
          "skip"
        ],
        "install": [
          "mkdir -p \"${HOME}/typos\"\nwget --progress=dot:mega --directory-prefix=\"${HOME}/typos\" \\\n  \"https://github.com/crate-ci/typos/releases/download/v${TYPOS_VERSION}/typos-v${TYPOS_VERSION}-x86_64-unknown-linux-musl.tar.gz\"\ntar -xzvf \"${HOME}/typos/typos-v${TYPOS_VERSION}-x86_64-unknown-linux-musl.tar.gz\" -C \"${HOME}/typos\" ./typos\n"
        ],
        "script": [
          "\"${HOME}/typos/typos\"\n"
        ]
      },
      {
        "name": "Check exported files",
        "php": "7.4",
        "before_install": [
          "skip"
        ],
        "install": [
          "skip"
        ],
        "script": [
          "EXPECTED=\"LICENSE,README.md,bootstrap.php,composer.json,extension.neon\"\nCURRENT=\"$(git archive HEAD | tar --list --exclude=\"src\" --exclude=\"src/*\" | paste --serial --delimiters=\",\")\"\necho \"CURRENT =${CURRENT}\"\necho \"EXPECTED=${EXPECTED}\"\ntest \"${CURRENT}\" = \"${EXPECTED}\"\n"
        ]
      }
    ]
  },
  "cache": {
    "directories": [
      "${HOME}/.composer/cache"
    ]
  },
  "before_install": [
    "phpenv config-rm xdebug.ini",
    "composer validate --strict"
  ],
  "install": [
    "composer update --no-interaction"
  ],
  "script": [
    "composer test:syntax -- --no-progress",
    "composer test:phpunit -- --verbose",
    "composer test:cs -- -s",
    "composer test:phpstan -- --ansi --no-progress"
  ]
}