-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bartosz Kubicki
committed
May 10, 2020
0 parents
commit 6ace7da
Showing
9 changed files
with
4,962 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.idea/ | ||
.env | ||
.phpunit.result.cache | ||
auth.json | ||
docker-compose.yml | ||
docker/ | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2020 Bartosz Kubicki | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# BKubicki Magento 2 Polish nouns numeral declension adapter | ||
|
||
## Overview | ||
Magento 2 adapter for library [bkubicki/magento2-polish-noun-numeral-declination-adapter](https://github.com/bartoszkubicki/polish-noun-numeral-declension) | ||
|
||
## Prerequisites | ||
* Magento 2.3+ | ||
* PHP 7.2/7.3 | ||
|
||
|
||
## Installation ### | ||
|
||
To install the extension use the following commands: | ||
|
||
```bash | ||
composer require bkubicki/magento2-polish-noun-numeral-declination-adapter | ||
``` | ||
|
||
|
||
## Tests ## | ||
|
||
|
||
### Unit ### | ||
1. Run command | ||
``` | ||
./vendor/bin/phpunit -c phpunit.xml --testsuite "Unit" --coverage-html coverage/coverage-html --colors=always | ||
``` | ||
|
||
2. You can also use some alias: | ||
- `test-unit-coverage` - _`vendor/bin/phpunit -c phpunit.xml --testsuite "Unit" --coverage-html coverage/coverage-html --colors=always`_ | ||
|
||
## Versioning | ||
|
||
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/bartoszkubicki/magento2-unit-tests-doubles/tags). | ||
|
||
|
||
## Changelog | ||
|
||
See changelog [here](CHANGELOG.md). | ||
|
||
|
||
## Authors | ||
|
||
* [Bartosz Kubicki](https://github.com/bartoszkubicki) | ||
|
||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"name": "bkubicki/magento2-polish-noun-numeral-declension-adapter", | ||
"description": "Magento 2 adapter for polish noun numeral declension library", | ||
"type": "library", | ||
"license": [ | ||
"MIT" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Bartosz Kubicki", | ||
"email": "b.w.kubicki@gmail.com" | ||
} | ||
], | ||
"version": "1.0.0", | ||
"minimum-stability": "stable", | ||
"require": { | ||
"php": "^7.2.0|~7.3.0", | ||
"bkubicki/polish-noun-numeral-declension": "^1.0", | ||
"magento/framework": "^101.0|^102.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.0.0" | ||
}, | ||
"keywords": [ | ||
"magento2", | ||
"noun", | ||
"declension", | ||
"decle", | ||
"numeral" | ||
], | ||
"autoload": { | ||
"files": [ | ||
"src/functions.php" | ||
] | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"BKubicki\\Magento2PolishNounNumeralDeclensionAdapter\\Test\\": "tests" | ||
} | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://repo.magento.com/" | ||
} | ||
], | ||
"scripts": { | ||
"test-unit-coverage": "vendor/bin/phpunit -c phpunit.xml --testsuite 'Unit' --coverage-html coverage/coverage-html --colors=always" | ||
} | ||
} |
Oops, something went wrong.