Tooling: CI, coding standards, PHPStan and local Docker
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- css, docker, github-actions, javascript, php, wordpress
- Domain
- build-system, devops, testing-qa
Research direction
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.
Written by the indexing model from the issue text.
Description
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,stackfoliotext 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.
- Dominant language
- PHP
- Stars
- 0
- Forks
- 0
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wpgenius/stackfolio
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 72/100
wpgenius/stackfolio#22 ·
-
Playground demoOpendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
wpgenius/stackfolio#21 ·
-
Community filesOpendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
wpgenius/stackfolio#20 ·
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 75/100
wpgenius/stackfolio#17 ·
-
GitHub setup scriptOpenenhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
wpgenius/stackfolio#18 ·
All issues in wpgenius/stackfolio
Similar issues
-
Difficulty 2/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
0. Needs triage 35-feedback bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Automattic/static-site-importer#3024 ·
Maintainers usually reply within 1 day
-
[6.0]: Uncaught TypeError: can't access property "value", event.chart.scales.x.ticks[4] is undefinedOpenBug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
phpmyadmin/phpmyadmin#20626 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day