-
#### Rule:
Have either UNIX or DOS line endings, not both. This rule gets applied to PHP, CSS, JS and TXT files.
Ref: https://make.wordpress.org/themes/handbook/review/required/theme-check-plugin/#l…
jrfnl updated
6 years ago
-
In PHP 7 we can declare return type for method:
```php
function m() : int {
}
```
In this case "int" is tokenized as `T_RETURN_TYPE` and it's fine.
We can also declare there complex type:
```…
-
## Currently
There doesn't appear to be any code standards checks (just some for documentation).
## Issue
While not critical to the plugin behaviour, it can make maintenance easier if others cont…
-
An arbitrary config directive `testVersion` is used for the [PHPCompatibility](https://github.com/wimg/PHPCompatibility/) standard to pass the PHP versions code should be compatible with and is subseq…
jrfnl updated
6 years ago
-
It seems to me that if we transfer this repository to Automattic account, we could integrate it with Travis.com. This way we can start checking for coding standard violations and run WC unit tests aut…
-
Latest v0.0.15 giving linting error :- [phpcs] get_category_link() is prohibited, please use wpcom_vip_get_term_link() instead.
-
M-x stops working after installing ivy, counsel and swiper through use-package. Here is the error-log
Debugger entered--Lisp error: (cyclic-function-indirection r-mode)
commandp(r-mode)
#f(c…
-
It would be nice if `Squiz.WhiteSpace.FunctionSpacing.After` would not require a blank line after a method if it is the last method in a class.
``` php
class A
{
public function method1()
{
}
…
-
Hello !
I've encountered a tiny issue in the morning with the PHPCS checks.
Here my installation details:
- ST3 Build 3113
- SublimeLinter: 3.7.4
- SublimeLinter-phpcs: 1.1.0
At load, I got this p…
-
@fumikito
Vagrant Version: 2.1.1
Virtual Box Version: 5.2.12
初回 vagrant up で下記のエラーが出ました。なにか考えられる原因があれば教えてください。Wordmove のインストールにも失敗しているので、必要であればエラーログを送ります ( 別途 Issue にしたほうが良ければ言ってください ) 。
##…