We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PHP Version: 8.0
OS: Linux
Run command: test-rules
panic: runtime error: slice bounds out of range [-1:] goroutine 1 [running]: github.com/VKCOM/noverify/src/rules.(*parser).parseRule(0xc0034738c8, {0xb84f10, 0xc006405ce0}, 0xc003473768) /Users/petrmakhnev/noverify/src/rules/parser.go:409 +0x891 github.com/VKCOM/noverify/src/rules.(*parser).parseRules(0xb87120, {0xc001ee2350, 0x400, 0x4c6048}, 0x0) /Users/petrmakhnev/noverify/src/rules/parser.go:352 +0xcb github.com/VKCOM/noverify/src/rules.(*parser).parse(0xc0034738c8, {0xc00748dda0, 0xd}, {0xb7dca0, 0xc0008267e0}) /Users/petrmakhnev/noverify/src/rules/parser.go:79 +0x250 github.com/VKCOM/noverify/src/rules.(*Parser).Parse(0xc00748dda0, {0xc00748dda0, 0xd}, {0xb7dca0, 0xc0008267e0}) /Users/petrmakhnev/noverify/src/rules/rules.go:20 +0xe8 github.com/VKCOM/noverify/src/cmd.readAndParseRuleFile({0xc00748dda0, 0xd}, {0xc001ee2320, 0x2, 0x2}) /Users/petrmakhnev/noverify/src/cmd/rules.go:107 +0xc9 github.com/VKCOM/noverify/src/cmd.ParseExternalRules({0xa60f53, 0xc0017b2000}) /Users/petrmakhnev/noverify/src/cmd/rules.go:83 +0x2ce github.com/VKCOM/noverify/src/cmd.(*RulesTestSuite).handleFileContents(0xc003473d60, {0xc000174bc0, 0x38}) /Users/petrmakhnev/noverify/src/cmd/test_rules.go:215 +0x2ca github.com/VKCOM/noverify/src/cmd.(*RulesTestSuite).handleFile(0xa63d18, {0xc000174bc0, 0xc0017403c0}) /Users/petrmakhnev/noverify/src/cmd/test_rules.go:107 +0x27 github.com/VKCOM/noverify/src/cmd.(*RulesTestSuite).Run(0xc003473d60) /Users/petrmakhnev/noverify/src/cmd/test_rules.go:86 +0x16e github.com/VKCOM/noverify/src/cmd.TestRules(0xc000150d80) /Users/petrmakhnev/noverify/src/cmd/test_rules.go:46 +0xa5 github.com/VKCOM/noverify/src/cmd.(*App).Run(0xc0003e2f00, 0xc000136c60) /Users/petrmakhnev/noverify/src/cmd/cli.go:355 +0x55a github.com/VKCOM/noverify/src/cmd.Run(0x0) /Users/petrmakhnev/noverify/src/cmd/main.go:135 +0x2d0 github.com/VKCOM/noverify/src/cmd.Main(0x9b95c0) /Users/petrmakhnev/noverify/src/cmd/main.go:140 +0x19 main.main() /Users/petrmakhnev/noverify/main.go:14 +0x2c
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PHP Version: 8.0
OS: Linux
Run command: test-rules
The text was updated successfully, but these errors were encountered: