[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109621: marked as done (ITP: php-squizlabs-php-codesniffer -- PHP coding standard enforcement tool)



Dear William,

I need to reopen this ITP due to specific version requirements for FOSSology's development and build workflow.

VERSION REQUIREMENT:
FOSSology requires php-squizlabs-php-codesniffer version 3.7.2 for its development pipeline, which may differ from the current Debian version.

DEVELOPMENT WORKFLOW DEPENDENCY:
FOSSology's build and development process relies on:
- Specific CodeSniffer rule implementations from version 3.7.2
- Integration with FOSSology's automated build system
- Compatibility with existing development workflows
- Consistent code quality enforcement across the project

TECHNICAL INTEGRATION:
FOSSology's development pipeline expects:
- Particular API methods and command-line interfaces from 3.7.2
- Specific rule configurations for FOSSology's coding standards
- Compatible output formats for development and CI/CD tools
- Tested integration with packaging workflows

EVIDENCE FROM DEVELOPMENT:
FOSSology's development dependencies specify CodeSniffer 3.7.2 to ensure:
- Consistent code quality checks
- Stable build process behavior
- Compatibility with FOSSology's development tools
- Reliable CI/CD pipeline integration

PROPOSED SOLUTION:
Package as php-squizlabs-php-codesniffer-3.7 if version differences exist, ensuring FOSSology can maintain its established development workflow.

JUSTIFICATION:
Development toolchain consistency is critical for FOSSology's code quality and maintainable packaging processes.

REQUEST:
Please reopen to discuss providing CodeSniffer 3.7.2 for FOSSology's development requirements if version incompatibility exists.

Best regards,
Ahmed Gamal
FOSSology Debian Packaging Team

On Sun, Aug 10, 2025 at 2:03 PM Debian Bug Tracking System <owner@bugs.debian.org> wrote:
Your message dated Sun, 10 Aug 2025 15:45:06 +0200
with message-id <198943a261a.128607e99394474.6146403675296746199@wdes.fr>
and subject line The package already exists in Debian
has caused the Debian Bug report #1109621,
regarding ITP: php-squizlabs-php-codesniffer -- PHP coding standard enforcement tool
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--
1109621: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109621
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems



---------- Forwarded message ----------
From: Ahmed Gamal <ahmed.gamal9541@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: 
Bcc: 
Date: Mon, 21 Jul 2025 04:20:52 +0000
Subject: ITP: php-squizlabs-php-codesniffer -- PHP coding standard enforcement tool
Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <ahmed.gamal9541@gmail.com>

* Package name    : php-squizlabs-php-codesniffer
  Version         : 3.7.2
  Upstream Author : Greg Sherwood <squiz@squiz.net>
* URL             : https://github.com/squizlabs/PHP_CodeSniffer
* License         : BSD-3-Clause
  Programming Lang: PHP
  Section         : php

Description:
 PHP coding standard enforcement tool

 This package provides PHP_CodeSniffer, a set of two PHP scripts that tokenize
 PHP, _javascript_ and CSS files to detect violations of defined coding standards.
 The main `phpcs` script detects violations, while `phpcbf` automatically
 corrects coding standard violations.

 PHP_CodeSniffer is an essential development tool that ensures code remains
 clean and consistent by enforcing coding standards like PSR-12, PEAR, and
 custom standards. It helps maintain code quality and consistency across
 development teams.

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 code quality tools to ensure
 maintainable and consistent codebase.

 The php-squizlabs-php-codesniffer package is essential for:
 - Enforcing coding standards in FOSSology's PHP components
 - Maintaining code quality and consistency across the codebase
 - Automated code style checking and fixing
 - Supporting development workflow with coding standard compliance
 - Ensuring readable and maintainable code for license detection algorithms
 - Integration with CI/CD pipelines for automated code quality checks

Technical Details:
 - Requires PHP >= 5.4.0
 - Provides two command-line tools: phpcs and phpcbf
 - Supports multiple coding standards (PSR-12, PEAR, custom)
 - Tokenizes PHP, _javascript_, and CSS files
 - Includes extensive rule sets for various coding standards
 - BSD-3-Clause licensed for maximum compatibility
 - Provides both library and executable components

Dependencies:
 - php (>= 5.4.0)
 - php-ext-tokenizer
 - php-ext-xmlwriter
 - php-ext-simplexml
 - Build dependencies: phpunit

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

--
Ahmed Gamal
FOSSology Debian Packaging Team



---------- Forwarded message ----------
From: William Desportes <williamdes@wdes.fr>
To: 1109364-done <1109364-done@bugs.debian.org>, 1109365-done <1109365-done@bugs.debian.org>, 1109613-done <1109613-done@bugs.debian.org>, 1109615-done <1109615-done@bugs.debian.org>, 1109621-done <1109621-done@bugs.debian.org>, 1109624-done <1109624-done@bugs.debian.org>, 1109625-done <1109625-done@bugs.debian.org>, 1109632-done <1109632-done@bugs.debian.org>, 1109633-done <1109633-done@bugs.debian.org>, 1109634-done <1109634-done@bugs.debian.org>, 1109640-done <1109640-done@bugs.debian.org>
Cc: 
Bcc: 
Date: Sun, 10 Aug 2025 15:45:06 +0200
Subject: The package already exists in Debian

Please do some research before opening ITP/RFP bugs.
This package already exists in Debian.

--
William Desportes

Reply to: