mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-02 13:18:12 +09:00
Move src lint tools back
This commit is contained in:
1 parent
2c1df01b77
commit
0f47af918e
3 files changed
-87
No files matched your search
@@ -1,26 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| Copyright (C) 2004-2023 The Cacti Group |
|
||||
#| |
|
||||
#| This program is free software; you can redistribute it and/or |
|
||||
#| modify it under the terms of the GNU General Public License |
|
||||
#| as published by the Free Software Foundation; either version 2 |
|
||||
#| of the License, or (at your option) any later version. |
|
||||
#| |
|
||||
#| This program is distributed in the hope that it will be useful, |
|
||||
#| but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
#| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
#| GNU General Public License for more details. |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| Cacti: The Complete RRDtool-based Graphing Solution |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| This code is designed, written, and maintained by the Cacti Group. See |
|
||||
#| about.php and/or the AUTHORS file for specific developer information. |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| http://www.cacti.net/ |
|
||||
#+-------------------------------------------------------------------------+
|
||||
|
||||
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
cd "${SCRIPTPATH}"
|
||||
|
||||
./src-fixer --diff --dry-run $@
|
||||
@@ -1,35 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| Copyright (C) 2004-2023 The Cacti Group |
|
||||
#| |
|
||||
#| This program is free software; you can redistribute it and/or |
|
||||
#| modify it under the terms of the GNU General Public License |
|
||||
#| as published by the Free Software Foundation; either version 2 |
|
||||
#| of the License, or (at your option) any later version. |
|
||||
#| |
|
||||
#| This program is distributed in the hope that it will be useful, |
|
||||
#| but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
#| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
#| GNU General Public License for more details. |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| Cacti: The Complete RRDtool-based Graphing Solution |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| This code is designed, written, and maintained by the Cacti Group. See |
|
||||
#| about.php and/or the AUTHORS file for specific developer information. |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| http://www.cacti.net/ |
|
||||
#+-------------------------------------------------------------------------+
|
||||
|
||||
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
cd "${SCRIPTPATH}"
|
||||
|
||||
ANSI=--no-ansi
|
||||
VERBOSE=
|
||||
if [ -t 1 ]; then
|
||||
if [[ -z $RUNNER_OS ]]; then
|
||||
ANSI=
|
||||
VERBOSE=--verbose
|
||||
fi
|
||||
fi;
|
||||
echo vendor/bin/php-cs-fixer fix $VERBOSE $ANSI $@
|
||||
vendor/bin/php-cs-fixer fix $VERBOSE $ANSI $@
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| Copyright (C) 2004-2023 The Cacti Group |
|
||||
#| |
|
||||
#| This program is free software; you can redistribute it and/or |
|
||||
#| modify it under the terms of the GNU General Public License |
|
||||
#| as published by the Free Software Foundation; either version 2 |
|
||||
#| of the License, or (at your option) any later version. |
|
||||
#| |
|
||||
#| This program is distributed in the hope that it will be useful, |
|
||||
#| but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
#| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
#| GNU General Public License for more details. |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| Cacti: The Complete RRDtool-based Graphing Solution |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| This code is designed, written, and maintained by the Cacti Group. See |
|
||||
#| about.php and/or the AUTHORS file for specific developer information. |
|
||||
#+-------------------------------------------------------------------------+
|
||||
#| http://www.cacti.net/ |
|
||||
#+-------------------------------------------------------------------------+
|
||||
|
||||
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
cd "${SCRIPTPATH}"
|
||||
|
||||
vendor/bin/phplint --no-cache $@
|
||||
Reference in new issue
Block a user