diff --git a/tests/tools/src-check b/tests/tools/src-check deleted file mode 100644 index 1e33a7267e..0000000000 --- a/tests/tools/src-check +++ /dev/null @@ -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 $@ diff --git a/tests/tools/src-fixer b/tests/tools/src-fixer deleted file mode 100644 index 46bb94f4db..0000000000 --- a/tests/tools/src-fixer +++ /dev/null @@ -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 $@ diff --git a/tests/tools/src-lint b/tests/tools/src-lint deleted file mode 100644 index 84fae37782..0000000000 --- a/tests/tools/src-lint +++ /dev/null @@ -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 $@