Tooling: CI, coding standards, PHPStan and local Docker

未關閉
#19 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
css, docker, github-actions, javascript, php, wordpress

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.
主要語言
PHP
星號
0
分支
0
平均合併
2 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

wpgenius/stackfolio 的其他 Issue

查看 wpgenius/stackfolio 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。