-
-
Notifications
You must be signed in to change notification settings - Fork 227
Enforce PSR-12 and organise imports on Winter CMS core files #1188
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
Draft
bennothommo
wants to merge
44
commits into
develop
Choose a base branch
from
fix/psr-12
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+6,384
−5,543
Draft
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
e7ebbb2
Enforce PSR-12 on Winter CMS core files
bennothommo 66bd3f3
Additional code style fixes to improve future diffs and IDE support
bennothommo dbf6019
Use Composer-derived PHPCS, udpate GitHub Actions
bennothommo ce14395
Update GitHub Actions
bennothommo 87171ca
Reset modules before checking code quality
bennothommo e23c0b2
Exclude some rules for partials and views
bennothommo b2ffbe9
Add rule for array indentation
bennothommo 7b72f82
Fix reference to File facade
bennothommo 2643609
Merge branch 'develop' into fix/psr-12
bennothommo 52a824f
Split off Winter CMS code style ruleset to its own XML
bennothommo a6b814b
Remove partial from exclusion list
bennothommo 236c459
Add "winter:sniff" command
bennothommo 47fbf2a
Merge branch 'develop' into fix/psr-12
bennothommo 9d1b92f
Fix remaining code smells
bennothommo b1a5a79
Change alias command
bennothommo 1da2568
Add support for `--fix` option to `sniff` command
LukeTowers 51af67d
Alias `winter:test` to `test`
LukeTowers 0ae77a8
Improve / relocate PHPCS stubs
LukeTowers 1dd04fc
Update composer scripts
LukeTowers f2e7289
Add class constant visibility
LukeTowers 041dbb1
Fix remaining warnings
LukeTowers 61b127f
Add progress flag to phpcs
LukeTowers 33a1518
Add initial version of NoGlobalAliasesSniffTest
LukeTowers afedfb9
Add support for --parallel option to winter:sniff
LukeTowers 69f19e3
Fix remaining global imports
LukeTowers bace8e7
Ignore the project's phpcs.xml file when exporting it as a new project
LukeTowers 16d7cc2
Fix overzealous find/replace
LukeTowers 09b945e
Remove debug code
LukeTowers 02c8469
Use Winter's Url facade instead of Laravel's
LukeTowers 6fe5671
Typo fix
LukeTowers fb92ce3
Allow use statements to reference classes in the same namespace
LukeTowers 27207c2
Fix default scaffolding stub files to conform to coding standard
LukeTowers 1d5e517
Merge branch 'develop' into fix/psr-12
bennothommo a816643
Merge branch 'develop' into fix/psr-12
LukeTowers 1729c6d
Merge branch 'develop' into fix/psr-12
LukeTowers 9775264
Merge branch 'develop' into fix/psr-12
LukeTowers a601865
Update Parameter.php
LukeTowers 847f215
Update PluginManager.php
LukeTowers ee482e6
Update WinterTest.php
LukeTowers f56fb2f
Update EventLog.php
LukeTowers b58f831
Update SecurityPolicyTest.php
LukeTowers e461c12
Merge branch 'develop' into fix/psr-12
LukeTowers 6ab422a
Merge branch 'develop' into fix/psr-12
LukeTowers 7414960
Style fixes
LukeTowers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,4 @@ | |
| .gitattributes export-ignore | ||
| CHANGELOG.md export-ignore | ||
| /package.json export-ignore | ||
| phpcs.xml export-ignore | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.