|
|
@@ -1,74 +1,74 @@
|
|
|
{
|
|
|
- "name": "dereuromark/cakephp-tools",
|
|
|
- "type": "cakephp-plugin",
|
|
|
- "description": "A CakePHP plugin containing lots of useful and reusable tools",
|
|
|
- "keywords": [
|
|
|
- "cakephp",
|
|
|
- "plugin",
|
|
|
- "tools",
|
|
|
- "utils",
|
|
|
- "helpers",
|
|
|
- "components",
|
|
|
- "behaviors",
|
|
|
- "datasources"
|
|
|
- ],
|
|
|
- "homepage": "https://github.com/dereuromark/cakephp-tools",
|
|
|
- "license": "MIT",
|
|
|
- "authors": [
|
|
|
- {
|
|
|
- "name": "Mark Scherer",
|
|
|
- "role": "Author",
|
|
|
- "homepage": "https://www.dereuromark.de"
|
|
|
- }
|
|
|
- ],
|
|
|
- "require": {
|
|
|
- "php": ">=7.3",
|
|
|
- "cakephp/cakephp": "^4.2.0",
|
|
|
- "dereuromark/cakephp-shim": "^2.0.0"
|
|
|
- },
|
|
|
- "require-dev": {
|
|
|
- "cakephp/chronos": "^2.0",
|
|
|
- "mobiledetect/mobiledetectlib": "^2.8",
|
|
|
- "fig-r/psr2r-sniffer": "dev-master",
|
|
|
- "yangqi/htmldom": "^1.0",
|
|
|
- "phpunit/phpunit": "^9.5"
|
|
|
- },
|
|
|
- "autoload": {
|
|
|
- "psr-4": {
|
|
|
- "Tools\\": "src/",
|
|
|
- "Tools\\Test\\Fixture\\": "tests/Fixture/"
|
|
|
- }
|
|
|
- },
|
|
|
- "autoload-dev": {
|
|
|
- "psr-4": {
|
|
|
- "Tools\\Test\\": "tests/",
|
|
|
- "Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
|
|
|
- "Cake\\PHPStan\\": "vendor/cakephp/cakephp/tests/PHPStan/",
|
|
|
- "TestApp\\": "tests/test_app/"
|
|
|
- }
|
|
|
- },
|
|
|
- "suggest": {
|
|
|
- "yangqi/htmldom": "For HtmlDom usage"
|
|
|
- },
|
|
|
- "support": {
|
|
|
- "source": "https://github.com/dereuromark/cakephp-tools",
|
|
|
- "issues": "https://github.com/dereuromark/cakephp-tools/issues"
|
|
|
- },
|
|
|
- "scripts": {
|
|
|
- "stan": "phpstan analyse",
|
|
|
- "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 && mv composer.backup composer.json",
|
|
|
- "test": "phpunit",
|
|
|
- "test-coverage": "phpunit --log-junit webroot/coverage/unitreport.xml --coverage-html webroot/coverage --coverage-clover webroot/coverage/coverage.xml",
|
|
|
- "lowest": "validate-prefer-lowest",
|
|
|
- "lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json",
|
|
|
- "cs-check": "phpcs -p -s --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php --ignore=/config/Migrations/,/tests/test_files/ src/ tests/ config/",
|
|
|
- "cs-fix": "phpcbf -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php --ignore=/config/Migrations/,/tests/test_files/ src/ tests/ config/"
|
|
|
- },
|
|
|
- "prefer-stable": true,
|
|
|
- "config": {
|
|
|
- "process-timeout": 600,
|
|
|
- "allow-plugins": {
|
|
|
- "dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
- }
|
|
|
- }
|
|
|
+ "name": "dereuromark/cakephp-tools",
|
|
|
+ "type": "cakephp-plugin",
|
|
|
+ "description": "A CakePHP plugin containing lots of useful and reusable tools",
|
|
|
+ "keywords": [
|
|
|
+ "cakephp",
|
|
|
+ "plugin",
|
|
|
+ "tools",
|
|
|
+ "utils",
|
|
|
+ "helpers",
|
|
|
+ "components",
|
|
|
+ "behaviors",
|
|
|
+ "datasources"
|
|
|
+ ],
|
|
|
+ "homepage": "https://github.com/dereuromark/cakephp-tools",
|
|
|
+ "license": "MIT",
|
|
|
+ "authors": [
|
|
|
+ {
|
|
|
+ "name": "Mark Scherer",
|
|
|
+ "role": "Author",
|
|
|
+ "homepage": "https://www.dereuromark.de"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "require": {
|
|
|
+ "php": ">=7.3",
|
|
|
+ "cakephp/cakephp": "^4.2.0",
|
|
|
+ "dereuromark/cakephp-shim": "^2.0.0"
|
|
|
+ },
|
|
|
+ "require-dev": {
|
|
|
+ "cakephp/chronos": "^2.0",
|
|
|
+ "mobiledetect/mobiledetectlib": "^2.8",
|
|
|
+ "fig-r/psr2r-sniffer": "dev-master",
|
|
|
+ "yangqi/htmldom": "^1.0",
|
|
|
+ "phpunit/phpunit": "^9.5"
|
|
|
+ },
|
|
|
+ "autoload": {
|
|
|
+ "psr-4": {
|
|
|
+ "Tools\\": "src/",
|
|
|
+ "Tools\\Test\\Fixture\\": "tests/Fixture/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "autoload-dev": {
|
|
|
+ "psr-4": {
|
|
|
+ "Tools\\Test\\": "tests/",
|
|
|
+ "Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
|
|
|
+ "Cake\\PHPStan\\": "vendor/cakephp/cakephp/tests/PHPStan/",
|
|
|
+ "TestApp\\": "tests/test_app/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "suggest": {
|
|
|
+ "yangqi/htmldom": "For HtmlDom usage"
|
|
|
+ },
|
|
|
+ "support": {
|
|
|
+ "source": "https://github.com/dereuromark/cakephp-tools",
|
|
|
+ "issues": "https://github.com/dereuromark/cakephp-tools/issues"
|
|
|
+ },
|
|
|
+ "scripts": {
|
|
|
+ "stan": "phpstan analyse",
|
|
|
+ "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 && mv composer.backup composer.json",
|
|
|
+ "test": "phpunit",
|
|
|
+ "test-coverage": "phpunit --log-junit webroot/coverage/unitreport.xml --coverage-html webroot/coverage --coverage-clover webroot/coverage/coverage.xml",
|
|
|
+ "lowest": "validate-prefer-lowest",
|
|
|
+ "lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json",
|
|
|
+ "cs-check": "phpcs -p -s --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php --ignore=/config/Migrations/,/tests/test_files/ src/ tests/ config/",
|
|
|
+ "cs-fix": "phpcbf -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php --ignore=/config/Migrations/,/tests/test_files/ src/ tests/ config/"
|
|
|
+ },
|
|
|
+ "prefer-stable": true,
|
|
|
+ "config": {
|
|
|
+ "process-timeout": 600,
|
|
|
+ "allow-plugins": {
|
|
|
+ "dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|