-
Notifications
You must be signed in to change notification settings - Fork 38
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
Showing
112 changed files
with
2,454 additions
and
2,354 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 |
---|---|---|
@@ -1,16 +1,66 @@ | ||
<?php | ||
|
||
$finder = Symfony\CS\Finder\DefaultFinder::create() | ||
->in(__DIR__); | ||
->in(__DIR__) | ||
->exclude( | ||
array( | ||
'artifacts', | ||
'assets', | ||
'bower_components', | ||
'build', | ||
'node_modules', | ||
'src-web', | ||
'src-generated', | ||
'vendor', | ||
) | ||
); | ||
|
||
return Symfony\CS\Config\Config::create() | ||
->fixers(array( | ||
'-concat_without_spaces', | ||
'-empty_return', | ||
'-new_with_braces', | ||
'align_double_arrow', | ||
'align_equals', | ||
'ordered_use', | ||
'short_array_syntax', | ||
)) | ||
->level(Symfony\CS\FixerInterface::PSR2_LEVEL) | ||
->fixers( | ||
array( | ||
// symfony | ||
'blankline_after_open_tag', | ||
'duplicate_semicolon', | ||
'extra_empty_lines', | ||
'include', | ||
'join_function', | ||
'list_commas', | ||
'multiline_array_trailing_comma', | ||
'namespace_no_leading_whitespace', | ||
'new_with_braces', | ||
'no_blank_lines_after_class_opening', | ||
'no_empty_lines_after_phpdocs', | ||
'object_operator', | ||
'operators_spaces', | ||
'phpdoc_indent', | ||
'phpdoc_params', | ||
'phpdoc_short_description', | ||
'phpdoc_to_comment', | ||
'phpdoc_trim', | ||
'phpdoc_type_to_var', | ||
'phpdoc_var_without_name', | ||
'pre_increment', | ||
'remove_leading_slash_use', | ||
'remove_lines_between_uses', | ||
'return', | ||
'self_accessor', | ||
'single_array_no_trailing_comma', | ||
'single_blank_line_before_namespace', | ||
'single_quote', | ||
'spaces_before_semicolon', | ||
'spaces_cast', | ||
'standardize_not_equal', | ||
'ternary_spaces', | ||
'trim_array_spaces', | ||
'unary_operators_spaces', | ||
'unused_use', | ||
'whitespacy_lines', | ||
|
||
// contrib | ||
'concat_with_spaces', | ||
'multiline_spaces_before_semicolon', | ||
'ordered_use', | ||
) | ||
) | ||
->finder($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 +1 @@ | ||
eNkdkCDTTQDrKETgHn9u2Kbx1vvZFDkMxFgmwl6keoe9X4XtEsw/LSgHlE4dEscGVwEidzMJuH2ZapgB9KbqSJImKmtvJYjF1700zrWdXSqy5NeLiexwBwoQbkrnO27AwqpRnEFwJrBlEggsBcUYj8s9hRYlDKb3juEEKgdafxc= | ||
g0uexghpfxjO1pVYCBqj/P957zCZQT1v5naWgzDtu5n2Sh1WoW00K4+jOYJ4bbIm+1O8wbzzlyOuYZMMz0xXLVzuOdoMwMhfcnI+pE/dpa4J/vs1RFqoLh4HuNx9oPErNODdmWIkeC1SpcuBeYZfYxEL6UJIWbZZq3a9BIslx88= |
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 |
---|---|---|
@@ -1,22 +1,37 @@ | ||
# Recoil Changelog | ||
|
||
### 0.3.0 (2015-06-26) | ||
## 0.4.0 (2016-03-06) | ||
|
||
* **[BC]** Removed `StrandInterface::resume()` | ||
* **[NEW]** `return` statement can be used to return a value inside a coroutine (requires PHP 7) | ||
* **[IMPROVED]** Improved method documentation on `Recoil` facade (thanks @rjkip) | ||
This is the final release that will operate with PHP 5. In an effort to work | ||
towards a production ready 1.0 release, future releases will require PHP 7. | ||
|
||
### 0.2.1 (2014-10-16) | ||
- **[BC]** Dropped `Interface` suffix from interfaces | ||
- **[BC]** Renamed `ReadableStream` to `ReadablePhpStream` | ||
- **[BC]** Renamed `WritableStream` to `WritablePhpStream` | ||
- **[BC]** Renamed `CoroutineAdaptor` to `StandardCoroutineAdaptor` | ||
- **[BC]** Renamed `KernelApi` to `StandardKernelApi` | ||
- **[BC]** Renamed `Strand` to `StandardStrand` | ||
- **[BC]** Renamed `StrandFactory` to `StandardStrandFactory` | ||
- **[NEW]** Added support for Guzzle promises | ||
- **[IMPROVED]** The callback given to `Recoil::suspend` is now optional | ||
|
||
* **[IMPROVED]** Added support for cancellable promises | ||
## 0.3.0 (2015-06-26) | ||
|
||
### 0.2.0 (2014-09-23) | ||
- **[BC]** Removed `StrandInterface::resume()` | ||
- **[NEW]** `return` statement can be used to return a value inside a coroutine (requires PHP 7) | ||
- **[IMPROVED]** Improved method documentation on `Recoil` facade (thanks @rjkip) | ||
|
||
## 0.2.1 (2014-10-16) | ||
|
||
- **[IMPROVED]** Added support for cancellable promises | ||
|
||
## 0.2.0 (2014-09-23) | ||
|
||
To faciliate several performance improvements the following backwards compatibility breaking changes have been introduced: | ||
|
||
* **[BC]** `CoroutineInterface` no longer implements `EventEmitterInterface` - several unused events were fired every time a coroutine was called | ||
* **[BC]** `Recoil::finalize()` now only works with generated based coroutines - this was previously implemented using the aforementioned events | ||
- **[BC]** `CoroutineInterface` no longer implements `EventEmitterInterface` - several unused events were fired every time a coroutine was called | ||
- **[BC]** `Recoil::finalize()` now only works with generator based coroutines - this was previously implemented using the aforementioned events | ||
|
||
### 0.1.0 (2014-02-04) | ||
## 0.1.0 (2014-02-04) | ||
|
||
* Initial release | ||
- Initial release |
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
Oops, something went wrong.