phpinspectionsea
PHP CS Fixer
Our great sponsors
phpinspectionsea | PHP CS Fixer | |
---|---|---|
5 | 41 | |
1,427 | 12,554 | |
- | 1.1% | |
1.3 | 9.8 | |
12 months ago | about 16 hours ago | |
Java | PHP | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
phpinspectionsea
-
PHP RFC: Deprecations for PHP 8.3
(I actually held the same opinion as you until recently: https://github.com/kalessil/phpinspectionsea/issues/1718 tl;dr the performance impact is negligible)
-
php inspections ea plugin
See here for some background https://github.com/kalessil/phpinspectionsea/issues/1823 although some things seem to not add up (see last comments, the repository maintainer is active on GitHub but does not commit fixes readily prepared by others).
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
PHP Inspections is a static code analyzer and code review tool for PhpStorm IDE.
-
What are those micro-optimizations that you can't forget?
The PHP-EA Extended static analysis plugin for PHPStorm has a number of Performance rules which has some of the same items as this list, although they're not all in the performance category, the single quotes inspection is under code style.
-
Ask HN: What are some “10x” softiware product innovations you have experienced?
PHP Inspections (EA Extended)[1] by Vladimir Reznichenko, a PHP language static analysis plugin for PHPStorm / JetBrains. I've coded in PHP for many years now, but there are many helpful reminders and checks that come standard with it. Some of the small performance quirks are game changers in long running processes, or intensive methods.
[1]: https://github.com/kalessil/phpinspectionsea
PHP CS Fixer
-
8 Essential Tools Every PHP Developer Needs
PHP-CS-Fixer automatically fixes PHP coding standard issues, maintaining a clean codebase and adhering to coding standards. It can be integrated into the development workflow to ensure all code complies with defined standards.
-
Avoiding empty() in PHP
friendsofphp/php-cs-fixer
- PHP-CS-Fixer doesn't fix a lot of things?
- Laravel measuring system?
-
PHP in 2023 - stitcher.io
While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
-
Write a PHP library supports PHP 5.6 to 8.1
I run two tools for this - php-cs-fixer on PHP 5.6 and the built-in syntax checker(php -l).
-
Featherweight library to write to slack channel
You can use this library to help automate this: https://github.com/FriendsOfPHP/PHP-CS-Fixer 😊
-
How I was able to install php-cs-fixer. Vscode + Linux machine
To be bit a elaborate and for a proper updated installtion process, here is what I did: I used the [latest versio]n(https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/tag/v3.10.0) of php cs fixer then entered the command that followed to install php-cs-fixer.
-
Revisiting GitLab as a PHP Developer
PHP CS Fixer is able to generate a GitLab formatted report which GitLab can use to show you any new violations in the code or even if code style violations have been tackled.
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
Laravel Pint is an opinionated PHP code style fixer for minimalists. Pint is built on top of PHP-CS-Fixer and makes it simple to ensure that your code style stays clean and consistent. Pint is a new addition to the Laravel framework.
What are some alternatives?
idea-php-laravel-plugin - Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
dbt - dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. [Moved to: https://github.com/dbt-labs/dbt-core]
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
pint - Laravel Pint is an opinionated PHP code style fixer for minimalists.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
black - The uncompromising Python code formatter
GrumPHP - A PHP code-quality tool
gocypher-cybench-intellij - CyBench IntelliJ IDEA plugin for benchmarking APIs, Java code
PHP-Parallel-Lint - This tool check syntax of PHP files faster than serial check with fancier output.
Hotkeys - This simple Android Studio plugin includes keyboard shortcuts for many common actions.
PHP Mess Detector - PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.