Ishan Srivastava

Results 17 issues of Ishan Srivastava

According to http://www.icosaedro.it/phplint/phplint2/doc/tutorial.htm This is wrong code: ``` if( ! $f = fopen("myFile.txt", "r") ){ die("error opening the file"); } ``` Can't get PHPLintBear to detect it. ### Infact can't...

difficulty/medium
importance/low
bear proposal

I am looking for a method to add type + value checks to function arguments eg. * storing a list of acceptable values most suitably in a class. * accessing...

``` new_contract('valid_name', lambda s: isinstance(s, str) and len(s)>0) @contract(names='dict(int: (valid_name, int))') def process_accounting(records): ... ``` should be ``` new_contract('valid_name', lambda s: isinstance(s, str) and len(s)>0) @contract(records='dict(int: (valid_name, int))') def process_accounting(records):...

``` coala_quickstart/green_mode/green_mode.py 325 2 187 0 99% 359, 393 ```

type/bug

*Identification of tests is required which create `coafile.green` files after which they must be deleted in those tests * Even though https://github.com/coala/coala-quickstart/issues/309 adds them to the `.gitignore`, `coafile.green` should be...

type/bug