Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1]
php: [8.5]
testsuite: ["unit"]
name: PHPUnit - ${{ matrix.testsuite }} (PHP ${{ matrix.php }})
services:
Expand All @@ -22,10 +22,10 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
composer.lock
/vendor
spoon/tests/tmp/spoon.zip
.phpunit.result.cache
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
}
],
"require": {
"php": "^7.1|^8.0"
"php": "^8.5"
},
"require-dev": {
"symfony/phpunit-bridge": "^5.3"
"symfony/phpunit-bridge": "^7.2",
"rector/rector": "*"
}
}
171 changes: 0 additions & 171 deletions composer.lock

This file was deleted.

16 changes: 16 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Php84\Rector\Param\ExplicitNullableParamTypeRector;

return RectorConfig::configure()
->withPaths([
__DIR__ . '/spoon',
])
// uncomment to reach your current PHP version
->withPhpSets(php85: true)
->withTypeCoverageLevel(0)
->withDeadCodeLevel(0)
->withCodeQualityLevel(0);
8 changes: 8 additions & 0 deletions spoon/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2.0.0 (2025-xx-xx)
---
- Upgrade to PHP 8.5
- The default value for SpoonFilter::getValue parameter defaultValue is now null
- E_STRICT is no longer supported
- Replaced PDO::MYSQL_ATTR_USE_BUFFERED_QUERY with Pdo\Mysql::ATTR_USE_BUFFERED_QUERY (deprecated in PHP 8.5)
- Removed curl_close, as it does nothing since PHP 8.0 (deprecated in PHP 8.5)

1.3.5 (xxxx-xx-xx)
----
Bugfixes:
Expand Down
Loading