Skip to content

[3.0] Add a few exclusions to our license testing checks - #9891

Open
jdarwood007 wants to merge 1 commit into
SimpleMachines:release-3.0from
jdarwood007:3.0/LicenseTestIgnoreFile
Open

jdarwood007 wants to merge 1 commit into
SimpleMachines:release-3.0from
jdarwood007:3.0/LicenseTestIgnoreFile

Conversation

@jdarwood007

Copy link
Copy Markdown
Member

No description provided.

@jdarwood007 jdarwood007 added this to the 3.0 Alpha 5 milestone Nov 14, 2026
@live627

live627 commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

what is this supposed to fix

@jdarwood007

Copy link
Copy Markdown
Member Author

When I run phpunit on my mac I get the issues with the ._* files and thus get failed phpunit runs.

@jdarwood007

Copy link
Copy Markdown
Member Author

It actually would be nice if this could parse our .gitignore and use that logic, but from what I researched, its not a simple parsing of the file, but a fairly complex logic that would have to be setup, so I don't think its worth it to go that far.

'\./cache/',
'\./tests/',
'\./vendor/',
'\./test.php',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests need the license

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats not the tests. thats a test.php at the root of SMF. I commonly have a file there where I do some logic tests, SSI tests, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants