-
Hi guys,
I made a similar post before on qtranslatex with no avail as well as on woocommerce's github so I will try to have a stab here.
This is my original post/hack solution on woocommerce:
h…
-
```
if (cond()) {
return true;
} else {
return false;
}
```
```
if (cond()) {
return true;
}
return false;
```
should be fixed to:
```
return cond();
```
```
cond() ?…
-
I want to check if a class or file has a small comment describing its purpose, [like Golang does for its packages](https://blog.golang.org/godoc-documenting-go-code). Is it relevant to this package? C…
-
https://github.com/vimeo/psalm
-
[Enter steps to reproduce below:]
1. open new file
2. save new file
(possibly only occurs in conjunction with remote-sync package)
**Atom Version**: 0.165.0
**System**: linux 3.13.0-32-generic
**T…
-
Example script:
```php
-
When writing custom sniffs, it's easy to test them thanks to the files `AbstractSniffUnitTest` and `AllTest.php`. For example, with [this project](https://github.com/WordPress/WordPress-Coding-Standar…
-
When running a fix (phpcbf) I got this error:
```shell
PHP Fatal error: Uncaught PHP_CodeSniffer\Exceptions\RuntimeException: Undefined index: scope_closer in /home/developer/projects/phing/vendo…
-
Doesn't seem to work out of the box.
I added the 2 deps to composer, added the sample ruleset, and ran the example command, then got the error below.
```
dneilsen:rhino-debug davidneilsen$ vendor/bi…
Petah updated
4 years ago
-
### Prerequisites
* [ ] Put an X between the brackets on this line if you have done all of the following:
* Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/…