You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codebase improvements with php 8.1 features (#548)
* psr/container v2
* Implement replacement for Picotainer
* Replace Picotainer with LazyContainer in tests and documentation for version >=6
* Fix tests for phpdocumentor/type-resolver minor update
* run cs-fix script
* Fix some cs-fixer errors manually
* fix return type
* abandon psr/container ^1
* Test for LazyContainer
* Normalize RootTypeMapperInterface
* end-to-end test with enums in mutation and as single-returned field
* Bump ecodev/graphql-upload and webonyx/graphql-php"
* Fix some tests for webonyx ^15.0
* clearer types to fix tests
* clearer types to fix failing tests for webonyx 15
* clearer types to fix failing tests for webonyx 15
* fix failing tests for webonyx 15.
Make clearer types.
* fix failing tests for webonyx 15.
Make clearer types.
* fix some breaking changes for webonyx 15
* fix breaking changes for webonyx 15
* Update continuous_integration.yml
Remove support for PHP 8.0 test matrix
* Specify PHP 8.1 minimum support
* Add 'final' keyword to all classes marked with @internal phpdoc
* Improve code with php 8.1 features: 'readonly' keyword, native intersection types (OutputType&Type), new functions (str_starts_with,str_ends_with)
* Improve code with php 8.1 features: 'readonly' keyword, native intersection types (OutputType&Type)
* Improve code with php 8.1 features: 'readonly' keyword, native intersection types (e.g. OutputType&Type), match(){} syntax
* Improve code with php 8.1 features: str_starts_with
* Improve code with php 8.1 features: readonly modifier
* Improve code with php 8.1 features: intersection types
* Improve code with php 8.1 features: intersection types and readonly modifier
* Improve code with php 8.1 features: intersection types and readonly modifier
* Bump phpstan to minimum version 1.9. Fixes failed tests with --prefer-lowest
phpstan/phpstan#5906
---------
Co-authored-by: Jacob Thomason <jacob@thomason.xxx>
Copy file name to clipboardExpand all lines: src/AnnotationReader.php
+11-29Lines changed: 11 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ class AnnotationReader
67
67
* @param string $mode One of self::LAX_MODE or self::STRICT_MODE. If true, no exceptions will be thrown for incorrect annotations in code coming from the "vendor/" directory.
68
68
* @param array<int,string> $strictNamespaces Classes in those namespaces MUST have valid annotations (otherwise, an error is thrown).
0 commit comments