Skip to content

Commit 14362ad

Browse files
author
Michael Hoffmann
committed
Cleanup CkTools
- Remove Api, System Contents and moxiemanager - Add travis - Add strict types - Add PasswordHasher shell
1 parent bb7ae5c commit 14362ad

File tree

253 files changed

+819
-27434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+819
-27434
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
vendor
2+
composer.lock
3+
.DS_Store
4+
build

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: php
2+
3+
php:
4+
- 7.1
5+
6+
services:
7+
- mysql
8+
9+
before_script:
10+
- composer self-update
11+
- composer install --prefer-dist
12+
13+
script:
14+
- vendor/bin/phpunit
15+
- vendor/bin/phpcs -pn --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests ./config
16+
- vendor/bin/phpcs --colors -p --standard=vendor/scherersoftware/coding-standard/scherersoftware ./src ./tests ./config
17+
- php -d memory_limit=-1 vendor/bin/phpstan analyse -c phpstan.neon -l 1 ./src
18+
19+
after_success:
20+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 52 additions & 191 deletions
Large diffs are not rendered by default.

composer.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,30 @@
33
"description": "codekanzlei Tools & Utilities collection",
44
"license": "MIT",
55
"type": "cakephp-plugin",
6+
"homepage": "https://github.com/scherersoftware/cake-cktools",
67
"extra": {
78
"installer-name": "CkTools"
89
},
910
"require": {
10-
"cakephp/plugin-installer": "*",
11+
"php": ">=7.1",
12+
"cakephp/cakephp": "3.4.*",
1113
"mpdf/mpdf": "6.1.0",
12-
"gettext/gettext": "^4.1"
14+
"gettext/gettext": "^4.1",
15+
"scherersoftware/cake-api-baselayer": "^1.0",
16+
"codekanzlei/cake-frontend-bridge": "^1.4"
1317
},
1418
"require-dev": {
15-
"cakephp/cakephp": "3.0.x-dev"
19+
"phpunit/phpunit": "^6.0",
20+
"phpstan/phpstan": "^0.8",
21+
"cakephp/cakephp-codesniffer": "^3.0",
22+
"scherersoftware/coding-standard": "^3.0"
1623
},
1724
"autoload": {
1825
"psr-4": {
19-
"CkTools\\": "src"
26+
"CkTools\\": "src",
27+
"CkTools\\Test\\": "tests"
2028
}
2129
},
22-
"minimum-stability": "dev",
30+
"minimum-stability": "stable",
2331
"prefer-stable": true
2432
}

config/Schema/system_contents.sql

Lines changed: 0 additions & 11 deletions
This file was deleted.

config/ck_tools.php.default

Lines changed: 0 additions & 16 deletions
This file was deleted.

config/countries.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
2-
use Cake\Core\Configure;
3-
use Cake\Core\Plugin;
2+
declare(strict_types = 1);
43

54
/*Configure::write('App.paths.locales', array_merge(
65
Configure::read('App.paths.locales'),

config/menu.php.default

Lines changed: 0 additions & 26 deletions
This file was deleted.

config/moxiemanager.php

Lines changed: 0 additions & 181 deletions
This file was deleted.

config/routes.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)