Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

phpcodesniffer

Add an empty line at end of file according to PSR-2 on PhpStorm

September 15, 2023 by Tarik
Categories php Tags php, phpcodesniffer, phpstorm, psr-2 Leave a comment

How to Ignore Line Length PHP_CodeSniffer

May 21, 2023 by Tarik
Categories php Tags continuous-integration, jenkins, pear, php, phpcodesniffer Leave a comment

How useful is PHP CodeSniffer? Code Standards Enforcement in General? [closed]

April 18, 2023 by Tarik

Firstly, I’m the maintainer of PHP_CodeSniffer, so I’m clearly biased in this area. But I’ve also worked on some big code bases in my 10 years as a PHP dev, so I hope I can bring some concrete reasons to why coding standards are a good thing. I could write a blog series on this … Read more

Categories php Tags php, phpcodesniffer Leave a comment

Ignore code snippets in PHP_CodeSniffer

April 7, 2023 by Tarik

Yes it is possible with @codingStandardsIgnoreStart and @codingStandardsIgnoreEnd annotations <?php some_code(); // @codingStandardsIgnoreStart this_will_be_ignored(); // @codingStandardsIgnoreEnd some_other_code(); It is also described in the documentation.

Categories php Tags php, phpcodesniffer Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa