Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <ahmed.gamal9...@gmail.com>

* Package name    : php-phpstan
  Version         : 0.12.99
  Upstream Author : Ondřej Mirtes <ond...@mirtes.cz>
* URL             : https://github.com/phpstan/phpstan
* License         : MIT
  Programming Lang: PHP
  Section         : php

Description:
 PHPStan - PHP Static Analysis Tool

 This package provides PHPStan, a powerful static analysis tool for PHP that
 focuses on finding errors in code without actually running it. It catches
 whole classes of bugs even before writing tests for the code, moving PHP
 closer to compiled languages in the sense that the correctness of each line
 can be checked before execution.

 PHPStan analyzes PHP code for potential errors, type mismatches, undefined
 variables, and other issues that could cause runtime problems, helping
 developers write more reliable and maintainable code.

Rationale:
 This package is required as a dependency for FOSSology, an open source
license
 compliance system. FOSSology uses PHP-based tools for source code analysis
and
 license detection, which need comprehensive static analysis capabilities to
 ensure code quality and reliability of the license detection algorithms.

 The php-phpstan package is essential for:
 - Static analysis of FOSSology's PHP components for code quality
 - Detecting potential bugs and type issues before runtime
 - Ensuring reliability of license detection algorithms
 - Supporting development workflow with automated code analysis
 - Maintaining high code quality standards in FOSSology's PHP codebase
 - Catching errors early in the development process

Technical Details:
 - Requires PHP >= 7.1
 - Provides command-line tool for static analysis
 - Uses AST-based analysis for comprehensive code checking
 - Supports multiple analysis levels (0-9)
 - Includes extensive rule set for PHP best practices
 - MIT licensed for maximum compatibility
 - Provides both library and executable components

Dependencies:
 - php (>= 7.1)
 - Build dependencies: phpunit, php-codesniffer

The package will be maintained by Ahmed Gamal <ahmed.gamal9...@gmail.com>
as part
of the FOSSology packaging effort.

--
Ahmed Gamal
FOSSology Debian Packaging Team

Reply via email to