noverify icon indicating copy to clipboard operation
noverify copied to clipboard

Pretty fast linter (code static analysis utility) for PHP

Results 94 noverify issues
Sort by recently updated
recently updated
newest added

Sometimes during debugging we can write this kind of code ``` if(1){ } while(true){ } ``` This code can be very dangerous. Added: - new rules for: if/while/do statemenst -...

enhancement

dynamic_rules: ```php function ruleOne() { /** * @warning warning test * @path www/ * @path-exclude path/first * @path-exclude path/second */ any_rule_one: { ...rules } } ``` When outputting errors, it...

bug

**PHP Version:** 7.4 **OS:** macOS (Sonoma 14.3) **The minimal code in which the bug appears:** ```php

bug

In the following cases: $bar = 1; $obj->foo($bar); // consider `$obj` has `__call` magic method. no need to throw a warning about an unused variable, if it inside magic method...

It won't work without it in more recent versions of Go.

You have done nice and wonderful job! But in our project there are /dev/ subfolders exist with some "trash" files which may contain cutted duplicate definitions of production classes. When...

enhancement

**Is your feature request related to a problem? Please describe.** Currently, it's forbidden to put multiple `@path`s for single rule. Rule like ```php /** * @warning Do not use `foo()`!...

enhancement

**PHP Version:** 7.4 **OS:** Linux **Run command:** ```shell ./vendor/bin/noverify check --allow-checks='undefinedMethod' --php7 --baseline='baseline.json' backen ``` **The minimal code in which the bug appears:** ```php $newMessage = BackendKernel::GetKernel()->GetRepositories()->GetFeedBackNewMessages(); /** * @return...

bug