Download the PHP package clorichel/scqat without Composer
On this page you can find all versions of the php package clorichel/scqat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clorichel/scqat
More information about clorichel/scqat
Files in clorichel/scqat
Package scqat
Short Description Standardized Code Quality Assurance Tool
License Apache-2.0
Homepage https://github.com/clorichel/SCQAT
Informations about the package scqat
Officially abandoned : head to SonarQube with the PHP Plugin to ensure efficient code quality assurance.
SCQAT
This is SCQAT, the Standardized Code Quality Assurance Tool, an open source set of utilities that ensures the quality of the code for you, your development team and your boss.
SCQAT is a lightweight way to wrap industry standard code quality analyzers in a simple and efficient tool.
Installation
You need to run PHP 5.4 or greater.
Install Composer
SCQAT relies on Composer magic to manage dependencies. If you haven't already installed it, just grab composer.phar
running the one-liner install command you will find here.
We will assume that you will run composer.phar
locally placed in a newly created /path/to/folder
directory.
Install or update SCQAT
Thanks to each Composer contributor, yes, that was it. First composer require will install everything, another require in the same folder with a new version number will simply update.
Globally
Using Linux / Unix / OSX ? Nothing simplest, run the composer require then :
Command failed ? Just run again with sudo.
In OSX ? Create /usr/local/bin/
folder which may not exist.
There is absolutely no need to run that command again when updating SCQAT.
Usage
Installed globally ? Just open your console and do :
Your code has just been analyzed ! The quality report shown is self-explanatory.
Not installed globally ? You have to add the path, run /path/to/folder/vendor/bin/scqat
Have a look to the Configuration Manual.
What is it about
SCQAT aims to be an universal tool to ensure code QA. Initial development was focused on PHP code language, through a simple tool running command line (CLI).
How can it help me
You are | SCQAT will help you |
---|---|
A single developer | Be sure and proud of your code quality, even before committing it |
In a team of developers | And your colleagues to all work on the same standard basis |
The team manager | Ensuring the quality of your team working, without even reading source code |
Big boss | Being confident in your developers team(s), their actual skills, the bleeding edge state of your company code base |
End customer | Knowing the quality level of the job that was done |
I would like to add quality checks
Is your favorite language and/or QA tool missing ? You are pleased to open an issue.
Composer familiar, please send a pull request : just implement a \SCQAT\LanguageAbstract
with a simple fileNameMatcher
method to determine which filenames your language will handle, and a \SCQAT\AnalyzerAbstract
that does the job and return a \SCQAT\Result
.
See \SCQAT\Language\PHP
and \SCQAT\Language\PHP\Analyzer\Lint
for concrete examples, and just duplicate them for a quick start.
Future work estimate
For instance SCQAT does exactly what it says : it's an efficient tool to standardize code quality assurance. You can run it on many platforms. It installs in no time. Reports are clear and clean. One can use it on a git pre-commit hook or add it on a continuous integration stack. Little PHP development skills are required to implement new languages and analyzers.
Short term work is listed in the CHANGELOG with each version.
Mid to long term will be working on reports to be able to export them in some usual formats (TXT, and HTML), rating and ranking with badges, and any other need that could appear. You are all pleased to open issues or pull requests with your ideas and/or needs.
Uninstall
Nothing has been dispatched everywhere, simply remove your /usr/local/bin/scqat
symlink (if installed globally) and the /path/to/folder
install directory. Before doing this, you are pleased to open an issue if something went bad for you ;)
All versions of scqat with dependencies
symfony/process Version 2.6.4
symfony/console Version 2.6.4
symfony/finder Version 2.6.4
symfony/filesystem Version 2.6.4
symfony/yaml Version 2.6.4
symfony/config Version 2.6.4
phpmd/phpmd Version 2.2.0
squizlabs/php_codesniffer Version 2.2.0
fabpot/php-cs-fixer Version 1.5
phpdocumentor/phpdocumentor Version 2.8.2
sebastian/phpcpd Version 2.0.1