-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
191 changed files
with
171 additions
and
8,349 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace yii\di { | ||
class Container { | ||
/** | ||
* @template T | ||
* @param class-string<T> $class | ||
* @return T | ||
*/ | ||
function get(string $class) { | ||
|
||
} | ||
} | ||
} |
This file contains 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 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 |
---|---|---|
@@ -1,14 +1,17 @@ | ||
parameters: | ||
level: 9 | ||
level: max | ||
paths: | ||
- src | ||
stubFiles: | ||
- .phpstorm.meta/craft.php | ||
scanFiles: | ||
- %currentWorkingDirectory%/vendor/yiisoft/yii2/Yii.php | ||
- %currentWorkingDirectory%/vendor/craftcms/cms/src/Craft.php | ||
- %currentWorkingDirectory%/vendor/craftcms/cms/src/behaviors/CustomFieldBehavior.php.template | ||
excludePaths: | ||
- %currentWorkingDirectory%/src/phpstan/ThrowIfTypeSpecifyingExtension.php | ||
- %currentWorkingDirectory%/src/phpstan/AbortIfFunctionTypeSpecifyingExtension.php | ||
ignoreErrors: | ||
- '#Unable to resolve the template type TMapValue in call to method#' | ||
- '#Unable to resolve the template type T in call to method craft\\services\\Elements::getElementById\(\)#' | ||
- vendor/yiisoft/yii2/Yii.php | ||
- vendor/craftcms/cms/src/Craft.php | ||
- vendor/craftcms/cms/src/behaviors/CustomFieldBehavior.php.template | ||
earlyTerminatingMethodCalls: | ||
Craft: | ||
- dd | ||
yii\base\Application: | ||
- end | ||
yii\base\ErrorHandler: | ||
- convertExceptionToError |
This file contains 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.