python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
CodeSniffer not working on PhpStorm/MacOS but it work in Docker
I use PhpStorm 2021.3 on MacOS (Apple Sillicon M1). I'm not sure the problem is with PhpStorm but PHP Code Sniffer doesn't work.
When I type this command it doesn't show any errors in the code and I'm...

pirmax
Votes: 0
Answers: 0
PHP_Codesniffer says "Undefined offset: 2 in /PHP_Codesniffer/src/Files/File.php on line 863"
I am working on an analytics plugin for Shopware to expand the statistics section. Everything works as expected, but when I wanted to commit the code for the controller I got the above mentioned error...
mel_p
Votes: 0
Answers: 1
ignoring coding standards with php-cs-fixer?
In php_codesniffer you can ignore coding standards for a block of code thusly:
// @codingStandardsIgnoreStart
$a = ($b[$c >> 5 ] & 0x0080) &
($b[$c ] & 0x0100) & // her...
neubert
Votes: 0
Answers: 1
What are "MySource" and "Squiz" Coding Standards?
After installing Composer in windows 10, the result of phpc -i command is:
"The installed coding standards are MySource, PEAR, PSR1, PSR12, PSR2, Squiz and Zend."
After lots of searches I wa...
IT_man2018
Votes: 0
Answers: 2