-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from CaliforniaMountainSnake/pr-to-upstream
Whole rebuild of the command
- Loading branch information
Showing
11 changed files
with
623 additions
and
78 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 |
---|---|---|
|
@@ -13,3 +13,6 @@ trim_trailing_whitespace = true | |
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 |
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,41 @@ | ||
name: Run Tests | ||
on: [push] | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 15 | ||
fail-fast: false | ||
matrix: | ||
php-versions: ["7.1", "7.2", "7.3", "7.4"] | ||
composer-flags: ["--prefer-lowest", "--prefer-stable"] | ||
env: | ||
- LARAVEL_VERSION='~5.5' | ||
- LARAVEL_VERSION='~5.6' | ||
- LARAVEL_VERSION='~5.7' | ||
- LARAVEL_VERSION='~5.8' | ||
- LARAVEL_VERSION='^6.0' | ||
- LARAVEL_VERSION='^7.0' | ||
exclude: | ||
- php-versions: 7.1 | ||
env: LARAVEL_VERSION='^6.0' | ||
- php-versions: 7.1 | ||
env: LARAVEL_VERSION='^7.0' | ||
name: Test on PHP ${{ matrix.php-versions }}, Laravel ${{ matrix.laravel-versions }} and ${{ matrix.composer-flags }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
- name: Install PHP | ||
uses: shivammathur/setup-php@master | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
- name: Install Dependencies | ||
run: | | ||
${{ matrix.env }} | ||
composer config discard-changes true | ||
composer self-update | ||
composer require --dev "laravel/framework:${LARAVEL_VERSION}" --no-interaction --no-update | ||
composer update ${{ matrix.composer-flags }} --prefer-dist --no-suggest --no-interaction | ||
- name: Run PHPUnit | ||
run: php vendor/bin/phpunit |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
build | ||
composer.lock | ||
docs | ||
vendor | ||
coverage | ||
SCRATCH.md | ||
/.idea/ | ||
/nbproject/ | ||
/build | ||
/composer.lock | ||
/docs | ||
/vendor | ||
/coverage | ||
/SCRATCH.md | ||
/REFACTORING.md |
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 |
---|---|---|
@@ -1,7 +1,54 @@ | ||
# Changelog | ||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
All notable changes to `laravel-env-set-command` will be documented in this file | ||
## [Unreleased] | ||
### Added | ||
### Changed | ||
### Deprecated | ||
### Removed | ||
### Fixed | ||
### Security | ||
|
||
## 1.0.0 - 2018-07-13 | ||
|
||
## [1.1.4] - 2020-05-13 | ||
### Added | ||
- Added the command description. | ||
- Added Travis CI build status badge. | ||
- Added support for using en external `.env` file when using "key=value" syntax. | ||
### Changed | ||
- Merged with upstream/master. | ||
|
||
## [1.1.3] - 2020-05-12 | ||
### Security | ||
- roave/security-advisories finds laravel 5.3/5.4 not safe, so it is removed from the travis-ci config. | ||
|
||
## [1.1.2] - 2020-05-12 | ||
### Fixed | ||
- Fixed travis-ci integration config. | ||
|
||
## [1.1.1] - 2020-05-12 | ||
### Fixed | ||
- Fixed travis-ci integration config. | ||
|
||
## [1.1.0] - 2020-05-12 | ||
### Added | ||
- Now you can set and update empty env-variables. | ||
- Now you can specify external .env-file as the third optional argument. | ||
- Now you can set the value with equals sign ("="). | ||
- Added a lot of unit-tests. | ||
- Added travis-ci integration. | ||
### Changed | ||
- composer.json now includes needed laravel components. | ||
### Fixed | ||
- Fixed compatibility with Laravel 6+. | ||
|
||
## [1.0.0] - 2018-07-13 | ||
### Added | ||
- Initial release | ||
|
||
[1.1.4]: https://github.com/imliam/laravel-env-set-command/compare/1.1.3...1.1.4 | ||
[1.1.3]: https://github.com/imliam/laravel-env-set-command/compare/1.1.2...1.1.3 | ||
[1.1.2]: https://github.com/imliam/laravel-env-set-command/compare/1.1.1...1.1.2 | ||
[1.1.1]: https://github.com/imliam/laravel-env-set-command/compare/1.1.0...1.1.1 | ||
[1.1.0]: https://github.com/imliam/laravel-env-set-command/compare/1.0.0...1.1.0 |
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
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
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,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
> | ||
<testsuites> | ||
<testsuite name="Unit"> | ||
<directory suffix="Test.php">./tests/Unit</directory> | ||
</testsuite> | ||
<testsuite name="Feature"> | ||
<directory suffix="Test.php">./tests/Feature</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">./app</directory> | ||
</whitelist> | ||
</filter> | ||
<php> | ||
<ini name="display_errors" value="true"/> | ||
</php> | ||
</phpunit> |
Oops, something went wrong.