Commit b77ce75d authored by Erick Hitter's avatar Erick Hitter

Add linting

parent aa217a9e
Pipeline #239 passed with stage
in 30 minutes and 16 seconds
...@@ -29,6 +29,7 @@ PHPunit:PHP5.3:MySQL: ...@@ -29,6 +29,7 @@ PHPunit:PHP5.3:MySQL:
services: services:
- mysql:5.6 - mysql:5.6
script: script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n - phpcs -n
- phpunit - phpunit
...@@ -37,6 +38,7 @@ PHPunit:PHP5.6:MySQL: ...@@ -37,6 +38,7 @@ PHPunit:PHP5.6:MySQL:
services: services:
- mysql:5.6 - mysql:5.6
script: script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n - phpcs -n
- phpunit - phpunit
...@@ -45,6 +47,7 @@ PHPunit:PHP7.0:MySQL: ...@@ -45,6 +47,7 @@ PHPunit:PHP7.0:MySQL:
services: services:
- mysql:5.6 - mysql:5.6
script: script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n - phpcs -n
- phpunit - phpunit
...@@ -53,6 +56,7 @@ PHPunit:PHP7.1:MySQL: ...@@ -53,6 +56,7 @@ PHPunit:PHP7.1:MySQL:
services: services:
- mysql:5.6 - mysql:5.6
script: script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n - phpcs -n
- phpunit - phpunit
...@@ -61,5 +65,6 @@ PHPunit:PHP7.2:MySQL: ...@@ -61,5 +65,6 @@ PHPunit:PHP7.2:MySQL:
services: services:
- mysql:5.6 - mysql:5.6
script: script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n - phpcs -n
- phpunit - phpunit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment