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

Merge branch 'add/linting-master' into 'master'

Add linting

See merge request !8
parents 460e2506 b77ce75d
Branches
No related tags found
3 merge requests!10WIP: Add typehint checking,!9WIP: Capture PHPUnit reports,!8Add linting
Pipeline #1077 failed
...@@ -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