Skip to content

Commit 8e1641b

Browse files
authored
ci: disable codespell linter (#2153)
1 parent 709ba29 commit 8e1641b

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

.codespellrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[codespell]
2+
check-hidden =
3+
skip = .git,docs/*/*,docs,*/go.mod,*/go.sum,./internal/phpheaders/phpheaders.go

.github/workflows/lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ jobs:
4747
VALIDATE_BIOME_LINT: false
4848
# Conflicts with MARKDOWN
4949
VALIDATE_MARKDOWN_PRETTIER: false
50-
# To re-enable when https://github.com/super-linter/super-linter/issues/7244 will be closed
51-
VALIDATE_EDITORCONFIG: false
50+
# To re-enable when https://github.com/super-linter/super-linter/issues/7466 will be closed
51+
VALIDATE_SPELL_CODESPELL: false

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A minimal `Caddyfile` to serve a PHP application is shown below:
1212
# The hostname to respond to
1313
localhost
1414
15-
# Optionaly, the directory to serve files from, otherwise defaults to the current directory
15+
# Optionally, the directory to serve files from, otherwise defaults to the current directory
1616
#root public/
1717
php_server
1818
```

internal/extgen/arginfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (ag *arginfoGenerator) generate() error {
2020
}
2121

2222
if _, err := os.Stat(genStubPath); err != nil {
23-
return fmt.Errorf(`the PHP "gen_stub.php" file couldn't be found under %q, you can set the "GEN_STUB_SCRIPT" environement variable to set a custom location`, genStubPath)
23+
return fmt.Errorf(`the PHP "gen_stub.php" file couldn't be found under %q, you can set the "GEN_STUB_SCRIPT" environment variable to set a custom location`, genStubPath)
2424
}
2525

2626
stubFile := ag.generator.BaseName + ".stub.php"

internal/state/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
type State string
1111

1212
const (
13-
// livecycle States of a thread
13+
// lifecycle States of a thread
1414
Reserved State = "reserved"
1515
Booting State = "booting"
1616
BootRequested State = "boot requested"

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ func PHPPackedArray[T any](slice []T) unsafe.Pointer {
257257
// EXPERIMENTAL: GoValue converts a PHP zval to a Go value
258258
//
259259
// Zval having the null, bool, long, double, string and array types are currently supported.
260-
// Arrays can curently only be converted to any[] and AssociativeArray[any].
260+
// Arrays can currently only be converted to any[] and AssociativeArray[any].
261261
// Any other type will cause an error.
262262
// More types may be supported in the future.
263263
func GoValue[T any](zval unsafe.Pointer) (T, error) {

0 commit comments

Comments
 (0)