Skip to content

Commit

Permalink
Bump CRM to v1.0, update configs and static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
rootpd committed Mar 31, 2022
1 parent ae3dedd commit 8a2bff6
Show file tree
Hide file tree
Showing 5 changed files with 1,658 additions and 1,456 deletions.
6 changes: 2 additions & 4 deletions .phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ parameters:
bootstrapFiles: [.phpstan.bootstrap.php]

ignoreErrors:
-
message: '#Cannot unset offset \*NEVER\* on array\(\)#'
path: 'vendor/remp/crm-payments-module/src/presenters/RetentionAnalysisAdminPresenter.php'
-
message: '#Calling exec\(\) is forbidden, because reasons#'
path: 'vendor/remp/crm-issues-module/src/commands/PdfConverterCommand.php'
path: 'vendor/remp/crm-issues-module/src/Commands/PdfConverterCommand.php'
- '#in empty\(\) always exists and is not falsy.#'
2 changes: 1 addition & 1 deletion app/config/config.local.example.neon
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:

# Attaching populators run by command application:populate
populator:
class: Crm\ApplicationModule\Commands\PopulatorCommand
factory: Crm\ApplicationModule\Commands\PopulatorCommand
setup:
- addSeeder(Crm\ApiModule\Populator\ApiTokensPopulator('ApiTokensPopulator', 5))
- addSeeder(Crm\AdminModule\Populator\AuditLogsPopulator('AuditLogsPopulator', 50))
Expand Down
6 changes: 3 additions & 3 deletions app/config/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ translation:
fallback: [en_US, sk_SK, cs_CZ]
whitelist: [en_US, sk_SK, cs_CZ]
resolvers:
session: on
session: no
# english system locale (and Accept header) would enforce english language, see Kdyby\Translation\LocaleResolver\AcceptHeaderResolver
header: off
header: no

php:
date.timezone: Europe/Bratislava
Expand All @@ -66,7 +66,7 @@ application:

session:
expiration: 14 days
autoStart: true
autoStart: smart

http:
frames: yes
Expand Down
42 changes: 21 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,32 @@
],
"require": {
"php": "^7.4",
"remp/crm-admin-module": "^0.37",
"remp/crm-api-module": "^0.37",
"remp/crm-application-module": "^0.37",
"remp/crm-dashboard-module": "^0.37",
"remp/crm-gifts-module": "^0.37",
"remp/crm-invoices-module": "^0.37",
"remp/crm-issues-module": "^0.37",
"remp/crm-onboarding-module": "^0.37",
"remp/crm-payments-module": "^0.37",
"remp/crm-print-module": "^0.37",
"remp/crm-products-module": "^0.37",
"remp/crm-remp-mailer-module": "^0.37",
"remp/crm-salesfunnel-module": "^0.37",
"remp/crm-scenarios-module": "^0.37",
"remp/crm-segment-module": "^0.37",
"remp/crm-stripe-module": "^0.37",
"remp/crm-subscriptions-module": "^0.37",
"remp/crm-upgrades-module": "^0.37",
"remp/crm-users-module": "^0.37"
"remp/crm-admin-module": "^1.0",
"remp/crm-api-module": "^1.0",
"remp/crm-application-module": "^1.0",
"remp/crm-dashboard-module": "^1.0",
"remp/crm-gifts-module": "^1.0",
"remp/crm-invoices-module": "^1.0",
"remp/crm-issues-module": "^1.0",
"remp/crm-onboarding-module": "^1.0",
"remp/crm-payments-module": "^1.0",
"remp/crm-print-module": "^1.0",
"remp/crm-products-module": "^1.0",
"remp/crm-remp-mailer-module": "^1.0",
"remp/crm-salesfunnel-module": "^1.0",
"remp/crm-scenarios-module": "^1.0",
"remp/crm-segment-module": "^1.0",
"remp/crm-stripe-module": "^1.0",
"remp/crm-subscriptions-module": "^1.0",
"remp/crm-upgrades-module": "^1.0",
"remp/crm-users-module": "^1.0"
},
"require-dev": {
"mockery/mockery": "^1.1",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan": "^1.4.10",
"phpunit/phpunit": "^8.0",
"slevomat/coding-standard": "^7.0",
"spaze/phpstan-disallowed-calls": "^1.4",
"spaze/phpstan-disallowed-calls": "^2.2.0",
"squizlabs/php_codesniffer": "^3.6"
},
"scripts": {
Expand Down
Loading

0 comments on commit 8a2bff6

Please sign in to comment.