Skip to content

Commit

Permalink
Merge pull request #18 from veewee/bump-psl
Browse files Browse the repository at this point in the history
Bump PSL
  • Loading branch information
veewee authored Sep 6, 2024
2 parents 3be0aaa + 0ced9f4 commit 33fff77
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analyzers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
tools: 'composer:v2'
extensions: pcov, mbstring, posix
- name: Install dependencies
run: composer update --ignore-platform-req=php --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
run: composer update --ignore-platform-req=php+ --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
- name: Run the tests
run: composer run psalm
2 changes: 1 addition & 1 deletion .github/workflows/code-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
tools: 'composer:v2'
extensions: pcov, mbstring, posix
- name: Install dependencies
run: composer --ignore-platform-req=php update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
run: composer --ignore-platform-req=php+ update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
- name: Run the tests
run: composer run cs
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
ini-values: error_reporting=E_ALL
extensions: pcov, mbstring, posix
- name: Install dependencies
run: composer update --ignore-platform-req=php --prefer-dist --no-progress --no-suggest
run: composer update --prefer-dist --no-progress --no-suggest
- name: Run the tests
run: composer run tests
- name: Check tests quality
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 ",
"azjezz/psl": "^2.7"
"azjezz/psl": "^2.7 || ^3.0"
},
"require-dev": {
"vimeo/psalm": "^5.15",
Expand Down
3 changes: 2 additions & 1 deletion infection.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
},
"TrueValue": {
"ignore": [
"VeeWee\\Reflecta\\Reflect\\Type\\ReflectedClass::isDynamic"
"VeeWee\\Reflecta\\Reflect\\Type\\ReflectedClass::isDynamic",
"VeeWee\\Reflecta\\Reflect\\Type\\Visibility::forProperty"
]
}
}
Expand Down
1 change: 1 addition & 0 deletions src/ArrayAccess/Exception/ArrayAccessException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
namespace VeeWee\Reflecta\ArrayAccess\Exception;

use VeeWee\Reflecta\Exception\RuntimeException;
use function sprintf;

final class ArrayAccessException extends RuntimeException
{
Expand Down
1 change: 1 addition & 0 deletions src/Exception/CloneException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
namespace VeeWee\Reflecta\Exception;

use Throwable;
use function sprintf;

final class CloneException extends RuntimeException
{
Expand Down
1 change: 1 addition & 0 deletions src/Reflect/Exception/UnreflectableException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

use Throwable;
use VeeWee\Reflecta\Exception\RuntimeException;
use function sprintf;

final class UnreflectableException extends RuntimeException
{
Expand Down

0 comments on commit 33fff77

Please sign in to comment.