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
128 changed files
with
879 additions
and
2,025 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
app/cache/* | ||
app/logs/* | ||
build/ | ||
composer.lock | ||
composer.phar | ||
var/cache/* | ||
var/logs/* | ||
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 |
---|---|---|
@@ -1,14 +1,31 @@ | ||
<?php | ||
|
||
return Symfony\CS\Config\Config::create()->finder(Symfony\CS\Finder\DefaultFinder::create() | ||
->exclude('app/cache') | ||
->exclude('app/log') | ||
$fixers = [ | ||
'-no_empty_lines_after_phpdocs', | ||
'-psr0', | ||
'ordered_use', | ||
'php_unit_construct', | ||
'php_unit_strict', | ||
'phpdoc_order', | ||
'short_array_syntax', | ||
]; | ||
|
||
$finder = Symfony\CS\Finder\DefaultFinder::create() | ||
->exclude('build') | ||
->exclude('var/cache') | ||
->exclude('var/log') | ||
->exclude('vendor') | ||
->ignoreDotFiles(false) | ||
->ignoreVCS(true) | ||
->in(__DIR__) | ||
->notName('*.phar') | ||
->notName('LICENSE') | ||
->notName('README.md') | ||
->notName('composer.*') | ||
->notName('phpunit.xml*') | ||
); | ||
->notName('phpunit.xml*'); | ||
|
||
return Symfony\CS\Config\Config::create() | ||
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL) | ||
->setUsingCache(false) | ||
->fixers($fixers) | ||
->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
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,21 +1,41 @@ | ||
--- | ||
|
||
sudo: false | ||
|
||
dist: trusty | ||
|
||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- hhvm | ||
before_install: | ||
- composer self-update | ||
- composer global require satooshi/php-coveralls:@stable | ||
- export PATH="$PATH:$HOME/.composer/vendor/bin" | ||
|
||
install: | ||
- sh -c "if [ '$TWIG_VERSION' = '1.8' ]; then sed -i 's/~1.8|~2.0/~1.8/g' composer.json; composer update; fi" | ||
- sh -c "if [ '$SYMFONY_DEPS_VERSION' = '2.8' ]; then sed -i 's/~2.8|~3.0/~2.8/g' composer.json; composer update; fi" | ||
- composer install --prefer-source | ||
|
||
before_script: | ||
- echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini | ||
- composer install --dev --prefer-source | ||
- mkdir -p build/logs | ||
- rm -rf app/cache/*/* | ||
|
||
script: | ||
- vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover ./build/logs/clover.xml | ||
- composer phpunit | ||
|
||
after_script: | ||
- php vendor/bin/coveralls -v | ||
- composer coveralls | ||
|
||
matrix: | ||
include: | ||
- php: 5.5 | ||
- php: 5.6 | ||
- php: 5.6 | ||
env: TWIG_VERSION=1.8 | ||
- php: 5.6 | ||
env: SYMFONY_DEPS_VERSION=2.8 | ||
- php: 7.0 | ||
- php: hhvm | ||
allow_failures: | ||
- php: 7.0 | ||
- php: hhvm |
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,7 @@ | ||
<IfModule mod_authz_core.c> | ||
Require all denied | ||
</IfModule> | ||
<IfModule !mod_authz_core.c> | ||
Order deny,allow | ||
Deny from all | ||
</IfModule> |
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,13 @@ | ||
<?php | ||
|
||
use Composer\Autoload\ClassLoader; | ||
use Doctrine\Common\Annotations\AnnotationRegistry; | ||
|
||
/* | ||
* @var ClassLoader | ||
*/ | ||
$loader = require __DIR__.'/../vendor/autoload.php'; | ||
|
||
AnnotationRegistry::registerLoader([$loader, 'loadClass']); | ||
|
||
return $loader; |
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.