This repository was archived by the owner on Sep 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
DevKit updates #175
Open
ElectricMaxxx
wants to merge
11
commits into
master
Choose a base branch
from
master-dev-kit
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
DevKit updates #175
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
878672c
DevKit updates
ElectricMaxxx 2ead44f
let composer point on 3.0
ElectricMaxxx 2dc838f
modify travis.yml
ElectricMaxxx 999682f
also change include
ElectricMaxxx ddb4660
DevKit updates
ElectricMaxxx ba58528
DevKit updates
ElectricMaxxx 521df0e
DevKit updates
ElectricMaxxx 430b1fb
DevKit updates
ElectricMaxxx e00a14e
DevKit updates
ElectricMaxxx 776d868
movements in travis config, fix cs for php
ElectricMaxxx cf1ba14
fix travis.yml
ElectricMaxxx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -5,3 +5,5 @@ composer.lock | |
composer.phar | ||
Tests/Resources/app/cache | ||
Tests/Resources/app/logs | ||
build | ||
.php_cs.cache |
This file contains hidden or 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,64 @@ | ||
<?php | ||
|
||
/** | ||
* DO NOT EDIT THIS FILE! | ||
* | ||
* It's auto-generated by sonata-project/dev-kit package. | ||
*/ | ||
|
||
$header = <<<'HEADER' | ||
This file is part of the Symfony CMF package. | ||
|
||
(c) Symfony CMF | ||
|
||
For the full copyright and license information, please view the LICENSE | ||
file that was distributed with this source code. | ||
HEADER; | ||
|
||
$rules = [ | ||
'@Symfony' => true, | ||
'@Symfony:risky' => true, | ||
'array_syntax' => [ | ||
'syntax' => 'short', | ||
], | ||
'combine_consecutive_issets' => true, | ||
'combine_consecutive_unsets' => true, | ||
'header_comment' => [ | ||
'header' => $header, | ||
], | ||
'no_extra_blank_lines' => true, | ||
'no_php4_constructor' => true, | ||
'no_useless_else' => true, | ||
'no_useless_return' => true, | ||
'ordered_class_elements' => true, | ||
'ordered_imports' => true, | ||
'phpdoc_order' => true, | ||
'@PHP56Migration' => true, | ||
'@PHP56Migration:risky' => true, | ||
'@PHPUnit57Migration:risky' => true, | ||
'@PHP70Migration' => true, | ||
'@PHP70Migration:risky' => true, | ||
'@PHPUnit60Migration:risky' => true, | ||
'@PHP71Migration' => true, | ||
'@PHP71Migration:risky' => true, | ||
'compact_nullable_typehint' => true, | ||
'void_return' => null, | ||
'strict_comparison' => true, | ||
'strict_param' => true, | ||
]; | ||
|
||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->in(__DIR__) | ||
->exclude('Tests/Fixtures') | ||
->exclude('tests/Fixtures') | ||
->exclude('Resources/skeleton') | ||
->exclude('Resources/public/vendor') | ||
; | ||
|
||
return PhpCsFixer\Config::create() | ||
->setFinder($finder) | ||
->setRiskyAllowed(true) | ||
->setRules($rules) | ||
->setUsingCache(true) | ||
; |
This file contains hidden or 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 hidden or 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 hidden or 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,5 @@ | ||
|
||
#!/usr/bin/env sh | ||
set -ev | ||
|
||
coveralls -v |
This file contains hidden or 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,11 @@ | ||
#!/usr/bin/env sh | ||
set -ev | ||
|
||
mkdir --parents "${HOME}/bin" | ||
|
||
wget "http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar" --output-document="${HOME}/bin/php-cs-fixer" | ||
chmod u+x "${HOME}/bin/php-cs-fixer" | ||
|
||
composer global require sllh/composer-lint:@stable --prefer-dist --no-interaction | ||
|
||
gem install yaml-lint |
This file contains hidden or 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 @@ | ||
#!/usr/bin/env sh | ||
set -ev | ||
|
||
mkdir --parents "${HOME}/bin" | ||
|
||
wget "https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar" --output-document="${HOME}/bin/phpunit" | ||
chmod u+x "${HOME}/bin/phpunit" | ||
|
||
# Coveralls client install | ||
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar --output-document="${HOME}/bin/coveralls" | ||
chmod u+x "${HOME}/bin/coveralls" | ||
|
||
# To be removed when these issues are resolved: | ||
# https://github.com/composer/composer/issues/5355 | ||
if [ "${COMPOSER_FLAGS}" = '--prefer-lowest' ]; then | ||
composer update --prefer-dist --no-interaction --prefer-stable --quiet | ||
fi | ||
|
||
composer update --prefer-dist --no-interaction --prefer-stable ${COMPOSER_FLAGS} |
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you starting a new major version? i would rather not if we can avoid it