Skip to content

Commit

Permalink
Removed obsolete configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 2, 2024
1 parent 3326b96 commit 16f7e61
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# To ignore OS temporary files use global .gitignore
# https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer

vendor
artifact
composer.lock
git_*
.phpunit.result.cache
.phpunit.cache
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,18 @@ In this example, all commits in the repository will be pushed to the same branch

In this example, if the latest commit was tagged with tag `1.2.0`, the artifact will be pushed to the branch `release/1.2.0`. If there latest commit is tagged with multiple tags - they will be glued to gether with delimiter `-`, which would reult in the branch name `release/1.2.0-secondtag`.

## Maintenance / Contributing
1. Fork this repo.
2. Check it out locally and create a feature branch.
3. `composer install` to install all required dependencies.
4. Work on your changes.
5. `composer lint` to check coding standards.
6. `composer test` to run test.
7. Commit your changes, push and create a pull request.
8. `composer clean` to cleanup your environment.
## Maintenance

### Lint code

```bash
composer lint
composer lint:fix
```

### Run tests

```bash
composer test
```

6 changes: 1 addition & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@
],
"lint:fix": "phpcbf",
"test": "phpunit --no-coverage",
"test:coverage": "XDEBUG_MODE=coverage phpunit",
"clean": "vagrant -f destroy &>/dev/null || $(which true); rm -Rf $(pwd)/.vagrant; rm -Rf $(pwd)/.beetbox; rm -Rf $(pwd)/Vagrantfile; rm -Rf $(pwd)/vendor; rm -Rf $(pwd)/screenshots;",
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
]
"test:coverage": "XDEBUG_MODE=coverage phpunit"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 16f7e61

Please sign in to comment.