-
- Downloads
Merge branch 'feature/scoped' into 'devel'
plugin template with scoped libraries See merge request wpdesk/plugin-template!34
No related branches found
No related tags found
Showing
- .env.testing 17 additions, 0 deletions.env.testing
- .gitignore 5 additions, 1 deletion.gitignore
- .gitlab-ci.yml 1 addition, 1 deletion.gitlab-ci.yml
- apigen.neon 4 additions, 4 deletionsapigen.neon
- bootstrap.php 0 additions, 11 deletionsbootstrap.php
- changelog.txt 3 additions, 5 deletionschangelog.txt
- codeception.dist.yml 25 additions, 0 deletionscodeception.dist.yml
- composer.json 60 additions, 38 deletionscomposer.json
- composer.lock 6590 additions, 896 deletionscomposer.lock
- lang/.gitignore 3 additions, 0 deletionslang/.gitignore
- lang/pl_PL.po 27 additions, 0 deletionslang/pl_PL.po
- legacy/class-helper.php 0 additions, 54 deletionslegacy/class-helper.php
- phpcs.xml.dist 20 additions, 7 deletionsphpcs.xml.dist
- phpstan.neon.dist 28 additions, 0 deletionsphpstan.neon.dist
- phpunit-integration.xml 6 additions, 8 deletionsphpunit-integration.xml
- phpunit-unit.xml 11 additions, 14 deletionsphpunit-unit.xml
- plugin-template.php 15 additions, 14 deletionsplugin-template.php
- scoper.inc.php 72 additions, 0 deletionsscoper.inc.php
- src/Plugin.php 0 additions, 41 deletionssrc/Plugin.php
- src/Plugin/Plugin.php 60 additions, 0 deletionssrc/Plugin/Plugin.php
.env.testing
0 → 100644
bootstrap.php
deleted
100644 → 0
codeception.dist.yml
0 → 100644
... | @@ -3,32 +3,54 @@ | ... | @@ -3,32 +3,54 @@ |
"authors": [ | "authors": [ | ||
{ | { | ||
"name": "Krzysiek", | "name": "Krzysiek", | ||
"email": "krzysiek@wpdesk.pl" | "email": "krzysiek@wpdesk.net" | ||
} | } | ||
], | ], | ||
"autoload": { | "autoload": { | ||
"classmap": ["legacy"], | |||
"psr-4": { | "psr-4": { | ||
"WPDesk\\PluginTemplate\\": "src/" | "WPDesk\\PluginTemplate\\": "src/Plugin" | ||
} | }, | ||
"classmap": [ | |||
"vendor_prefixed" | |||
] | |||
}, | |||
"autoload-dev": { | |||
"classmap": [ | |||
"tests/unit", | |||
"tests/integration" | |||
] | |||
}, | }, | ||
"config": { | "config": { | ||
"sort-packages": true | "sort-packages": true, | ||
"platform": { | |||
"php": "5.6" | |||
} | |||
}, | }, | ||
"prefer-stable": true, | "prefer-stable": true, | ||
"minimum-stability": "stable", | |||
"require": { | "require": { | ||
"php": ">=5.6", | "php": ">=5.6", | ||
"wpdesk/wp-plugin-flow": "^1.5" | "wpdesk/wp-wpdesk-helper-override": "^1.1.0", | ||
"psr/log": "^1.0.1" | |||
}, | }, | ||
"require-dev": { | "require-dev": { | ||
"phpunit/phpunit": "<7", | |||
"wp-coding-standards/wpcs": "^0.14.1", | |||
"squizlabs/php_codesniffer": "^3.0.2", | |||
"mockery/mockery": "*", | |||
"10up/wp_mock": "*", | "10up/wp_mock": "*", | ||
"phpcompatibility/php-compatibility": "^9.1" | "wpdesk/wp-plugin-flow": "^2", | ||
"phpunit/phpunit": "<7", | |||
"wpdesk/wp-wpdesk-composer": "^2.2", | |||
"wpdesk/wp-codeception": "^1.1.13" | |||
}, | }, | ||
"autoload-dev": { | "extra": { | ||
"text-domain": "plugin-template", | |||
"translations-folder": "lang", | |||
"translation-file-headers": { | |||
"Project-Id-Version": "Plugin Template", | |||
"Last-Translator": "Grzegorz Rola <grola@wpdesk.pl>", | |||
"X-Poedit-WPHeader": "plugin-template.php" | |||
}, | |||
"po-files": { | |||
"pl_PL": "pl_PL.po" | |||
} | |||
}, | }, | ||
"scripts": { | "scripts": { | ||
"test": "echo composer is alive", | "test": "echo composer is alive", | ||
... | ... |
This diff is collapsed.
lang/.gitignore
0 → 100644
lang/pl_PL.po
0 → 100644
legacy/class-helper.php
deleted
100644 → 0
phpstan.neon.dist
0 → 100644
scoper.inc.php
0 → 100644
src/Plugin.php
deleted
100644 → 0
src/Plugin/Plugin.php
0 → 100644
Please register or sign in to comment