pint
phpinspectionsea
Our great sponsors
pint | phpinspectionsea | |
---|---|---|
13 | 5 | |
2,673 | 1,427 | |
1.7% | - | |
8.8 | 1.3 | |
2 days ago | 12 months ago | |
PHP | Java | |
MIT License | GNU General Public License v3.0 or later |
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.
pint
-
How to setup efm-langserver for pint formatter?
I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
-
Laravel Pint... aka Standards + 1
Well, the rules are defined here: https://github.com/laravel/pint/blob/main/resources/presets/laravel.php
-
Laravel Pint v1.0 Released
Be sure to check out the Pint documentation at https://github.com/laravel/pint. We hope you enjoy this new package. At Laravel, we're committed to providing you with the most robust and developer-friendly PHP experience in the world. Enjoy!
-
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.
- How do you feel about laravel/pint?
-
How to Fix and Clean Code Style in laravel 9
For details vist https://github.com/laravel/pint
-
Modern PHP practices... where to start, what to look out for?
Static Analysis Tools - there are a number of tools that help you to manage code style (PHPCS, PHP-CSFixer, and a new one, Laravel Pint), as well as tools to analyse the "correctness" of your code (Psalm, PHPstan, in particular LaraStan).
-
How to Add Laravel Pint to VS Code Formatter
and as per me, Pint is the so far most sophisticated code formatter i have ever user in the reference of PHP. You can find more details about laravel/pint here.
- Laravel Pint is a minimalist code style fixer for PHP
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
What are some alternatives?
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
idea-php-laravel-plugin - Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
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]
phplint - :bug: A tool that can speed up linting of php files by running several lint processes at once.
black - The uncompromising Python code formatter
astropy - Astronomy and astrophysics core library
gocypher-cybench-intellij - CyBench IntelliJ IDEA plugin for benchmarking APIs, Java code
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
Hotkeys - This simple Android Studio plugin includes keyboard shortcuts for many common actions.
phpinsights - 🔰 Instant PHP quality checks from your console
java-oo - Java Operator Overloading