Skip to content

Commit

Permalink
fix: remove unused use statements
Browse files Browse the repository at this point in the history
  • Loading branch information
keevan committed Oct 14, 2024
1 parent 78369ba commit 1234567
Show file tree
Hide file tree
Showing 44 changed files with 0 additions and 67 deletions.
1 change: 0 additions & 1 deletion classes/admin/admin_setting_configcheckbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\admin;

use tool_dataflows\admin\readonly_trait;

/**
* A custom class applying extra readonly checks to the base implementation.
Expand Down
1 change: 0 additions & 1 deletion classes/admin/admin_setting_configexecutable.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\admin;

use tool_dataflows\admin\readonly_trait;

/**
* A custom class applying extra readonly checks to the base implementation.
Expand Down
1 change: 0 additions & 1 deletion classes/admin/admin_setting_configmultiselect.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\admin;

use tool_dataflows\admin\readonly_trait;

/**
* A custom class applying extra readonly checks to the base implementation.
Expand Down
1 change: 0 additions & 1 deletion classes/admin/admin_setting_configtext.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\admin;

use tool_dataflows\admin\readonly_trait;

/**
* A custom class applying extra readonly checks to the base implementation.
Expand Down
1 change: 0 additions & 1 deletion classes/local/execution/flow_engine_step.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\local\execution;

use tool_dataflows\parser;

/**
* Manages the execution of a flow step.
Expand Down
1 change: 0 additions & 1 deletion classes/local/execution/iterators/dataflow_iterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

use tool_dataflows\local\execution\flow_engine_step;
use tool_dataflows\local\step\base_step;
use tool_dataflows\local\step\flow_cap;

/**
* A mapping iterator that takes a PHP iterator as a source.
Expand Down
1 change: 0 additions & 1 deletion classes/local/execution/logging/mtrace_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\local\execution\logging;

use Monolog\Handler\AbstractHandler;
use Monolog\Handler\AbstractProcessingHandler;

/**
Expand Down
1 change: 0 additions & 1 deletion classes/local/provider/expression_provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

use Symfony\Component\ExpressionLanguage\ExpressionFunction;
use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface;
use tool_dataflows\parser;

/**
* Expression Provider
Expand Down
1 change: 0 additions & 1 deletion classes/local/service/step_service.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

use tool_dataflows\local\execution\engine_flow_cap;
use tool_dataflows\local\execution\engine_step;
use tool_dataflows\local\step\reader_step;
use tool_dataflows\step;

/**
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/base_step.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
use tool_dataflows\local\execution\engine_step;
use tool_dataflows\local\variables\var_root;
use tool_dataflows\local\variables\var_step;
use tool_dataflows\parser;
use tool_dataflows\step;

/**
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/connector_copy_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\local\step;

use tool_dataflows\helper;

/**
* Copy file connector step
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/connector_debug_file_display.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

namespace tool_dataflows\local\step;
use tool_dataflows\local\execution\engine_step;
use tool_dataflows\helper;

/**
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/connector_debugging.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

namespace tool_dataflows\local\step;
use tool_dataflows\local\execution\engine_step;

/**
* Debugging connector step type
Expand Down
3 changes: 0 additions & 3 deletions classes/local/step/connector_sftp.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@

namespace tool_dataflows\local\step;

use phpseclib3\Crypt\Common\AsymmetricKey;
use phpseclib3\Crypt\PublicKeyLoader;
use phpseclib3\Net\SFTP;
use tool_dataflows\helper;

/**
* SFTP connector step type.
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/curl_trait.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\local\step;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\helper;

defined('MOODLE_INTERNAL') || die();
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/flow_copy_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\local\step;

use tool_dataflows\helper;

/**
* Copy file flow step
Expand Down
3 changes: 0 additions & 3 deletions classes/local/step/flow_sftp.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@

namespace tool_dataflows\local\step;

use phpseclib3\Crypt\Common\AsymmetricKey;
use phpseclib3\Crypt\PublicKeyLoader;
use phpseclib3\Net\SFTP;
use tool_dataflows\helper;

/**
* SFTP connector step type.
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/flow_web_service.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
use core\session\manager;
use external_api;
use moodle_exception;
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\Yaml\Yaml;
use Throwable;
use tool_dataflows\parser;
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/set_multiple_variables_trait.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace tool_dataflows\local\step;

use tool_dataflows\local\variables\var_root;
use tool_dataflows\local\variables\var_object_visible;

/**
* Set multiple variables trait
Expand Down
1 change: 0 additions & 1 deletion classes/local/step/sftp_trait.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows\local\step;

use MoodleQuickForm;
use phpseclib3\Crypt\Common\AsymmetricKey;
use phpseclib3\Crypt\PublicKeyLoader;
use phpseclib3\Net\SFTP;
Expand Down
5 changes: 0 additions & 5 deletions classes/local/step/trigger_step.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

namespace tool_dataflows\local\step;

use tool_dataflows\local\execution\engine;
use tool_dataflows\local\execution\iterators\iterator;
use tool_dataflows\local\execution\iterators\dataflow_iterator;
use tool_dataflows\local\execution\flow_engine_step;
use tool_dataflows\local\execution\engine_step;

/**
* Base class for trigger step types.
Expand Down
2 changes: 0 additions & 2 deletions classes/local/variables/var_dataflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@

namespace tool_dataflows\local\variables;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\dataflow;
use tool_dataflows\helper;
use tool_dataflows\local\execution\engine;

/**
Expand Down
1 change: 0 additions & 1 deletion classes/parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\ExpressionLanguage\Lexer;
use Symfony\Component\ExpressionLanguage\Node;
use Symfony\Component\ExpressionLanguage\Token;
use Symfony\Component\ExpressionLanguage\TokenStream;
use Symfony\Component\Yaml\Exception\ParseException;
Expand Down
1 change: 0 additions & 1 deletion classes/task/process_dataflows.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
use tool_dataflows\local\execution\engine;
use tool_dataflows\local\scheduler;
use tool_dataflows\local\event_processor;
use tool_dataflows\task\process_dataflow_ad_hoc;

/**
* Process queued dataflows.
Expand Down
1 change: 0 additions & 1 deletion tests/local/execution/array_in_type.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

use tool_dataflows\local\execution\iterators\iterator;
use tool_dataflows\local\execution\iterators\dataflow_iterator;
use tool_dataflows\local\execution\flow_engine_step;
use tool_dataflows\local\step\reader_step;

/**
Expand Down
1 change: 0 additions & 1 deletion tests/local/execution/array_out_type.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

use tool_dataflows\local\execution\iterators\iterator;
use tool_dataflows\local\execution\iterators\dataflow_iterator;
use tool_dataflows\local\execution\flow_engine_step;
use tool_dataflows\local\step\writer_step;

/**
Expand Down
2 changes: 0 additions & 2 deletions tests/local/execution/direct_in_type.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@

namespace tool_dataflows\local\execution;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\local\execution\iterators\iterator;
use tool_dataflows\local\execution\iterators\dataflow_iterator;
use tool_dataflows\local\execution\flow_engine_step;
use tool_dataflows\local\step\reader_step;

/**
Expand Down
3 changes: 0 additions & 3 deletions tests/local/execution/flow_callback_step.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

namespace tool_dataflows\local\execution;

use tool_dataflows\local\execution\iterators\iterator;
use tool_dataflows\local\execution\iterators\dataflow_iterator;
use tool_dataflows\local\execution\flow_engine_step;
use tool_dataflows\local\step\flow_step;

/**
Expand Down
2 changes: 0 additions & 2 deletions tests/local/execution/test_engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

namespace tool_dataflows\local\execution;

use tool_dataflows\dataflow;
use tool_dataflows\step;

/**
* A engine subclass used for testing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace tool_dataflows\local\execution;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\local\execution\engine;
use tool_dataflows\dataflow;
use tool_dataflows\step;
use tool_dataflows\test_dataflows;
Expand Down
2 changes: 0 additions & 2 deletions tests/tool_dataflows_concurrency_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
namespace tool_dataflows;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\step;
use tool_dataflows\dataflow;

/**
* tests some of the code around concurrency.
Expand Down
2 changes: 0 additions & 2 deletions tests/tool_dataflows_connector_curl_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
use Symfony\Component\Yaml\Yaml;
use tool_dataflows\local\step\connector_curl;
use tool_dataflows\local\execution\engine;
use tool_dataflows\step;
use tool_dataflows\dataflow;

defined('MOODLE_INTERNAL') || die();

Expand Down
1 change: 0 additions & 1 deletion tests/tool_dataflows_connector_debug_file_display_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
use tool_dataflows\local\execution\engine;
use tool_dataflows\local\execution\direct_in_type;
use tool_dataflows\local\step\connector_debug_file_display;
use tool_dataflows\local\step\writer_stream;

defined('MOODLE_INTERNAL') || die();

Expand Down
2 changes: 0 additions & 2 deletions tests/tool_dataflows_dot_escape_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
namespace tool_dataflows;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\local\execution\engine;
use tool_dataflows\local\step\reader_json;

defined('MOODLE_INTERNAL') || die();

Expand Down
1 change: 0 additions & 1 deletion tests/tool_dataflows_flow_set_variable_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
use tool_dataflows\local\execution\engine;
use tool_dataflows\local\step\flow_abort;
use tool_dataflows\local\step\flow_set_variable;
use tool_dataflows\test_dataflows;

defined('MOODLE_INTERNAL') || die();

Expand Down
2 changes: 0 additions & 2 deletions tests/tool_dataflows_flow_sql_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
namespace tool_dataflows;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\dataflow;
use tool_dataflows\local\execution\engine;
use tool_dataflows\step;
use tool_dataflows\local\step\flow_sql;

defined('MOODLE_INTERNAL') || die();
Expand Down
1 change: 0 additions & 1 deletion tests/tool_dataflows_gpg_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace tool_dataflows;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\local\execution\engine;
use tool_dataflows\local\step\connector_gpg;

/**
Expand Down
2 changes: 0 additions & 2 deletions tests/tool_dataflows_secret_service_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@
namespace tool_dataflows;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\application_trait;
use tool_dataflows\local\execution\engine;
use tool_dataflows\local\service\secret_service;
use tool_dataflows\local\step\connector_s3;
use tool_dataflows\step;

defined('MOODLE_INTERNAL') || die();

Expand Down
2 changes: 0 additions & 2 deletions tests/tool_dataflows_sql_reader_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
namespace tool_dataflows;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\dataflow;
use tool_dataflows\local\execution\engine;
use tool_dataflows\step;
use tool_dataflows\local\step\reader_sql;

defined('MOODLE_INTERNAL') || die();
Expand Down
2 changes: 0 additions & 2 deletions tests/tool_dataflows_stream_writer_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@
namespace tool_dataflows;

use Symfony\Component\Yaml\Yaml;
use tool_dataflows\dataflow;
use tool_dataflows\local\execution\engine;
use tool_dataflows\local\step\writer_stream;
use tool_dataflows\step;

defined('MOODLE_INTERNAL') || die();

Expand Down
1 change: 0 additions & 1 deletion tests/tool_dataflows_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\Yaml\Yaml;
use tool_dataflows\application_trait;
use tool_dataflows\local\scheduler;
use tool_dataflows\local\step;

Expand Down
1 change: 0 additions & 1 deletion tests/tool_dataflows_variables_new_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace tool_dataflows;

use tool_dataflows\local\variables\var_value;

defined('MOODLE_INTERNAL') || die();

Expand Down
2 changes: 0 additions & 2 deletions tests/tool_dataflows_variables_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@

use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\Yaml\Yaml;
use tool_dataflows\dataflow;
use tool_dataflows\local\execution\engine;
use tool_dataflows\step;
use tool_dataflows\local\execution;
use tool_dataflows\local\step\connector_curl;
use tool_dataflows\local\step\connector_debugging;
Expand Down
3 changes: 0 additions & 3 deletions tests/tool_dataflows_web_service_flow_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@

require_once(__DIR__ . '/application_trait.php');

use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\Yaml\Yaml;
use tool_dataflows\dataflow;
use tool_dataflows\local\execution\engine;
use tool_dataflows\local\step\flow_web_service;
use tool_dataflows\step;

/**
* Unit test for the web service flow step.
Expand Down

0 comments on commit 1234567

Please sign in to comment.