Skip to content

Conversation

@reedy
Copy link
Contributor

@reedy reedy commented Apr 25, 2020

Ping #1336

@reedy
Copy link
Contributor Author

reedy commented Apr 25, 2020

This is the bare minimum to get it running. It'll no doubt fail, so we put rule amendments ontop :)

@reedy reedy force-pushed the phpcs branch 2 times, most recently from 571bd19 to 49e46b0 Compare April 25, 2020 13:48
@reedy
Copy link
Contributor Author

reedy commented Apr 25, 2020

Filed #1586 as travis isn't running here now...

But it is running in my fork

See https://travis-ci.org/github/reedy/emoncms/jobs/679410625 for example failures. It gave up because of there being so many, but we can narrow it; turning off rules, or scanning for certain files etc

@reedy reedy force-pushed the phpcs branch 2 times, most recently from b30dff2 to 417f3f9 Compare April 25, 2020 14:00
@reedy
Copy link
Contributor Author

reedy commented Apr 25, 2020

Ok, https://travis-ci.org/github/reedy/emoncms/jobs/679413070 is more representative

@TrystanLea
Copy link
Member

Great, maybe we should fix some of these before merging this in :)

@reedy
Copy link
Contributor Author

reedy commented Apr 25, 2020

Great, maybe we should fix some of these before merging this in :)

I would probably concur. And/or as a seperate commit in the same tree

I imagine we don't want to run it on the Lib directory either... But there's code in there (like with JS) that seems to be non 3rd party...

Also, if Travis was running, we want things fixed first (or rules disabled) rather than it failing patches for errors already there

@Twincarb
Copy link
Contributor

Is this the right time to move to "php-parallel-lint/php-parallel-lint": "1.2.*" as the currently used one is marked as abandoned?

@reedy
Copy link
Contributor Author

reedy commented Apr 26, 2020

Is this the right time to move to "php-parallel-lint/php-parallel-lint": "1.2.*" as the currently used one is marked as abandoned?

It's completely unrelated, so should be a seperate patch IMHO :)

Noting, while the warning is (intentionally) scary, I don't think there's been any major bugs fixed, so not massively urgent.

In other projects we've been waiting for them to fix up the sub libraries to update namings, tag releases and bring it all together before updating - For example php-parallel-lint/PHP-Console-Highlighter#1 and php-parallel-lint/PHP-Console-Color#1

Though, this probably isn't a problem here... I'll make a patch in a bit :)

@reedy
Copy link
Contributor Author

reedy commented Apr 26, 2020

Though, this probably isn't a problem here... I'll make a patch in a bit :)

Done for all repos

@TrystanLea
Copy link
Member

Sorry for dropping this, what should I do to take this forwards?

@reedy
Copy link
Contributor Author

reedy commented Jul 9, 2025

Mostly just needs a rebase and the package updating to 3.13.2...

@reedy
Copy link
Contributor Author

reedy commented Jul 9, 2025

Mostly just needs a rebase and the package updating to 3.13.2...

Oh, and deciding what to do about the test failures. Usual answer is "fix them" or add them to exclusions...

Not sure why I didn't add a .phpcs.xml, but 5 years have passed ;)

@reedy reedy force-pushed the phpcs branch 2 times, most recently from 7a1a9ca to 147c108 Compare July 9, 2025 16:44
@reedy
Copy link
Contributor Author

reedy commented Jul 9, 2025

Yeah, needs a config file to at least suppress things we're not going to fix (yet)...

@reedy reedy force-pushed the phpcs branch 2 times, most recently from 4a21140 to 0100ca1 Compare July 9, 2025 16:53
@reedy reedy force-pushed the phpcs branch 5 times, most recently from ec3ab36 to a652a01 Compare July 9, 2025 17:22
@TrystanLea TrystanLea merged commit 9d0ea1f into emoncms:master Jul 9, 2025
0 of 3 checks passed
@TrystanLea
Copy link
Member

Thanks @reedy !

@reedy
Copy link
Contributor Author

reedy commented Jul 9, 2025

Why have you merged it when the tests are failing? 😅

@reedy
Copy link
Contributor Author

reedy commented Jul 9, 2025

Followup coming

reedy added a commit to reedy/emoncms that referenced this pull request Jul 9, 2025
More pinging of emoncms#1336

Follows up emoncms#1585
reedy added a commit to reedy/emoncms that referenced this pull request Jul 9, 2025
reedy added a commit to reedy/emoncms that referenced this pull request Jul 9, 2025
reedy added a commit to reedy/emoncms that referenced this pull request Jul 9, 2025
reedy added a commit to reedy/emoncms that referenced this pull request Jul 9, 2025
reedy added a commit to reedy/emoncms that referenced this pull request Jul 10, 2025
reedy added a commit to reedy/emoncms that referenced this pull request Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants