Skip to content

Update reactphp/promise for PHP 8.5 compatibility #24

Update reactphp/promise for PHP 8.5 compatibility

Update reactphp/promise for PHP 8.5 compatibility #24

Workflow file for this run

name: "Autoloader"
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
permissions:
contents: read
jobs:
tests:
name: "Autoloader"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: "Install Composer dependencies"
run: "composer config platform --unset && composer install"
- name: "Dump autoloader in the test directory using latest Composer"
run: "./bin/composer install -d tests/Composer/Test/Autoload/MinimumVersionSupport"
- name: "Install oldest supported PHP version for autoloader"
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # 2.33.0
with:
coverage: "none"
extensions: "intl, zip"
ini-values: "memory_limit=-1"
php-version: "5.6"
- name: "Check the autoloader can be executed"
run: "php main.php"
working-directory: tests/Composer/Test/Autoload/MinimumVersionSupport