forked from kriswallsmith/spork
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Changed - #1: PHP 7.2 min requirement and updated library to support it. - #4: Added DBAL usage documentation and updated existing examples. - 2d0951d: Applied PSR12 and additional rules to library. ### Removed - #1: Removed support for PHP <7.2
- Loading branch information
Showing
39 changed files
with
729 additions
and
446 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 @@ | ||
/.gitattributes export-ignore | ||
/.github export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/php_cs.dist export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/tests export-ignore |
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,4 +1,5 @@ | ||
composer.lock | ||
composer.phar | ||
phpunit.xml | ||
vendor/ | ||
/.php_cs | ||
/.phpunit.result.cache | ||
/composer.lock | ||
/phpunit.xml | ||
/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,54 @@ | ||
<?php | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->notPath('vendor') | ||
->in(__DIR__) | ||
->name('*.php') | ||
->ignoreDotFiles(true) | ||
->ignoreVCS(true); | ||
|
||
return PhpCsFixer\Config::create() | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules([ | ||
'@PSR2' => true, | ||
'psr4' => true, | ||
'binary_operator_spaces' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'linebreak_after_opening_tag' => true, | ||
'not_operator_with_successor_space' => true, | ||
'no_unused_imports' => true, | ||
'not_operator_with_successor_space' => false, | ||
'object_operator_without_whitespace' => true, | ||
'ordered_imports' => true, | ||
'phpdoc_order' => true, | ||
'blank_line_before_return' => true, | ||
'single_quote' => true, | ||
'blank_line_after_opening_tag' => true, | ||
'no_extra_blank_lines' => [ | ||
'extra', | ||
'continue', | ||
'curly_brace_block', | ||
'parenthesis_brace_block', | ||
'return', | ||
'square_brace_block', | ||
'throw', | ||
'use', | ||
'use_trait', | ||
'switch', | ||
'case', | ||
'default', | ||
], | ||
'no_whitespace_in_blank_line' => true, | ||
'no_blank_lines_after_class_opening' => true, | ||
'return_type_declaration' => [ | ||
'space_before' => 'none', | ||
], | ||
'concat_space' => [ | ||
'spacing' => 'one', | ||
], | ||
'compact_nullable_typehint' => true, | ||
'ternary_operator_spaces' => true, | ||
'unary_operator_spaces' => true, | ||
]) | ||
->setFinder($finder); |
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,12 +1,24 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 7.2 | ||
- 7.3 | ||
- nightly | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: nightly | ||
|
||
before_script: | ||
- wget http://getcomposer.org/composer.phar | ||
- php composer.phar install --dev | ||
install: | ||
- composer install --no-progress --no-scripts --no-suggest --no-interaction | ||
|
||
script: phpunit --coverage-text | ||
script: | ||
- vendor/bin/phpunit --coverage-text | ||
- vendor/bin/phpcs --standard=PSR12 src/ tests/ |
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,32 @@ | ||
## 0.3 (May 18, 2015) | ||
# Changelog | ||
|
||
* Changed ProcessManager constructor to accept new Factory class as second | ||
argument | ||
* Use shared memory for interprocess communications (@MattJaniszewski) | ||
* Added progress callbacks to Deferred | ||
* Added serializable objects for exit and error messages | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [1.0.0] - 2019-11-29 | ||
|
||
### Changed | ||
|
||
- #1: PHP 7.2 min requirement and updated library to support it. | ||
- #4: Added DBAL usage documentation and updated existing examples. | ||
- 2d0951d: Applied PSR12 and additional rules to library. | ||
|
||
### Removed | ||
|
||
- #1: Removed support for PHP <7.2 | ||
|
||
## [0.3.0] - 2015-05-18 | ||
|
||
### Changed | ||
|
||
- Changed ProcessManager constructor to accept new Factory class as second argument. | ||
- Use shared memory for interprocess communications (@MattJaniszewski). | ||
- Added progress callbacks to Deferred. | ||
- Added serializable objects for exit and error messages. | ||
|
||
[Unreleased]: https://github.com/TheLevti/spork/compare/0.3.0...HEAD | ||
[0.3.0]: https://github.com/TheLevti/spork/releases/0.3.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
Copyright (c) 2012-2013 OpenSky Project Inc | ||
Copyright 2019 Petr Levtonov <[email protected]> | ||
|
||
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: | ||
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. | ||
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
Oops, something went wrong.