Skip to content

Commit

Permalink
Big cleanup, just for fun as it can't work anyway!
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Jul 13, 2020
1 parent 0423500 commit 0ef2c47
Show file tree
Hide file tree
Showing 14 changed files with 219 additions and 2,034 deletions.
8 changes: 0 additions & 8 deletions .coveralls.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea/
phpdoc/
vendor
vendor/
build/
composer.phar
composer.lock
.phpcs-cache
22 changes: 22 additions & 0 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">

<config name="testVersion" value="7.3-"/>

<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="10"/>
<!-- Show progress -->
<arg value="p"/>

<file>UAS</file>
<file>Tests</file>
<file>UASparser_example.phps</file>

<rule ref="PSR12"/>
<rule ref="PHPCompatibility"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
</ruleset>
72 changes: 0 additions & 72 deletions .scrutinizer.yml

This file was deleted.

19 changes: 6 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
language: php

php:
- 5.5
- 5.4
- 5.3
- 7.3
- 7.4
- nightly

before_script:
- composer self-update
- composer install --dev --prefer-source
- php vendor/autoload.php
install:
- composer install --no-interaction --dev --prefer-source

script:
- mkdir -p build/logs
- phpunit --configuration travis.phpunit.xml.dist --colors --verbose

after_script:
- php vendor/bin/coveralls -v
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- phpunit --configuration phpunit.xml.dist --colors --verbose

notifications:
email: false
Loading

0 comments on commit 0ef2c47

Please sign in to comment.