Skip to content

Commit

Permalink
Merge branch '2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquemoody committed Jan 27, 2024
2 parents e374086 + 8d7d783 commit bd32566
Show file tree
Hide file tree
Showing 347 changed files with 2,210 additions and 6,132 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"
- "8.2"
- "8.3"

steps:
- name: Checkout
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: pcov
extensions: uopz
tools: pecl
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.3
coverage: none

- name: Install dependencies
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Versioning Changes:

- Dropped support for PHP 7.4.
- Dropped support for PHP 8.0 and below.
- Updated dev dependencies

Deprecations:
Expand All @@ -15,6 +15,9 @@ Deprecations:
Fixes:

- `KeySet` now reports which extra keys are causing the rule to fail.
- Ensure empty strings are never a valid currency code
- Do not hide messages on EachException
- Dot not throw exception when validating an uninitialized property

Changes:

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ final class HelloWorldTest extends RuleTestCase
/**
* {@inheritDoc}
*/
public function providerForValidInput(): array
public static function providerForValidInput(): array
{
$rule = new HelloWorld();

Expand All @@ -169,7 +169,7 @@ final class HelloWorldTest extends RuleTestCase
/**
* {@inheritDoc}
*/
public function providerForInvalidInput(): array
public static function providerForInvalidInput(): array
{
$rule = new HelloWorld();

Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"require": {
"php": "^8.0 || ^8.1 || ^8.2",
"php": "^8.1 || ^8.2",
"respect/stringifier": "^0.2.0",
"symfony/polyfill-mbstring": "^1.2"
},
Expand All @@ -32,7 +32,7 @@
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^9.6",
"psr/http-message": "^1.0",
"respect/coding-standard": "^3.0",
"respect/coding-standard": "^4.0",
"squizlabs/php_codesniffer": "^3.7"
},
"suggest": {
Expand All @@ -51,7 +51,10 @@
"psr-4": {
"Respect\\Validation\\": "tests/unit/",
"Respect\\Validation\\Test\\": "tests/library/"
}
},
"files": [
"tests/integration/lib/helpers.php"
]
},
"scripts": {
"docheader": "vendor/bin/docheader check library/ tests/",
Expand Down
Loading

0 comments on commit bd32566

Please sign in to comment.