From 7f4231fcb6b05c8c1180cc618044ac4e026354aa Mon Sep 17 00:00:00 2001 From: Grzegorz Rola <grola@seostudio.pl> Date: Fri, 18 Aug 2023 13:56:47 +0200 Subject: [PATCH] feature(init): init --- LICENSE.md | 2 +- apigen.neon | 27 --------------------------- phpcs.xml.dist | 18 ------------------ phpunit-integration.xml | 34 ---------------------------------- 4 files changed, 1 insertion(+), 80 deletions(-) delete mode 100644 apigen.neon delete mode 100644 phpcs.xml.dist delete mode 100644 phpunit-integration.xml diff --git a/LICENSE.md b/LICENSE.md index ffa89b5..bf2ee0a 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 WP Desk +Copyright (c) 2023 Octolize Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/apigen.neon b/apigen.neon deleted file mode 100644 index 1aec8cf..0000000 --- a/apigen.neon +++ /dev/null @@ -1,27 +0,0 @@ -destination: docs -templateConfig: /app/theme-woocommerce/config.neon -extensions: [php] -source: - - src -exclude: - - vendor - - tests - - languages - -charset: [UTF-8] -main: Wordpress plugin -title: Plugin template more info -baseUrl: "/" - -templateTheme: default -php: false -sourceCode: false -tree: true -deprecated: false -todo: false -download: false - -accessLevels: - - public - - private - - protected diff --git a/phpcs.xml.dist b/phpcs.xml.dist deleted file mode 100644 index b736f25..0000000 --- a/phpcs.xml.dist +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0"?> -<ruleset name="WordPress Coding Standards for WP Desk Plugin"> - <description>Sniffs for WordPress WPDesk plugins</description> - - <config name="installed_paths" value="vendor/wp-coding-standards/wpcs,vendor/wimg/php-compatibility" /> - - <rule ref="PHPCompatibility"/> - <config name="testVersion" value="5.5-"/> - - <rule ref="WordPress"/> - - <config name="text_domain" value="wpdesk-plugin,default,s214-settings-demo"/> - - <arg name="extensions" value="php"/> - - <file>./classes</file> - <exclude-pattern>*/settings-api/*</exclude-pattern> -</ruleset> diff --git a/phpunit-integration.xml b/phpunit-integration.xml deleted file mode 100644 index 634b884..0000000 --- a/phpunit-integration.xml +++ /dev/null @@ -1,34 +0,0 @@ -<phpunit bootstrap="tests/integration/bootstrap.php" - backupGlobals="false" -> - <testsuites> - <testsuite> - <directory prefix="Test" suffix=".php">./tests/integration</directory> - </testsuite> - </testsuites> - - <filter> - <whitelist> - <directory suffix=".php">src</directory> - <exclude> - <file>src/init.php</file> - <directory>src/assets</directory> - <directory suffix=".php">tests</directory> - <directory suffix=".php">vendor</directory> - </exclude> - </whitelist> - </filter> - - <logging> - <log type="junit" target="build-coverage/report.junit.xml"/> - <log type="coverage-html" target="build-coverage/coverage" charset="UTF-8" yui="true" highlight="true"/> - <log type="coverage-text" target="build-coverage/coverage.txt"/> - <log type="coverage-clover" target="build-coverage/clover.xml"/> - </logging> - - <php> - <env name="WP_DEVELOP_DIR" value="/tmp/wordpress-develop"/> - <env name="WC_DEVELOP_DIR" value="/tmp/woocommerce"/> - </php> - -</phpunit> -- GitLab