Introduce Phing as build tool for code quality pipeline
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 42/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Calme
- Stack technique
- php
- Domaine
- build-system, testing
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
Makefileor replace it entirely? - Should Phing targets also run inside the GitHub Actions workflow?
- Langage dominant
- PHP
- Étoiles
- 20
- Forks
- 3
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de openapi/openapi-php-sdk
-
Improve PHPDoc Consistency Across the CodebasePeut-être à nouveau libre @Seraphim200001 l’a pris il y a 141 jours, et aucune pull request n’est ouverte. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
openapi/openapi-php-sdk#36 · 3 commentaires ·
-
enhancement help wanted
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
openapi/openapi-php-sdk#34 ·
-
good first issue question
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
openapi/openapi-php-sdk#33 · 2 commentaires ·
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
openapi/openapi-php-sdk#32 ·
-
help wanted question
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
openapi/openapi-php-sdk#31 ·
Toutes les issues de openapi/openapi-php-sdk
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Automattic/blocks-engine#2866 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
community-scripts/ProxmoxVE#17944 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
EasyCorp/EasyAdminBundle#7861 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Good first issue: add laravel-inertia stack budget preset (Laravel 11 + Inertia.js + PHP 8.3)Ouverteenhancement good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
backend gamification P0
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
semanadeinformatica/website#461 ·