{"repo":"kubawerlos/php-cs-fixer-custom-fixers","free":true,"listed":false,"github":"https://github.com/kubawerlos/php-cs-fixer-custom-fixers","clone":"git clone https://github.com/kubawerlos/php-cs-fixer-custom-fixers.git","description":"A set of custom fixers for PHP CS Fixer","language":"PHP","stars":242,"topics":["php","static-analysis","code-style","code-standards","php-cs-fixer"],"license":"MIT","category":"dev-tools","readme_excerpt":"PHP CS Fixer: custom fixers A set of custom fixers for PHP CS Fixer. Installation PHP CS Fixer: custom fixers can be installed by running: Usage In your PHP CS Fixer configuration register fixers and use them: :warning: When PHP CS Fixer is installed via php-cs-fixer/shim package, requiring bootstrap may be needed to load PhpCsFixerCustomFixers classes: Fixers ClassConstantUsageFixer Class constant must be used instead of a copy of string. CommentSurroundedBySpacesFixer Comments must be surrounded by spaces. CommentedOutFunctionFixer The configured functions must be commented out. Risky: when any of the configured functions have side effects or are overwritten. Configuration options: - functions ( array ): list of functions to comment out; defaults to ['print r', 'var dump', 'var export', 'dump', 'dd', 'd'] ConstructorEmptyBracesFixer Constructor's empty braces must be on a single line. DataProviderNameFixer Data provider names must match the name of the test. DEPRECATED: use php unit data provider name instead. Risky: when one is calling data provider by name as function. Configuration options: - prefix ( string ): prefix that replaces \"test\"; defaults to 'provide' - suffix ( string ): suffix to be present at the end; defaults to 'Cases' DataProviderReturnTypeFixer The return type of PHPUnit data provider must be iterable . DEPRECATED: use php unit data provider return type instead. Risky: when relying on signature of the data provider. DataProviderStaticFixer Data providers","default_branch":null,"files":null,"tree":[],"storefront":"/r/kubawerlos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kubawerlos/php-cs-fixer-custom-fixers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}