From 9c67b85f39d92454ec59099b14b535bd2bcd7cab Mon Sep 17 00:00:00 2001 From: Daniel Schmelz Date: Sat, 20 Aug 2022 23:29:03 +0200 Subject: [PATCH] Fix typos --- docs/annotating_code/supported_annotations.md | 2 +- docs/annotating_code/templated_annotations.md | 4 ++-- docs/annotating_code/type_syntax/scalar_types.md | 2 +- docs/contributing/editing_callmaps.md | 4 ++-- docs/contributing/how_psalm_works.md | 2 +- docs/contributing/philosophy.md | 2 +- docs/manipulating_code/refactoring.md | 2 +- docs/running_psalm/installation.md | 2 +- docs/running_psalm/issues/FalsableReturnStatement.md | 2 +- docs/running_psalm/issues/InvalidExtendClass.md | 2 +- docs/running_psalm/issues/PropertyTypeCoercion.md | 2 +- docs/running_psalm/issues/TaintedCallable.md | 2 +- docs/running_psalm/issues/TaintedLdap.md | 2 +- docs/running_psalm/issues/TaintedTextWithQuotes.md | 2 +- docs/running_psalm/plugins/authoring_plugins.md | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/annotating_code/supported_annotations.md b/docs/annotating_code/supported_annotations.md index 0337e9e7d41..62d26541eb4 100644 --- a/docs/annotating_code/supported_annotations.md +++ b/docs/annotating_code/supported_annotations.md @@ -509,7 +509,7 @@ class User { ### `@psalm-require-extends` -The `@psalm-require-extends` annotation allows you to define a requirements that a trait imposes on the using class. +The `@psalm-require-extends` annotation allows you to define the requirements that a trait imposes on the using class. ```php ``` -Passing `');alert('injection');//` as a `GET` param here would would cause the `alert` to trigger. +Passing `');alert('injection');//` as a `GET` param here would cause the `alert` to trigger. ## Mitigations diff --git a/docs/running_psalm/plugins/authoring_plugins.md b/docs/running_psalm/plugins/authoring_plugins.md index 494313970f1..cb683af324e 100644 --- a/docs/running_psalm/plugins/authoring_plugins.md +++ b/docs/running_psalm/plugins/authoring_plugins.md @@ -80,7 +80,7 @@ class SomePlugin implements \Psalm\Plugin\EventHandler\AfterStatementAnalysisInt - `AfterFunctionCallAnalysisInterface` - called after Psalm evaluates a function call to any function defined within the project itself. Can alter the return type or perform modifications of the call. - `AfterFunctionLikeAnalysisInterface` - called after Psalm has completed its analysis of a given function-like. - `AfterMethodCallAnalysisInterface` - called after Psalm analyzes a method call. -- `AfterStatementAnalysisInterface` - called after Psalm evaluates an statement. +- `AfterStatementAnalysisInterface` - called after Psalm evaluates a statement. - `BeforeFileAnalysisInterface` - called before Psalm analyzes a file. - `FunctionExistenceProviderInterface` - can be used to override Psalm's builtin function existence checks for one or more functions. - `FunctionParamsProviderInterface.php` - can be used to override Psalm's builtin function parameter lookup for one or more functions.