-
-
Notifications
You must be signed in to change notification settings - Fork 565
Phpstan Level 3 #566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Phpstan Level 3 #566
Changes from all commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
5c8adc3
phpstan level 3
shmax 36e8eec
cleanup
shmax c323c16
linting, remove array shape stuff
shmax e4352c0
use protected
shmax f091d91
use concrete type
shmax 87ef68c
remove null type
shmax 9edeb73
add null
shmax 0ad36dd
use null syntax over ?
shmax e381be8
address comments
shmax 8574398
Update src/Validator/Rules/UniqueInputFieldNames.php
shmax ba2e5b2
Update src/Type/Definition/Type.php
shmax 8c69f28
Update src/Validator/Rules/UniqueInputFieldNames.php
shmax 5ae5048
Update src/Validator/Rules/FieldsOnCorrectType.php
shmax 09a4c47
Update src/Utils/TypeInfo.php
shmax dd2b0ae
Update src/Type/Definition/Type.php
shmax 35a0582
remove assignment
shmax 2b93597
Update src/Type/Introspection.php
shmax cdd4cf5
Update src/Type/Schema.php
shmax 586155e
Update src/Type/Schema.php
shmax 8a2be47
restore return annoation
shmax f16085d
add return types
shmax 2fda671
restore return annotation
shmax 9804ac8
add null
shmax 83fd01b
simplify
shmax 77a2f4f
more cleanup to appease scrutinizer
shmax 6665c39
scrutinizer workaround
shmax d2a3728
more scrutinizer experiments
shmax ef8c2c4
remove dead code
shmax 04a2462
simplify annotation
shmax 778a918
null check
shmax 3333f34
broaden type
shmax 605211a
remove null
shmax f2e9efe
add return type
shmax e322b5e
cleanup
shmax 8130d36
add return types
shmax af620eb
try alternate order
shmax 58afe78
concrete check, annotate member
shmax c12e6b7
null check
shmax 2aa9d52
handle operation === false
shmax 0ea884f
remove return types from parseLiteral (to match interface signature)
shmax bf53a29
downgrade type (bug in code_sniffer)
shmax 5fb5e22
workaround for code_sniffer parser bug
shmax 0052b70
add return hinting
shmax a1cbfd8
implement interface
shmax 583946c
implement interface
shmax 422dc57
deep array convert
shmax 27c448f
fix coroutine tests
shmax f2a26dc
move extensions
shmax 75562e6
add final
shmax 4e73336
Update docs/type-system/scalar-types.md
shmax 5ac9cc7
Update src/Type/Schema.php
shmax 8c4316e
Update src/Type/Definition/NonNull.php
shmax 18f12bd
Update examples/01-blog/Blog/Type/Scalar/UrlType.php
shmax a84dba0
address comments
shmax 74bea2a
improve coverage
shmax 7d30c26
rebase on master
shmax 8ba9489
increase coverage
shmax 6aaee8e
linting
shmax 915a062
Update src/Validator/Rules/KnownArgumentNames.php
shmax 31cc867
undo change
shmax 2f69e2b
Merge branch 'stan-level-3' of https://github.com/shmax/graphql-php i…
shmax a2b49ef
try workaround for scrutinizer bug
shmax 1a75776
try swapping the order
shmax 64d45fe
restore weird syntax to appease scrutinizer
shmax 7f39453
remove null
shmax 889db9b
use alt null syntax
shmax a6de2a2
add space
shmax fdadd5f
restore some return types
shmax 7142c3d
code sniffer fixes
shmax 6f00407
use alt null syntax
shmax 0c0af8e
return type hint
shmax 519321a
return type hint
shmax f836716
more typehinting
shmax 1185c33
refine type
shmax 2c70456
revert
shmax d9f2ede
narrow to ObjectType
shmax bd650ab
remove instanceOf check
shmax 0807bb5
remove unused imports
shmax e1e5b08
simplify type
shmax bebaad9
restore null init
shmax 3b428f7
restore isInputType check
shmax 78295d7
restore check
shmax 801033f
remove check
shmax 18ed4af
revert deferredfieldstest kookiness
shmax File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -393,7 +393,7 @@ public static function removeNode() | |
/** | ||
* @param callable[][] $visitors | ||
* | ||
* @return callable[][] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should keep |
||
* @return array<string, callable> | ||
*/ | ||
public static function visitInParallel($visitors) | ||
{ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.