Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Introduce Phing as build tool for code quality pipeline

Offen
#20 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
php

Rechercherichtung

Start by reading the existing Makefile and GitHub Actions workflow, then check the Composer dependencies and available PHPCS, PHPStan, and PHPUnit commands. Decide how Phing should fit the existing build setup and whether the open questions need maintainer input. Done means a documented Phing setup that runs the agreed quality checks consistently.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement good first issue

Context

Currently there is no automated build pipeline for code quality checks. Running lint, static analysis and tests manually is error-prone and inconsistent across contributors.

Proposal

Introduce Phing as the build tool to orchestrate tasks like:

  • PHP_CodeSniffer (PHPCS) for coding style
  • PHPStan for static analysis
  • PHPUnit tests

A build.xml could look like:

<project name="openapi-php-sdk" default="check">
  <target name="check" depends="lint,test"/>

  <target name="lint">
    <exec command="./vendor/bin/phpcs src/ --standard=PSR12" passthru="true" checkreturn="true"/>
  </target>

  <target name="test">
    <exec command="./vendor/bin/phpunit" passthru="true" checkreturn="true"/>
  </target>
</project>

Open questions

  • Should we enforce PSR-12 strictly or allow some exceptions (e.g. trailing commas)?
  • Do we integrate Phing into the existing Makefile or replace it entirely?
  • Should Phing targets also run inside the GitHub Actions workflow?
Vorherrschende Sprache
PHP
Sterne
20
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus openapi/openapi-php-sdk

Alle Issues in openapi/openapi-php-sdk

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.