| /plugin/bpmnio/.github/workflows/ |
| H A D | lint.yml | 1 name: Lint & Test 13 php-lint: 14 name: PHP Lint & Static Analysis 15 runs-on: ubuntu-latest 18 php-version: ['8.1', '8.2', '8.3'] 20 - uses: actions/checkout@v4 22 - name: Setup PHP 23 uses: shivammathur/setup-php@v2 25 php-version: ${{ matrix.php-version }} 28 - name: Install Composer dependencies [all …]
|
| /plugin/bpmnio/ |
| H A D | README.md | 1 # dokuwiki-plugin-bpmnio 5 - BPMN v2.0 diagrams 6 - DMN v1.3 decision requirement diagrams, decision tables and literal expressions 20 <bpmnio type="bpmn" src="wiki:diagrams:zoning-map-amendment.bpmn" zoom="0.8" /> 26 | --------- | ----------------------- | -----------------------------------------------------------… 30 | `lint` | `on`, `off`, `inactive` | Per-diagram [bpmnlint](https://github.com/bpmn-io/bpmnlint)… 34 BPMN diagrams ship with an embedded [bpmnlint](https://github.com/bpmn-io/bpmnlint) 35 linter via [bpmn-js-bpmnlint](https://github.com/bpmn-io/bpmn-js-bpmnlint). A 38 of issues for that element. This works on rendered wiki pages (read-only viewer) 41 The `lint` attribute controls the default state per diagram: [all …]
|
| /plugin/bpmnio/syntax/ |
| H A D | bpmnio.php | 1 <?php 12 // <div class="plugin-bpmnio" id="__(bpmn|dmn)_js_<hash>"> 25 protected string $lint = ''; // optional bpmnlint mode: on|off|inactive variable in syntax_plugin_bpmnio_bpmnio 29 require_once __DIR__ . '/../inc/link_processor.php'; 49 $this->Lexer->addEntryPattern('<bpmnio.*?>(?=.*?</bpmnio>)', $mode, 'plugin_bpmnio_bpmnio'); 54 $this->Lexer->addExitPattern('</bpmnio>', 'plugin_bpmnio_bpmnio'); 66 $attrs = $this->buildAttributes($matched[1]); 69 $this->type = $attrs['type'] ?? 'bpmn'; 70 $this->src = $attrs['src'] ?? ''; 71 $this->zoom = $this->normalizeZoom($attrs['zoom'] ?? null) ?? ''; [all …]
|
| /plugin/bpmnio/action/ |
| H A D | editor.php | 1 <?php 20 require_once __DIR__ . '/../inc/link_processor.php'; 25 $controller->register_hook('HTML_SECEDIT_BUTTON', 'BEFORE', $this, 'sectionEditButton'); 26 $controller->register_hook('EDIT_FORM_ADDTEXTAREA', 'BEFORE', $this, 'handleForm'); 27 $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'handlePost'); 28 $controller->register_hook('FORM_EDIT_OUTPUT', 'BEFORE', $this, 'handleFormEditOutput'); 37 if ($this->shallIgnore($event)) { 41 $event->data['name'] = $this->getLang('edit_diagram'); 46 if ($this->shallIgnore($event)) { 56 $event->data['target'] = 'section'; [all …]
|
| /plugin/combo/vendor/php-webdriver/webdriver/ |
| H A D | composer.json | 2 "name": "php-webdriver/webdriver", 3 "description": "A PHP client for Selenium WebDriver. Previously facebook/webdriver.", 9 "php", 13 "homepage": "https://github.com/php-webdriver/php-webdriver", 15 "php": "^5.6 || ~7.0 || ^8.0", string 16 "ext-curl": "*", 17 "ext-json": "*", 18 "ext-zip": "*", 19 "symfony/polyfill-mbstring": "^1.12", 22 "require-dev": { [all …]
|
| /plugin/bpmnio/_test/ |
| H A D | syntax_plugin_bpmnio_bpmnio.test.php | 1 <?php 15 $conf['plugin']['bpmnio']['lint'] = 'inactive'; 22 <div class="plugin-bpmnio" id="__bpmn_js_1"><div class="bpmn_js_data"> 28 <div class="bpmn_js_container" data-lint="inactive"></div> 29 …</div><!-- EDIT{"target":"plugin_bpmnio_bpmn","secid":1,"range&… 41 $this->assertEquals($expected, $xhtml); 48 <div class="plugin-bpmnio" id="__dmn_js_1"><div class="dmn_js_data"> 55 …</div><!-- EDIT{"target":"plugin_bpmnio_dmn","secid":1,"range&q… 67 $this->assertEquals($expected, $xhtml); 86 $this->assertStringContainsString('bpmn_js_data', $xhtml); [all …]
|
| /plugin/findologicxmlexport/vendor/symfony/yaml/Tests/Command/ |
| D | LintCommandTest.php | 1 <?php 31 $tester = $this->createCommandTester(); 32 $filename = $this->createFile('foo: bar'); 34 …$ret = $tester->execute(['filename' => $filename], ['verbosity' => OutputInterface::VERBOSITY_VERB… 36 $this->assertEquals(0, $ret, 'Returns 0 in case of success'); 37 $this->assertRegExp('/^\/\/ OK in /', trim($tester->getDisplay())); 42 $tester = $this->createCommandTester(); 43 $filename1 = $this->createFile('foo: bar'); 44 $filename2 = $this->createFile('bar: baz'); 46 …$ret = $tester->execute(['filename' => [$filename1, $filename2]], ['verbosity' => OutputInterface:… [all …]
|
| /plugin/combo/vendor/symfony/yaml/ |
| H A D | CHANGELOG.md | 5 --- 7 * Add new `lint:yaml dirname --exclude=/dirname/foo.yaml --exclude=/dirname/bar.yaml` 9 * Allow negatable for the parse tags option with `--no-parse-tags` 12 --- 18 ----- 36 * Added `yaml-lint` binary. 37 * Deprecated using the `!php/object` and `!php/const` tags without a value. 40 ----- 42 * Removed support for mappings inside multi-line strings. 43 …* removed support for implicit STDIN usage in the `lint:yaml` command, use `lint:yaml -` (append a… [all …]
|
| H A D | composer.json | 19 "php": ">=7.2.5", string 20 "symfony/deprecation-contracts": "^2.1|^3", 21 "symfony/polyfill-ctype": "^1.8" 23 "require-dev": { 30 "symfony/console": "For validating YAML files using the lint command" 33 "psr-4": { "Symfony\\Component\\Yaml\\": "" }, 34 "exclude-from-classmap": [ 39 "Resources/bin/yaml-lint" 41 "minimum-stability": "dev"
|
| /plugin/combo/vendor/bin/ |
| H A D | yaml-lint | 1 #!/usr/bin/env php 2 <?php 5 * Proxy PHP file generated by Composer 7 * This file includes the referenced bin path (../symfony/yaml/Resources/bin/yaml-lint) 8 * using a stream wrapper to prevent the shebang from being output on PHP<8 16 $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..'.'/autoload.php'; 33 $this->realpath = realpath($opened_path) ?: $opened_path; 34 $opened_path = $this->realpath; 35 $this->handle = fopen($this->realpath, $mode); 36 $this->position = 0; [all …]
|
| H A D | yaml-lint.bat | 3 SET BIN_TARGET=%~dp0/yaml-lint 5 php "%BIN_TARGET%" %*
|
| /plugin/bpmnio/lang/nl/ |
| H A D | settings.php | 1 <?php 2 $lang['lint'] = 'Standaard bpmnlint-modus voor BPMN-diagrammen (overschrijfbaar per diagra…
|
| /plugin/bpmnio/lang/de/ |
| H A D | settings.php | 1 <?php 2 $lang['lint'] = 'Standardmodus von bpmnlint für BPMN-Diagramme (pro Diagramm über das <cod…
|
| /plugin/aichat/vendor/mehrab-wj/tiktoken-php/ |
| H A D | composer.json | 2 "name": "mehrab-wj/tiktoken-php", 3 …"description": "a clone of python tiktoken but for PHP! fast BPE tokeniser for use with OpenAI's m… 13 "psr-4": { 17 "autoload-dev": { 18 "psr-4": { 22 "minimum-stability": "stable", 24 "php": "^8.1", string 25 "ext-mbstring": "*" 27 "require-dev": { 29 "symfony/var-dumper": "^6.2", [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Debug/ |
| D | JavaScriptLintSniff.php | 1 <?php 5 * PHP version 5 7 * @category PHP 10 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 12 * @link http://pear.php.net/package/PHP_CodeSniffer 18 * Runs JavaScript Lint on the file. 20 * @category PHP 23 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 26 * @link http://pear.php.net/package/PHP_CodeSniffer 62 $fileName = $phpcsFile->getFilename(); [all …]
|
| D | JSLintSniff.php | 1 <?php 5 * PHP version 5 7 * @category PHP 10 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 12 * @link http://pear.php.net/package/PHP_CodeSniffer 20 * @category PHP 23 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 26 * @link http://pear.php.net/package/PHP_CodeSniffer 63 $fileName = $phpcsFile->getFilename(); 80 $numMatches = preg_match('/Lint at line ([0-9]+).*:(.*)$/', $finding, $matches); [all …]
|
| /plugin/issuelinks/ |
| D | pre-commit.hook.sh | 2 # codesniffer pre-commit hook based on https://gist.github.com/fdemiramon/0423b4308218d417fbf3 5 STAGED_FILES_CMD=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.php` 8 if [ "$#" -eq 1 ] 16 SFILES=${SFILES:-$STAGED_FILES_CMD} 18 echo "Checking PHP Lint..." 21 php -l -d display_errors=0 $PROJECT/$FILE 33 phpcs -p $FILES 37 phpcbf -p $FILES 40 phpcs -p $FILES
|
| /plugin/findologicxmlexport/vendor/symfony/yaml/ |
| D | composer.json | 19 "php": "^7.1.3", string 20 "symfony/polyfill-ctype": "~1.8" 22 "require-dev": { 29 "symfony/console": "For validating YAML files using the lint command" 32 "psr-4": { "Symfony\\Component\\Yaml\\": "" }, 33 "exclude-from-classmap": [ 37 "minimum-stability": "dev", 39 "branch-alias": { 40 "dev-master": "4.2-dev"
|
| /plugin/gtime/gtlib/ |
| D | README | 2 -------------------- 4 -------------------- 6 - PHP 5.3.X 7 - PHP OpenSSL 0.9.8 8 - PHP with bcmath support 9 - PHP with CURL support 12 -------------------- 14 -------------------- 16 - Phing 17 - PHPDocumentor [all …]
|
| /plugin/combo/vendor/symfony/yaml/Resources/bin/ |
| H A D | yaml-lint | 1 #!/usr/bin/env php 2 <?php 18 * Runs the Yaml lint command. 32 !includeIfExists(__DIR__ . '/../../../../autoload.php') && 33 !includeIfExists(__DIR__ . '/../../vendor/autoload.php') && 34 !includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php') 45 (new Application())->add($command = new LintCommand()) 46 ->getApplication() 47 ->setDefaultCommand($command->getName(), true) 48 ->run()
|
| /plugin/combo/ |
| H A D | composer.lock | 4 … "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", 7 "content-hash": "cd60896a07088ea02ac4b8f83946065b", 10 "name": "antlr/antlr4-php-runtime", 14 "url": "https://github.com/antlr/antlr-php-runtime.git", 19 …"url": "https://api.github.com/repos/antlr/antlr-php-runtime/zipball/73790bc994cec4b18a414865234ab… 24 "ext-mbstring": "*", 25 "php": "7.4 - 8.0" 27 "require-dev": { 28 "phpstan/extension-installer": "^1.0", 30 "slevomat/coding-standard": "^5.0.4", [all …]
|
| /plugin/combo/vendor/composer/ |
| H A D | installed.json | 4 "name": "antlr/antlr4-php-runtime", 9 "url": "https://github.com/antlr/antlr-php-runtime.git", 14 …"url": "https://api.github.com/repos/antlr/antlr-php-runtime/zipball/73790bc994cec4b18a414865234ab… 19 "ext-mbstring": "*", 20 "php": "7.4 - 8.0" string 22 "require-dev": { 23 "phpstan/extension-installer": "^1.0", 25 "slevomat/coding-standard": "^5.0.4", 28 "time": "2021-08-13T11:44:19+00:00", 31 "branch-alias": { [all …]
|
| /plugin/dev/skel/ |
| H A D | AGENTS.md | 17 …s PHPUnit-based testing framework. The calls MUST be made from within the plugin's repository root… 21 ../../../bin/plugin.php dev test 24 ../../../bin/plugin.php dev test _test/GeneralTest.php 27 ../../../bin/plugin.php dev addTest MyClass 34 * read `../../../_test/core/DokuWikiTest.php` for more helper methods 35 * use `../../../_test/TestRequest.php` to simulate HTTP requests for integration tests 36 * use `../../../_test/phpQuery-onefile.php` if you need to parse HTML in tests 50 touch ../../../conf/local.php 55 Adhere to PSR-12 coding standards. Always add proper docblocks with descriptions, parameter types, … 58 # Lint PHP files using PHP_CodeSniffer (must be run from repo root) [all …]
|
| /plugin/dx/src/ |
| D | Standardize.php | 1 <?php 21 $this->ensurePluginDirPristine($pluginName); 25 '_test/general.test.php', 29 $this->deleteFileFromPlugin($pluginName, $fileName); 38 '.github/workflows/commit-lint.yml', 39 '_test/GeneralTest.php', 42 $this->copyFileToPlugin($pluginName, $fileName); 58 $gitStatusOutput = shell_exec('git status --porcelain'); 90 $this->makeFileDir($targetFilePath);
|
| /plugin/combo/vendor/symfony/yaml/Command/ |
| H A D | LintCommand.php | 1 <?php 37 protected static $defaultName = 'lint:yaml'; 38 protected static $defaultDescription = 'Lint a YAML file and outputs encountered errors'; 50 $this->directoryIteratorProvider = $directoryIteratorProvider; 51 $this->isReadableProvider = $isReadableProvider; 60 ->setDescription(self::$defaultDescription) 61 …->addArgument('filename', InputArgument::IS_ARRAY, 'A file, a directory or "-" for reading from ST… 62 ->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format') 63 …->addOption('exclude', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Path(s) t… 64 ->addOption('parse-tags', null, InputOption::VALUE_NEGATABLE, 'Parse custom tags', null) [all …]
|