Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
fail-fast: false
matrix:
php-version:
- "8.2"
- "8.3"
- "8.4"
- "8.5"
env:
Expand Down Expand Up @@ -122,6 +124,9 @@ jobs:
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
- name: Install Composer dependencies
uses: ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
with:
dependency-versions: "latest" # Use latest versions of dependencies to mimic projects using this package.
composer-options: "--prefer-dist --optimize-autoloader" # Disable dev dependencies, to mimic projects using this package.

# - name: boot test server
# run: vendor/bin/http_test_server > /dev/null 2>&1 &
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ composer.phar
.DS_Store
.idea
.phpunit.result.cache
infection.html
infection.html
# Otherwise we won't be able to install it on different php version.
composer.lock
19 changes: 6 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,15 @@
"Imagick"
],
"require": {
"php": "^8.4",
"php": "^8.2 || ^8.3 || ^8.4 || ^8.5",
"ext-fileinfo": "*",
"fylax/forceutf8": "^3.0.3",
"php-ffmpeg/php-ffmpeg": "^1.2",
"thecodingmachine/safe": "^3.0"
"php-ffmpeg/php-ffmpeg": "^1.4",
"thecodingmachine/safe": "^2.0 || ^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.51",
"infection/infection": "^0.29.14",
"lychee-org/phpstan-lychee": "^2.0.1",
"lychee-org/phpstan-lychee": "^2.0.1|^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpmd/phpmd": "^2.15",
"phpunit/phpunit": "^9.5.10",
Expand Down Expand Up @@ -80,16 +79,10 @@
]
},
"config": {
"platform": {
"php": "8.4"
},
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"infection/extension-installer": true
}
"optimize-autoloader": true
},
"prefer-stable": true,
"prefer-stable": true,
"minimum-stability": "dev"
}
Loading