Skip to content
Snippets Groups Projects
Commit b77ce75d authored by Erick Hitter's avatar Erick Hitter
Browse files

Add linting

parent aa217a9e
No related branches found
No related tags found
3 merge requests!10WIP: Add typehint checking,!9WIP: Capture PHPUnit reports,!8Add linting
Pipeline #239 passed
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment