Skip to content
Open
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: 4 additions & 0 deletions tests/AutoReview/LicenseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class LicenseTest extends TestCase
'\./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.


// Everything in other except install.php, upgrade.php, Settings.php and Settings_bak.php.
'\./other/(?!install|upgrade|Settings)\w+\.php',
Expand All @@ -49,6 +50,9 @@ class LicenseTest extends TestCase
'\./Settings\.php',
'\./Settings_bak\.php',
'\./db_last_error\.php',

// Mac OS creates resource forks
'\._\w+.php',
];
private const VERSION_AND_YEAR_FILES = [
'\./index\.php',
Expand Down
Loading