Skip to content

Commit

Permalink
Супер
Browse files Browse the repository at this point in the history
  • Loading branch information
meiskai committed Sep 6, 2019
1 parent 3a7048f commit 461dd73
Show file tree
Hide file tree
Showing 101 changed files with 12,611 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
inc/vendor
.vscode/
.idea/
.DS_Store
debug.log
45 changes: 45 additions & 0 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="WordPress Coding Standards" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">

<description>The Coding standard for the WordPress Coding Standards itself.</description>

<file>.</file>

<arg value="sp"/>
<arg name="extensions" value="php"/>
<arg name="basepath" value="."/>
<arg name="parallel" value="8"/>

<exclude-pattern>/bin/class-ruleset-test.php</exclude-pattern>
<!-- Exclude Composer vendor directory. -->
<exclude-pattern>*/vendor/*</exclude-pattern>

<rule ref="WordPress">
<exclude name="WordPress.Files.FileName"/>
<exclude name="WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition"/>
<exclude name="WordPress.Security.EscapeOutput.OutputNotEscaped"/>
<exclude name="Generic.Commenting.DocComment.MissingShort"/>
</rule>

<!-- Enforce PSR1 compatible namespaces. -->
<rule ref="PSR1.Classes.ClassDeclaration"/>

<rule ref="WordPress.Arrays.MultipleStatementAlignment">
<properties>
<property name="alignMultilineItems" value="!=100"/>
<property name="exact" value="false" phpcs-only="true"/>
</properties>
</rule>

<rule ref="PSR2.Methods.FunctionClosingBrace"/>

<!-- Check code for cross-version PHP compatibility. -->
<config name="testVersion" value="5.4-"/>

<rule ref="WordPress.NamingConventions.PrefixAllGlobals.DeprecatedWhitelistCommentFound">
<!-- False positive for whitelist comment recognition, but no use fixing this now
as the WPCS native whitelist comments are deprecated anyhow. -->
<exclude-pattern>/WordPress/AbstractClassRestrictionsSniff\.php$</exclude-pattern>
</rule>

</ruleset>
675 changes: 675 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

Binary file added assets/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "smartcat/wordpress-smartcat-connector",
"description": "WordPress integration to smartCAT",
"minimum-stability": "stable",
"license": "GPLv3",
"type": "wordpress-plugin",
"authors": [
{
"name": "Andrey Rybnikov",
"email": "a.rybnikov@smartcat.pro"
},
{
"name": "Dmitriy Khapenkov",
"email": "d.khapenkov@smartcat.pro"
}
],
"config": {
"vendor-dir": "inc/vendor"
},
"require": {
"php": ">=7.0.0",
"ext-dom": "*",
"ext-openssl": "*",
"a5hleyrich/wp-background-processing": "^1.0",
"symfony/config": "^3.3",
"symfony/dependency-injection": "^3.3",
"mustache/mustache": "^2.12",
"smartcat/smartcat-api": "^2.0",
"symfony/yaml": "^3.4"
},
"autoload": {
"psr-4": {
"SmartCAT\\WP\\": "inc/smartcat"
}
}
}
Loading

0 comments on commit 461dd73

Please # to comment.