

phlint / phlint · GitLab
source link: https://gitlab.com/phlint/phlint
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Phlint - PHP Code Analyzer
Introduction
Phlint is a tool with an aim to help maintain quality of php code by analyzing code and pointing out potential code issues. It focuses on how the code works rather than how the code looks. Phlint is designed from the start to do deep semantic analysis rather than doing only shallow or stylistic analysis.
Keep in mind that although Phlint is being very actively developed it has still not reached version 1.0 and there is an extensive list of known false positives and incomplete features.
Why Phlint?
As there are already many code analysis tools the question that arises a lot is "Why yet another one?". The reason is because there are not so many analyzers like Phlint for PHP, more info is available on Why Phlint documentation page.
Basic usage
Phlint can be downloaded from the download section and used as a command line utility:
# To download run:
wget https://gitlab.com/phlint/phlint-compiled/raw/master/phlint-0.4.1.phar -O phlint.phar
# To invoke run:
php phlint.phar /path/to/project
Alternatively it can be included in the project through composer:
# To install run:
composer require phlint/phlint
# To invoke run:
./vendor/bin/phlint
Documentation
For a full documentation visit Phlint documentation page. For a contribution guidelines visit Contributing guidelines page.
License
Phlint is licensed under the MIT license.
</div
Recommend
-
100
GitLab 许可证从 CLA 切换到 DCO solidot新版网站常见问题,请点击这里查看。
-
111
Go tools & GitLab — how to do Continuous Integration like a boss
-
95
Code::Stats plugin for Zsh Code-stats-zsh hooks onto Zsh, counts characters as you type and saves your statistics in Code::Stats. You...
-
73
How we do Vue: one year later Jacob Schatz · Nov 9, 2017 · 12 min read · Leave a comment...
-
137
Gitlab 的部署与维护 一直以来,我没有总结过 Gitlab 的部署,而在以前的文章中,我不止一次提到关于 Gitlab 在我们整个交付流程中起到的基础性作用,以及它为整个公司的开发带来的巨大效率提升: 那么作为一个在公司起基础作用的东西,我们...
-
102
GitLab 是一个类似于 GitHub 的开源源码托管服务,它除了提供基于 git 的基本代码托管服务外。还具备很多与软件开发协作相关的其他功能。比如 issues、Merge Requests 等。 利用 GitLab 提供的这些功能,我们可以实践一些简单的项目管理和协作流程。这套流程...
-
82
Project 'php-integrator/core' was moved to 'Serenata/Serenata'. Please update any links and bookmarks that may still have the old path. Major Changes
-
106
Debian Salsa Gitlab
-
43
fetchlyrics.py Project ID: 4344400 curses client that fetches lyrics and annotations from genius.com into your terminal
-
40
问与答 - @whx20202 - 想搞个私有的 gitlab,但是不知道 1U1G 能不能带的动
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK