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

MNT Run module-standardiser #588

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/workflows/dispatch-ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Dispatch CI

on:
# At 12:10 PM UTC, only on Tuesday and Wednesday
# At 10:50 PM UTC, only on Saturday and Sunday
schedule:
- cron: '10 12 * * 2,3'
- cron: '50 22 * * 6,0'

jobs:
dispatch-ci:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-up.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Merge-up

on:
# At 12:10 PM UTC, only on Saturday
# At 10:50 PM UTC, only on Wednesday
schedule:
- cron: '10 12 * * 6'
- cron: '50 22 * * 3'
workflow_dispatch:

jobs:
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"silverstripe/recipe-testing": "^3",
"silverstripe/versioned": "^2",
"squizlabs/php_codesniffer": "^3.7",
"mikey179/vfsstream": "^v1.6.11"
"mikey179/vfsstream": "^v1.6.11",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"suggest": {
"ext-exif": "If you use GD backend (the default) you may want to have EXIF extension installed to elude some tricky issues"
Expand All @@ -50,4 +52,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
3 changes: 3 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
parameters:
paths:
- src
4 changes: 2 additions & 2 deletions src/Shortcodes/FileLinkTracking.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\FieldType\DBHTMLText;
use SilverStripe\ORM\ManyManyList;
use SilverStripe\ORM\ManyManyThroughList;
use SilverStripe\Versioned\Versioned;
use SilverStripe\View\Parsers\HTMLValue;

Expand All @@ -24,9 +24,9 @@
* only be enabled for the Stage record.
*
* @property DataObject|FileLinkTracking $owner
* @method SilverStripe\ORM\ManyManyThroughList<File> FileTracking()
* @method ManyManyThroughList<File> FileTracking()
*/
class FileLinkTracking extends DataExtension

Check failure on line 29 in src/Shortcodes/FileLinkTracking.php

View workflow job for this annotation

GitHub Actions / CI / 8.1 mysql57 phplinting

@method annotation 'ManyManyThroughList<File> FileTracking()' should be 'ManyManyThroughList<File> FileTracking()'.
{
/**
* @var FileLinkTrackingParser
Expand Down
Loading