Skip to content

Commit dec1b3a

Browse files
authored
New major version (#10)
* Cleanup CkTools - Remove Api, System Contents and moxiemanager - Add travis - Add strict types - Add PasswordHasher shell * Fix typehint in StrictPasswordBehavior.php (#9) * Remove Json type * Update README * Update composer.json Update CakePHP version constraint to support >=3.4 * Update composer.json Fix CakePHP version constraint * Update Mpdf to 7.0.* * Add fullstops at end of full sentences in translations * Allow passing a custom View instance to PdfGenerator * Fix codestyle * Rename i18n Shell and fix comment indentation * Rename file * License year and Readme update
1 parent a6dabad commit dec1b3a

File tree

254 files changed

+837
-27541
lines changed

Some content is hidden

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

254 files changed

+837
-27541
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)

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015-2017 scherer software (http://scherer-software.de)
3+
Copyright (c) 2015-2018 scherer software (http://scherer-software.de)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 60 additions & 213 deletions
Large diffs are not rendered by default.

composer.json

Lines changed: 14 additions & 6 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-
"mpdf/mpdf": "6.1.0",
12-
"gettext/gettext": "^4.1"
11+
"php": ">=7.1",
12+
"cakephp/cakephp": "~3.4",
13+
"mpdf/mpdf": "7.0.*",
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.

0 commit comments

Comments
 (0)