Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Carlos Gonzalez
ISPConfig 3
Commits
d641385b
Commit
d641385b
authored
Oct 15, 2018
by
Helmo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add php syntax check via GitLab CI
parent
ab6cf3fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletion
+29
-1
.gitignore
.gitignore
+2
-1
.gitlab-ci.yml
.gitlab-ci.yml
+18
-0
.phplint.yml
.phplint.yml
+9
-0
No files found.
.gitignore
View file @
d641385b
.DS_Store
/nbproject/private/
\ No newline at end of file
/nbproject/private/
.phplint-cache
.gitlab-ci.yml
0 → 100644
View file @
d641385b
# Defines stages which are to be executed
stages
:
-
syntax
#
### Stage syntax
#
syntax:lint:
stage
:
syntax
image
:
bobey/docker-gitlab-ci-runner-php7
allow_failure
:
false
script
:
-
composer require overtrue/phplint
-
echo "Syntax checking PHP files"
-
echo "For more information http://www.icosaedro.it/phplint/"
-
vendor/bin/phplint
.phplint.yml
0 → 100644
View file @
d641385b
path
:
./
jobs
:
10
cache
:
.phplint-cache
extensions
:
-
php
-
lng
exclude
:
-
vendor
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment