Tooling: CI, coding standards, PHPStan and local Docker

Offen
#19 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
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
css, docker, github-actions, javascript, php, wordpress

Rechercherichtung

Start at the repository root to see which tooling files already exist, then find the video-link parsing code so the unit tests have a target. The issue names the files to add: ci.yml, composer.json, phpcs.xml.dist, phpstan.neon.dist, phpunit.xml.dist, package.json, and a Docker setup. Done when the CI jobs listed in the issue run green and the video-link parsing tests pass locally.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

Now: no CI; coding standards are checked by hand.

Expected: the standard's tooling, adapted to StackFolio:

  • ci.yml: PHP syntax and unit tests on every supported PHP, PHPCS (WordPress standard, stackfolio text domain and prefixes), PHPStan, JS/CSS lint and WordPress Plugin Check on the shipped zip.
  • No block-build, integration-test or rename-script jobs, since StackFolio's block is plain JS and the plugin has no integration tests yet.
  • composer.json, phpcs.xml.dist, phpstan.neon.dist, phpunit.xml.dist, package.json, unit tests for video-link parsing, and the local Docker setup.
Vorherrschende Sprache
PHP
Sterne
0
Forks
0
Ø Merge
2 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

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 wpgenius/stackfolio

Alle Issues in wpgenius/stackfolio

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

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