Skip to content

Commit

Permalink
Add support for nette/utils version 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
harmim committed Jul 2, 2023
1 parent 4613b83 commit a212ab5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"contributte/application": "^0.5.0",
"nette/di": "^3.0.0",
"nette/forms": "^3.1.3",
"nette/utils": "^3.0.1",
"nette/utils": "^3.0.1 || ^4.0.0",
"symfony/property-access": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
},
"require-dev": {
Expand Down
16 changes: 16 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,19 @@ parameters:
message: "#^Parameter \\#1 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:like\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func given\\.$#"
count: 1
path: src/DataSource/DoctrineDataSource.php
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
message: '#string\\|Stringable#'
count: 1
path: src/Column/Action.php
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
message: '#string\\|Stringable#'
count: 1
path: src/DataGrid.php
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
message: '#string\\|Stringable#'
count: 3
path: src/Export/Export.php
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
message: '#string\\|Stringable#'
count: 2
path: src/Status/Option.php

0 comments on commit a212ab5

Please sign in to comment.