Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated updates ss52 #24

Draft
wants to merge 43 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8f778d6
Add composer requirements, configuration and workflow for automated u…
JamesDPC Aug 7, 2024
9c098d0
(ci) remove secrets: inherit config
JamesDPC Aug 7, 2024
53e5d69
(phpstan) class referenced with incorrect case
JamesDPC Aug 7, 2024
e605e47
(phpstan) interface referenced with incorrect case
JamesDPC Aug 7, 2024
102f53b
(phpstan) return can be null
JamesDPC Aug 7, 2024
056c31b
(phpstan) fix missing class UploadField via requirement
JamesDPC Aug 7, 2024
736c7bf
(phpstan) improvements to subscriber class
JamesDPC Aug 7, 2024
c47aa92
(phpstan) add return type, can be null
JamesDPC Aug 7, 2024
d3e115f
(phpstan) fix unreachable statement
JamesDPC Aug 7, 2024
129268a
(phpstan) method return type
JamesDPC Aug 7, 2024
0ef6236
(phpstan) exception argument ordering fix
JamesDPC Aug 7, 2024
111223d
(phpstan) argument should be a string
JamesDPC Aug 7, 2024
2d95d3b
(phpstan) add missing class usage
JamesDPC Aug 7, 2024
6ea9387
(phpstan) add type hint
JamesDPC Aug 7, 2024
211ef8a
(phpstan) replace strpos with simpler str_contains
JamesDPC Aug 7, 2024
5a90595
(phpstan) replace strpos with simpler str_contains
JamesDPC Aug 7, 2024
bb63a8c
(phpstan) remove comments
JamesDPC Aug 7, 2024
bd82c4e
(phpstan) add union return type
JamesDPC Aug 7, 2024
59fbcca
(phpstan) improve message/email/config handling
JamesDPC Aug 7, 2024
650ff59
(phpstan) add return types
JamesDPC Aug 7, 2024
c8894c4
(phpstan) update handling of code and config
JamesDPC Aug 7, 2024
9af709f
(phpstan) return types
JamesDPC Aug 7, 2024
e255ffb
(phpstan) return types update
JamesDPC Aug 7, 2024
b3fd0bf
(phpstan) handle type checking requirement enforcing class of form to…
JamesDPC Aug 8, 2024
acb7167
[php-cs-fixer] Automated updates generated by php-cs-fixer configuration
JamesDPC Aug 8, 2024
f1b0099
[rector] Automated updates generated by rector configuration
JamesDPC Aug 8, 2024
a8e524f
[rector] Automated updates generated by rector configuration
JamesDPC Aug 8, 2024
f9866f0
(ci) update naming of workflows
JamesDPC Aug 8, 2024
7536d29
(ci) Update naming
JamesDPC Aug 8, 2024
fa80a8e
(ci) fix needs name
JamesDPC Aug 8, 2024
4e8fec5
(ci) use main branch for now
JamesDPC Aug 8, 2024
c506023
[rector] Automated updates generated by rector configuration
JamesDPC Aug 8, 2024
dc4bf48
(ci) remove requirements installed by nswdpc/ci-files
JamesDPC Aug 8, 2024
e4ac6b8
Fix: ensure minutes value
JamesDPC Aug 8, 2024
c82cd29
fix: cast values as ints due mixed constructor types
JamesDPC Aug 8, 2024
cc23cb6
(fix) update title handling in queued jobs
JamesDPC Aug 8, 2024
5f70a91
Merge branch 'automated-updates' of https://github.com/nswdpc/silvers…
JamesDPC Aug 8, 2024
11faa42
[rector] Automated updates generated by rector configuration
JamesDPC Aug 8, 2024
4c5b37d
Update Silverstripe reusable workflow
JamesDPC Aug 8, 2024
a0e75d8
[rector] Automated updates generated by rector configuration
JamesDPC Aug 9, 2024
2d20887
[rector] Automated updates generated by rector configuration
JamesDPC Aug 9, 2024
f0c083c
(ci) switch to tag ref
JamesDPC Aug 9, 2024
b4b123f
Merge branch 'automated-updates' into automated-updates-ss52
JamesDPC Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: CI

on:
pull_request: null

jobs:
Silverstripe:
name: 'Silverstripe (bundle)'
uses: nswdpc/ci-files/.github/workflows/[email protected]
PHPStan:
name: 'PHPStan (analyse)'
uses: nswdpc/ci-files/.github/workflows/[email protected]
needs: Silverstripe
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
/vendor/
.DS_Store
/.php-cs-fixer.cache
/codeception.yml
/tests/codeception/tests/_output/
/public/
/composer.lock
node_modules
21 changes: 0 additions & 21 deletions .php-cs-fixer.dist.php

This file was deleted.

2 changes: 1 addition & 1 deletion _config/routes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Name: silverstripe-chimple-routes
After:
- '#coreroutes'
---
Silverstripe\Control\Director:
SilverStripe\Control\Director:
rules:
'mc-subscribe/v1': 'NSWDPC\Chimple\Controllers\ChimpleController'
---
26 changes: 21 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,27 @@
"client/static"
]
},
"support": {
"key" : "value"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/nswdpc/ci-files.git"
}
],
"require": {
"dnadesign/silverstripe-elemental": "^5",
"silverstripe/framework" : "^5",
"silverstripe/siteconfig" : "^5",
"silverstripe/asset-admin": "^2",
"symbiote/silverstripe-queuedjobs": "^5",
"drewm/mailchimp-api" : "^2.5",
"symbiote/silverstripe-multivaluefield" : "^6"
},
"require-dev": {
"cambis/silverstripe-rector": "^0.5.1",
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "^3",
"vlucas/phpdotenv": "^5"
"syntro/silverstripe-phpstan": "^5",
"vlucas/phpdotenv": "^5",
"nswdpc/ci-files": "dev-main"
},
"autoload": {
"psr-4": {
Expand All @@ -60,5 +66,15 @@
"NSWDPC\\Chimple\\Traits\\": "src/Traits/",
"NSWDPC\\Chimple\\Tests\\": "tests/"
}
},
"prefer-stable": true,
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"composer/installers": true,
"silverstripe/recipe-plugin": true,
"silverstripe/vendor-plugin": true,
"phpstan/extension-installer": true
}
}
}
Loading