Skip to content

Commit

Permalink
Add PHP 8.3 support (#8)
Browse files Browse the repository at this point in the history
* Trigger a build to test against PHP 8.3

* Add PHP 8.3 support

* [no ci]  Revert README.md change

* Drop PHPStan from deps - we don't use it directly

* Revert "Drop PHPStan from deps - we don't use it directly"

This reverts commit 2dc06fd.

* Fix PHPStan

* Try to fix PHPStan in more universal way
  • Loading branch information
bocharsky-bw authored Nov 28, 2023
1 parent 5e83904 commit efecf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test:
uses: SymfonyCasts/.github/.github/workflows/phpunit.yaml@main
with:
php-version-matrix: '["8.1", "8.2"]'
php-version-matrix: '["8.1", "8.2", "8.3"]'
php-version-lowest: '8.1'

test_windows:
Expand Down
4 changes: 1 addition & 3 deletions tests/deprecations-ignored
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
%_PHPStan_3a5328b15%
%_PHPStan_993c0a2e7%
%_PHPStan_d5c599c96%
%^Method "_PHPStan_%
%^Method "PhpParser\\NodeVisitor\:\:leaveNode\(\)" might add "int\|Node\|array\|null" as a native return type declaration in the future\. Do the same in implementation "PHPStan\\BetterReflection\\SourceLocator\\SourceStubber\\PhpStormStubs\\CachingVisitor" now to avoid errors or add an explicit @return annotation to suppress this message\.$%
%^Method "PhpParser\\NodeVisitor\:\:enterNode\(\)" might add "int\|Node\|null" as a native return type declaration in the future\. Do the same in implementation "PhpParser\\NodeVisitorAbstract@anonymous" now to avoid errors or add an explicit @return annotation to suppress this message\.$%
%^Method "PhpParser\\NodeVisitor\:\:leaveNode\(\)" might add "int\|Node\|array\|null" as a native return type declaration in the future\. Do the same in implementation "PhpParser\\NodeVisitorAbstract@anonymous" now to avoid errors or add an explicit @return annotation to suppress this message\.$%
Expand Down

0 comments on commit efecf7c

Please sign in to comment.