-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Created TypedStruct and test cases - Continuous Integration Travis: - Add PHP 7.1 - Add php-cs-fixer - Remove coveralls - Composer: update dev dependences, drop coveralls - Code style: Add phpcs.xml.dist and update .php_cs.dist - Rename sources/ to src/ - Informational: - Create CHANGELOG - Update CONTRIBUTING links and instructions - Update README.md badges
- Loading branch information
Showing
81 changed files
with
760 additions
and
194 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
/vendor | ||
/composer.lock | ||
/build | ||
/phpdox.xml | ||
/phpunit.xml |
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 @@ | ||
<?php | ||
return PhpCsFixer\Config::create() | ||
->setRiskyAllowed(true) | ||
->setCacheFile(__DIR__.'/build/.php_cs.cache') | ||
->setRules([ | ||
'@PSR2' => true, | ||
'psr0' => false, // do not enforce psr-0, it rewrites 'namespace Test\' to 'namespace tests\' | ||
// symfony | ||
'whitespace_after_comma_in_array' => true, | ||
'no_empty_statement' => true, | ||
'no_extra_consecutive_blank_lines' => true, | ||
'function_typehint_space' => true, | ||
'no_alias_functions' => true, | ||
'trailing_comma_in_multiline_array' => true, | ||
'new_with_braces' => true, | ||
'no_blank_lines_after_class_opening' => true, | ||
'no_blank_lines_after_phpdoc' => true, | ||
'object_operator_without_whitespace' => true, | ||
'binary_operator_spaces' => true, | ||
'phpdoc_scalar' => true, | ||
'self_accessor' => true, | ||
'no_trailing_comma_in_singleline_array' => true, | ||
'single_quote' => true, | ||
'no_singleline_whitespace_before_semicolons' => true, | ||
'no_unused_imports' => true, | ||
'no_whitespace_in_blank_line' => true, | ||
// contrib | ||
'concat_space' => ['spacing' => 'one'], | ||
'not_operator_with_successor_space' => true, | ||
'no_blank_lines_before_namespace' => true, | ||
'linebreak_after_opening_tag' => true, | ||
'ordered_imports' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
]) | ||
->setFinder( | ||
PhpCsFixer\Finder::create()->in([ | ||
__DIR__ . '/src', | ||
__DIR__ . '/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
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,15 @@ | ||
# Version 0.3.0 | ||
- Created TypedStruct and test cases | ||
|
||
# Version 0.2.1 | ||
- Continuous Integration Travis: | ||
- Add PHP 7.1 | ||
- Add php-cs-fixer | ||
- Remove coveralls | ||
- Composer: update dev dependences, drop coveralls | ||
- Code style: Add phpcs.xml.dist and update .php_cs.dist | ||
- Rename sources/ to src/ | ||
- Informational: | ||
- Create CHANGELOG | ||
- Update CONTRIBUTING links and instructions | ||
- Update README.md badges |
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
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,24 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="EngineWorks"> | ||
<description>The EngineWorks (PSR-2 based) coding standard.</description> | ||
<arg name="tab-width" value="4"/> | ||
<arg name="encoding" value="utf-8"/> | ||
<arg name="report-width" value="auto"/> | ||
<arg name="extensions" value="php"/> | ||
<rule ref="PSR2" /> | ||
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/> | ||
<rule ref="Generic.CodeAnalysis.EmptyStatement"/> | ||
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> | ||
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/> | ||
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/> | ||
<rule ref="Generic.Formatting.SpaceAfterNot"/> | ||
<rule ref="Generic.Functions.CallTimePassByReference"/> | ||
<rule ref="Generic.NamingConventions.ConstructorName"/> | ||
<rule ref="Generic.PHP.DeprecatedFunctions"/> | ||
<rule ref="Squiz.PHP.DisallowSizeFunctionsInLoops"/> | ||
<rule ref="Squiz.Scope.MemberVarScope"/> | ||
<rule ref="Squiz.WhiteSpace.CastSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.OperatorSpacing"/> | ||
<rule ref="Zend.Files.ClosingTag"/> | ||
</ruleset> |
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,19 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<phpdox xmlns="http://xml.phpdox.net/config"> | ||
<project name="eclipxe/generic-collections" source="${basedir}/src" workdir="${basedir}/build/api/xml"> | ||
<collector backend="parser" /> | ||
<generator output="${basedir}/build/api"> | ||
<enrich base="${basedir}/build"> | ||
<source type="phploc" /> | ||
<source type="git"> | ||
<history enabled="true" limit="15" /> | ||
</source> | ||
<source type="pmd" /> | ||
<source type="phpunit"> | ||
<coverage path="coverage/xml/" /> | ||
</source> | ||
</enrich> | ||
<build engine="html" output="html"/> | ||
</generator> | ||
</project> | ||
</phpdox> |
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
3 changes: 2 additions & 1 deletion
3
...icCollections/Abstracts/AbstractDeque.php → ...icCollections/Abstracts/AbstractDeque.php
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.