Server IP : 85.214.239.14 / Your IP : 52.15.109.209 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/wordpress/phpMyAdmin/vendor/phpmyadmin/sql-parser/ |
Upload File : |
# Contributing to SQL Parser ## Reporting issues Our issue tracker is hosted at GitHub: https://github.com/phpmyadmin/sql-parser/issues Please search for existing issues before reporting new ones. ## Working with Git checkout The dependencies are managed by Composer, to get them all installed (or update on consequent runs) do: ``` composer update ``` ## Submitting patches Please submit your patches using GitHub pull requests, this allows us to review them and to run automated tests on the code. ## Coding standards We do follow PSR-1 and PSR-2 coding standards. You can use phpcbf to fix the code to match our expectations: ``` ./vendor/bin/phpcbf ``` ## Testsuite Our code comes with quite comprehensive testsuite, it is automatically executed on every commit and pull request, you can also run it locally: ``` ./vendor/bin/phpunit ``` The testsuite relies on fixtures of parser states, in case you need to regenerate some of these there are helper scripts in tools directory: ``` # Remove file you want to regenerate rm tests/data/parser/parse.out # Run the generator located in the tools directory ./tools/run_generators.sh ```