Skip to content

Commit 63ab8b2

Browse files
committed
Tests: Small improvements on build and xml new lines
1 parent a5feaa6 commit 63ab8b2

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ phpunit.xml
55
composer.lock
66
composer.phar
77
.php_cs.cache
8+
.php_cs
File renamed without changes.

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ cache:
4343

4444
before_install:
4545
- if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
46-
- if [ ${TEST_COVERAGE} != true ]; then phpenv config-rm xdebug.ini || true; fi
46+
- if [ ${TEST_COVERAGE} != true ]; then phpenv config-rm xdebug.ini || true; fi;
4747
- composer selfupdate
4848
- if [ $SYMFONY_VERSION ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --dev --no-update; fi;
4949
- if [ $GRAPHQLPHP_VERSION ]; then composer require "overblog/graphql-bundle:${GRAPHQLBUNDLE_VERSION}" --dev --no-update; fi;
@@ -52,8 +52,8 @@ install: composer update --prefer-source --no-interaction --optimize-autoloader
5252

5353
script:
5454
- ./vendor/bin/phpunit --debug $( if [ $TEST_COVERAGE = true ]; then echo "-d xdebug.max_nesting_level=1000 --coverage-clover=build/logs/clover.xml"; fi; )
55-
- if [ ${TEST_COVERAGE} = true ]; then composer require --dev 'friendsofphp/php-cs-fixer:^2.0' && ./vendor/bin/php-cs-fixer fix --diff --dry-run -v; fi;
55+
- if [ ${TEST_COVERAGE} = true ]; then wget http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -O php-cs-fixer && php ./php-cs-fixer fix --diff --dry-run -v; fi;
5656

5757
after_script:
58-
- if [ ${TEST_COVERAGE} = true ]; then wget https://scrutinizer-ci.com/ocular.phar && travis_retry php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi
59-
- if [ ${TEST_COVERAGE} = true ]; then composer require "satooshi/php-coveralls:^1.0" && travis_retry php ./vendor/bin/coveralls -v; fi
58+
- if [ ${TEST_COVERAGE} = true ]; then wget https://scrutinizer-ci.com/ocular.phar && travis_retry php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;
59+
- if [ ${TEST_COVERAGE} = true ]; then composer require "satooshi/php-coveralls:^1.0" && travis_retry php ./vendor/bin/coveralls -v; fi;

Resources/config/routing.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
2-
32
<routes xmlns="http://symfony.com/schema/routing"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://symfony.com/schema/routing

Resources/config/schema/overblog_graphiql-0.1.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
<xsd:element name="javascript_libraries" type="javascriptLibraries" minOccurs="0" maxOccurs="1" />
2727
</xsd:choice>
2828
</xsd:complexType>
29-
</xsd:schema>
29+
</xsd:schema>

Resources/config/services.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" ?>
2-
32
<container xmlns="http://symfony.com/schema/dic/services"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:schemaLocation="http://symfony.com/schema/dic/services

Tests/Functional/DependencyInjection/Fixtures/Xml/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
</framework:config>
2222

2323
<overblog_graphiql:config/>
24-
</container>
24+
</container>

0 commit comments

Comments
 (0)