Feel free to contribute. Guide lines contributions:
For bug fixes create and issue and pull request if possible.
Use the discussion functionality and propose your idea:
- What you want to solve?
- Sample proof of concept code? (just how it could look)
- We are using conventionalcommits
- CHANGELOG.md is generated from given commits using this action.
- Use:
fix: feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test:
- These keywords will ignore changelog change
build,docs,style
- Always design your classes with dependency injection in mind (possibly constructor).
- Always think about tests -> how they should be written and if it is easy.
composer run check
We are using set of tools to ensure that the code is consistent. Run this before pushing your code changes.
composer run check
composer run check
composer run check
git submodule add [email protected]:wrk-flow/larastrict.git core
- Add this to your
composer.json
andrepositories
key.
{
"type": "path",
"url": "./core"
}
composer require wrkflow/larastrict:*
- (optional, IDEA) Mark
core/src
directory asSources root
and setLarastrict
as the namespace.
For MakeExpectationCommand we are using stubs. If you want to generate the stub files from current command output then run:
- Composer:
composer test:stubs
- PHPStorm run configuration:
test:stubs
nikic/php-parser
- onv4.13.0
enum with value named Array fails to be parsed,v4.14.0
works