Skip to content

Commit

Permalink
Merge pull request #3 from keboola/webrouse-COM-570-fix-synapse-comments
Browse files Browse the repository at this point in the history
Fix Synapse comments (#temp-table is not a comment)
  • Loading branch information
michaljurecko committed Dec 11, 2020
2 parents 29bb19a + 94fee9b commit 0643d07
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 453 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1 +1,3 @@
.idea/
vendor/
composer.lock
7 changes: 6 additions & 1 deletion .travis.yml
@@ -1,5 +1,10 @@
language: php
php:
- 5.6
- 7.1
- 7.4

script: phpunit --coverage-text
script:
- if [[ ${TRAVIS_PHP_VERSION:0:3} != "5.6" ]]; then phpenv config-rm xdebug.ini; fi
- composer install
- ./vendor/bin/phpunit --coverage-text
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -5,6 +5,12 @@ A lightweight php class for formatting sql statements.

It can automatically indent and add line breaks in addition to syntax highlighting.

For local development run:
```
docker run --rm -it -v $(pwd):/app --entrypoint "" prooph/composer:5.6 composer install
docker run --rm -it -v $(pwd):/app --entrypoint "" prooph/composer:5.6 ./vendor/bin/phpunit
```

History
============

Expand Down
2 changes: 2 additions & 0 deletions bootstrap.php
@@ -1,4 +1,6 @@
<?php

require __DIR__.'/vendor/autoload.php';

ini_set('display_errors', true);
ini_set('error_reporting', E_ALL);
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -7,10 +7,10 @@
"license": "MIT",
"type": "library",
"require": {
"php": ">=5.2.4"
"php": ">=5.6"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
"phpunit/phpunit": "^5.0"
},
"authors": [
{
Expand Down

0 comments on commit 0643d07

Please sign in to comment.